aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorbarner <barner@FreeBSD.org>2008-04-19 19:23:12 +0800
committerbarner <barner@FreeBSD.org>2008-04-19 19:23:12 +0800
commit835ccbd6b8b66fce41206a40e2b0b849995d2eda (patch)
tree2ac31c7c7f6ab821efdeb97c6f989ed3f38d759b /security
parentb3e6db3664a507a6da8d3dfd3a40c850b5774799 (diff)
downloadfreebsd-ports-gnome-835ccbd6b8b66fce41206a40e2b0b849995d2eda.tar.gz
freebsd-ports-gnome-835ccbd6b8b66fce41206a40e2b0b849995d2eda.tar.zst
freebsd-ports-gnome-835ccbd6b8b66fce41206a40e2b0b849995d2eda.zip
- Fix build with gcc3 / FreeBSD6
- Reported by: pointyhat via pav
Diffstat (limited to 'security')
-rw-r--r--security/libfprint/files/patch-configure11
-rw-r--r--security/libfprint/files/patch-libfprint_Makefile.in11
2 files changed, 22 insertions, 0 deletions
diff --git a/security/libfprint/files/patch-configure b/security/libfprint/files/patch-configure
new file mode 100644
index 000000000000..84b879adf26e
--- /dev/null
+++ b/security/libfprint/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig 2008-04-19 12:47:31.000000000 +0200
++++ configure 2008-04-19 12:49:22.000000000 +0200
+@@ -20778,7 +20778,7 @@
+ #define API_EXPORTED __attribute__((visibility("default")))
+ _ACEOF
+
+-AM_CFLAGS="-std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow"
++AM_CFLAGS="-std=gnu99 -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wshadow"
+
+
+ ac_config_files="$ac_config_files libfprint.pc Makefile libfprint/Makefile examples/Makefile doc/Makefile"
diff --git a/security/libfprint/files/patch-libfprint_Makefile.in b/security/libfprint/files/patch-libfprint_Makefile.in
new file mode 100644
index 000000000000..527a3d8e74db
--- /dev/null
+++ b/security/libfprint/files/patch-libfprint_Makefile.in
@@ -0,0 +1,11 @@
+--- libfprint/Makefile.in.orig 2008-04-19 12:50:56.000000000 +0200
++++ libfprint/Makefile.in 2008-04-19 12:51:11.000000000 +0200
+@@ -275,7 +275,7 @@
+ nbis/mindtct/sort.c \
+ nbis/mindtct/util.c
+
+-libfprint_la_CFLAGS = -fvisibility=hidden -I$(srcdir)/nbis/include $(LIBUSB_CFLAGS) $(GLIB_CFLAGS) $(IMAGEMAGICK_CFLAGS) $(CRYPTO_CFLAGS) $(AM_CFLAGS)
++libfprint_la_CFLAGS = -I$(srcdir)/nbis/include $(LIBUSB_CFLAGS) $(GLIB_CFLAGS) $(IMAGEMAGICK_CFLAGS) $(CRYPTO_CFLAGS) $(AM_CFLAGS)
+ libfprint_la_LDFLAGS = -version-info @lt_major@:@lt_revision@:@lt_age@
+ libfprint_la_LIBADD = -lm $(LIBUSB_LIBS) $(GLIB_LIBS) $(IMAGEMAGICK_LIBS) $(CRYPTO_LIBS)
+ libfprint_la_SOURCES = \