Changeset 116667


Ignore:
Timestamp:
Feb 2, 2014, 1:28:10 AM (5 years ago)
Author:
ryandesign@…
Message:

brightness: fix build with old gcc by specifying -std=c99; add modeline

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/sysutils/brightness/Portfile

    r116666 r116667  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
    12# $Id$
    23
     
    3334
    3435build {
    35     system -W ${worksrcpath} "${configure.cc} -o brightness brightness.c -framework IOKit -framework ApplicationServices [get_canonical_archflags cc]"
     36    system -W ${worksrcpath} "${configure.cc} -std=c99 -o brightness brightness.c -framework IOKit -framework ApplicationServices [get_canonical_archflags cc]"
    3637}
    3738
Note: See TracChangeset for help on using the changeset viewer.