Skip to content

Commit

Permalink
ffe 0.3.7-1: fix build on Leopard and earlier
Browse files Browse the repository at this point in the history
  • Loading branch information
Schamschula committed Feb 13, 2017
1 parent 5aac405 commit daf3f08
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
4 changes: 4 additions & 0 deletions textproc/ffe/Portfile
Expand Up @@ -22,6 +22,10 @@ master_sites sourceforge:project/ff-extractor/ff-extractor/${version}/
checksums rmd160 f2440931a6f655a812e43163691c4c5768ba2d75 \
sha256 0266e65778b4e69ae65c5dad43577767612f0afe13dc8c3e2cd3c49f7c869689

if {9 >= ${os.major}} {
patchfiles patch-src-Makefile.in.diff
}

livecheck.type regex
livecheck.url http://sourceforge.net/projects/ff-extractor/files/
livecheck.regex ${name}-(\[0-9.\-]+)${extract.suffix}
11 changes: 11 additions & 0 deletions textproc/ffe/files/patch-src-Makefile.in.diff
@@ -0,0 +1,11 @@
--- src/Makefile.in.orig 2017-02-12 04:20:01.000000000 -0600
+++ src/Makefile.in 2017-02-13 10:35:44.000000000 -0600
@@ -258,7 +258,7 @@
top_srcdir = @top_srcdir@
AM_CPPFLAGS = $(LIBGCRYPT_CFLAGS)
LDADD = $(LIBGCRYPT_LIBS)
-AM_CFLAGS = -I.. -Wreturn-type -Wmaybe-uninitialized -Wunused-variable
+AM_CFLAGS = -I.. -Wreturn-type -Wunused-variable
ffe_SOURCES = ffe.c xmalloc.c parserc.c execute.c endian.c level.c anonymize.c
noinst_HEADERS = ffe.h
all: all-am

0 comments on commit daf3f08

Please sign in to comment.