[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
This commit is contained in:
florian 2010-03-26 17:57:51 +00:00
parent 001ad83589
commit d9fe07e0a7
2 changed files with 13 additions and 0 deletions

View 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

View File

@ -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