summaryrefslogtreecommitdiff
path: root/sysutils/dbus/patches
diff options
context:
space:
mode:
authortez <tez>2010-02-21 19:32:25 +0000
committertez <tez>2010-02-21 19:32:25 +0000
commit78517d71fe13157be9af921c5fd858308e95c4a6 (patch)
tree3f31060e03ca5ad43bee00a9e4b00f43f6562090 /sysutils/dbus/patches
parenta263d1dead9837fc48b43717748d3baa838a583e (diff)
downloadpkgsrc-78517d71fe13157be9af921c5fd858308e95c4a6.tar.gz
fix for pr#42396 from dbus 1.2.16 (different branch than this)
don't pass -no-pointer-sign to compiler that does not support it (gcc34)
Diffstat (limited to 'sysutils/dbus/patches')
-rw-r--r--sysutils/dbus/patches/patch-ac20
1 files changed, 16 insertions, 4 deletions
diff --git a/sysutils/dbus/patches/patch-ac b/sysutils/dbus/patches/patch-ac
index 71533a45902..af7d3cf481d 100644
--- a/sysutils/dbus/patches/patch-ac
+++ b/sysutils/dbus/patches/patch-ac
@@ -1,8 +1,8 @@
-$NetBSD: patch-ac,v 1.8 2008/06/13 11:28:35 drochner Exp $
+$NetBSD: patch-ac,v 1.9 2010/02/21 19:32:26 tez Exp $
---- configure.orig 2008-04-04 14:23:44.000000000 -0400
-+++ configure
-@@ -5996,6 +5996,224 @@ esac
+--- configure.orig 2009-05-06 12:35:38.000000000 -0500
++++ configure 2009-12-01 13:23:46.338973100 -0600
+@@ -6110,6 +6110,224 @@
need_locks="$enable_libtool_lock"
@@ -227,3 +227,15 @@ $NetBSD: patch-ac,v 1.8 2008/06/13 11:28:35 drochner Exp $
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
+@@ -20958,7 +21176,10 @@
+ esac
+ case " $CFLAGS " in
+ *[\ \ ]-Wno-pointer-sign[\ \ ]*) ;;
+- *) CFLAGS="$CFLAGS -Wno-pointer-sign" ;;
++ *) if cc_supports_flag -Wno-pointer-sign; then
++ CFLAGS="$CFLAGS -Wno-pointer-sign"
++ fi
++ ;;
+ esac
+
+ # http://bugs.freedesktop.org/show_bug.cgi?id=19195