aboutsummaryrefslogtreecommitdiffstats
path: root/devel/dbus
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2009-01-13 15:44:38 +0800
committermarcus <marcus@FreeBSD.org>2009-01-13 15:44:38 +0800
commitbd028bc1c47c85499b205c222f3577b45e3bf581 (patch)
tree406a3c1fd851e645b6d9d87048503cb84c431861 /devel/dbus
parent46b9fa9b3e42f6e5ef24d1cfe725c6b706be9de8 (diff)
downloadfreebsd-ports-gnome-bd028bc1c47c85499b205c222f3577b45e3bf581.tar.gz
freebsd-ports-gnome-bd028bc1c47c85499b205c222f3577b45e3bf581.tar.zst
freebsd-ports-gnome-bd028bc1c47c85499b205c222f3577b45e3bf581.zip
Do not compile with -Wno-pointer-sign. This fixes the build with GCC 3.x.
Reported by: ale
Diffstat (limited to 'devel/dbus')
-rw-r--r--devel/dbus/files/patch-configure13
1 files changed, 13 insertions, 0 deletions
diff --git a/devel/dbus/files/patch-configure b/devel/dbus/files/patch-configure
new file mode 100644
index 000000000000..0161d4625f7d
--- /dev/null
+++ b/devel/dbus/files/patch-configure
@@ -0,0 +1,13 @@
+--- configure.orig 2009-01-13 07:43:11.194080000 +0000
++++ configure 2009-01-13 07:43:26.270082000 +0000
+@@ -20956,10 +20956,6 @@ if test "x$GCC" = "xyes"; then
+ *[\ \ ]-Wno-sign-compare[\ \ ]*) ;;
+ *) CFLAGS="$CFLAGS -Wno-sign-compare" ;;
+ esac
+- case " $CFLAGS " in
+- *[\ \ ]-Wno-pointer-sign[\ \ ]*) ;;
+- *) CFLAGS="$CFLAGS -Wno-pointer-sign" ;;
+- esac
+
+ # http://bugs.freedesktop.org/show_bug.cgi?id=19195
+ case " $CFLAGS " in