From: florian Date: Fri, 26 Mar 2010 17:57:51 +0000 (+0000) Subject: [package] fix dbus compilation error with brcm-2.4 and gcc-3.4.6 (#6942) X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=d9fe07e0a7526f48298ad8292660b482fcb61077;p=packages.git [package] fix dbus compilation error with brcm-2.4 and gcc-3.4.6 (#6942) git-svn-id: svn://svn.openwrt.org/openwrt/packages@20486 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/utils/dbus/Makefile b/utils/dbus/Makefile index cbf502ef8..eec787df8 100644 --- a/utils/dbus/Makefile +++ b/utils/dbus/Makefile @@ -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 index 000000000..ba6985590 --- /dev/null +++ b/utils/dbus/patches/002-no_wno_pointer_sign.patch @@ -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