[package] fix dbus compilation error with brcm-2.4 and gcc-3.4.6 (#6942)
authorFlorian Fainelli <florian@openwrt.org>
Fri, 26 Mar 2010 17:57:51 +0000 (17:57 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Fri, 26 Mar 2010 17:57:51 +0000 (17:57 +0000)
SVN-Revision: 20486

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

index cbf502ef819a0f94c6ee45c15035e7a1b8d7407a..eec787df872225ffdbea0cdf4ab64eac9e40845a 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