aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-10-21 04:38:35 +0800
committerkris <kris@FreeBSD.org>2002-10-21 04:38:35 +0800
commit1c7ba8f91b734279b89cba59732ad0c85c8cdddb (patch)
tree39a8037d0806af4699408f5196989f93fe0f43ee /misc
parent62c391dc3ed3e8a7bcd14561fa98f95364f03998 (diff)
downloadfreebsd-ports-gnome-1c7ba8f91b734279b89cba59732ad0c85c8cdddb.tar.gz
freebsd-ports-gnome-1c7ba8f91b734279b89cba59732ad0c85c8cdddb.tar.zst
freebsd-ports-gnome-1c7ba8f91b734279b89cba59732ad0c85c8cdddb.zip
Remove -fstrict-prototypes from CFLAGS, since this flag does not exist
on gcc 3.2
Diffstat (limited to 'misc')
-rw-r--r--misc/pdmenu/files/patch-ac11
1 files changed, 11 insertions, 0 deletions
diff --git a/misc/pdmenu/files/patch-ac b/misc/pdmenu/files/patch-ac
new file mode 100644
index 000000000000..fa58b25bd8ae
--- /dev/null
+++ b/misc/pdmenu/files/patch-ac
@@ -0,0 +1,11 @@
+--- ./autoconf/makeinfo.in.orig Sun Oct 20 13:39:21 2002
++++ ./autoconf/makeinfo.in Sun Oct 20 13:39:28 2002
+@@ -16,7 +16,7 @@
+ VER = @VER@
+ DEFINES = -DETCDIR=\"${SYSCONFDIR}/\" -DVER=\"${VER}\" @DEFS@ \
+ $(PROFILE) -D__USE_FIXED_PROTOTYPES__ -D_GNU_SOURCE
+-CFLAGS_FOR_GCC = -Wall -fstrict-prototypes
++CFLAGS_FOR_GCC = -Wall
+ CFLAGS = $(DEFINES) @gcc_cflags@ @CFLAGS@
+ LIBS = @LIBS@ $(EFENCE)
+ SRCDIR = src