Changeset 118747


Ignore:
Timestamp:
Apr 10, 2014, 12:22:39 PM (6 years ago)
Author:
ryandesign@…
Message:

jbigkit: go back to removing -Wno-unused-result for old compilers; gcc-4.2 doesn't like it

Location:
trunk/dports/graphics/jbigkit
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/dports/graphics/jbigkit/Portfile

    r118745 r118747  
    2626checksums               rmd160  71cc51fce3f65d8d9abf9ff52c29edf5469eb52f \
    2727                        sha256  de7106b6bfaf495d6865c7dd7ac6ca1381bd12e0d81405ea81e7f2167263d932
     28
     29patchfiles              patch-Makefile
    2830
    2931use_configure           no
  • trunk/dports/graphics/jbigkit/files/patch-Makefile

    r82637 r118747  
    1 --- Makefile.orig       2009-06-06 01:49:36.000000000 -0700
    2 +++ Makefile    2009-06-06 01:49:55.000000000 -0700
    3 @@ -2,10 +2,10 @@
    4  # $Id: Makefile 1303 2008-08-30 20:16:20Z mgk25 $
    5  
    6  # Select an ANSI/ISO C compiler here, GNU gcc is recommended
    7 -CC = gcc
    8 +CC = __CC__
     1--- Makefile.orig       2014-03-27 13:47:15.000000000 -0500
     2+++ Makefile    2014-04-10 07:21:25.000000000 -0500
     3@@ -4,7 +4,7 @@
     4 CC = gcc
    95 
    106 # Options for the compiler: A high optimization level is suggested
    11 -CCFLAGS = -O2 -W
    12 +CCFLAGS = -W __CFLAGS__
    13  #CCFLAGS = -O -g -W -Wall -ansi -pedantic #-DDEBUG  # developer only
     7-CFLAGS = -O2 -W -Wno-unused-result
     8+CFLAGS = -O2 -W
     9 # CFLAGS = -O -g -W -Wall -Wno-unused-result -ansi -pedantic # -DDEBUG
    1410 
    15  CFLAGS = $(CCFLAGS) -I../libjbig
     11 export CC CFLAGS
Note: See TracChangeset for help on using the changeset viewer.