[package] fix dbus compilation error with brcm-2.4 and gcc-3.4.6 (#6942)
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 26 Mar 2010 17:57:51 +0000 (17:57 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 26 Mar 2010 17:57:51 +0000 (17:57 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@20486 3c298f89-4303-0410-b956-a3cf2f4a3e73

utils/dbus/Makefile
utils/dbus/patches/002-no_wno_pointer_sign.patch [new file with mode: 0644]

index cbf502e..eec787d 100644 (file)
@@ -102,6 +102,7 @@ CONFIGURE_ARGS += \
 
 CONFIGURE_VARS+= \
        ac_cv_have_abstract_sockets="yes" \
+       ac_cv_lib_expat_XML_ParserCreate_MM="yes" \
 
 
 define Build/InstallDev
diff --git a/utils/dbus/patches/002-no_wno_pointer_sign.patch b/utils/dbus/patches/002-no_wno_pointer_sign.patch
new file mode 100644 (file)
index 0000000..ba69855
--- /dev/null
@@ -0,0 +1,12 @@
+diff -urN dbus-1.2.4.6permissive/configure dbus-1.2.4.6permissive.new/configure
+--- dbus-1.2.4.6permissive/configure   2009-05-06 19:35:38.000000000 +0200
++++ dbus-1.2.4.6permissive.new/configure       2010-03-26 17:40:13.000000000 +0100
+@@ -20958,7 +20958,7 @@
+   esac
+   case " $CFLAGS " in
+   *[\ \       ]-Wno-pointer-sign[\ \  ]*) ;;
+-  *) CFLAGS="$CFLAGS -Wno-pointer-sign" ;;
++  *) CFLAGS="$CFLAGS" ;;
+   esac
+   # http://bugs.freedesktop.org/show_bug.cgi?id=19195