[packages] dbus: fix segfault caused by -pie, remove flag and bump pkg revsion -...
[openwrt/svn-archive/archive.git] / utils / dbus / patches / 01-dbus-nopie-fix.patch
1 diff -ruN dbus-1.2.4.6permissive.orig/configure dbus-1.2.4.6permissive/configure
2 --- dbus-1.2.4.6permissive.orig/configure 2009-05-06 13:35:38.000000000 -0400
3 +++ dbus-1.2.4.6permissive/configure 2009-08-05 17:53:25.000000000 -0400
4 @@ -20927,19 +20927,6 @@
5 ;;
6 esac
7
8 - case " $CFLAGS " in
9 - *[\ \ ]-fPIE[\ \ ]*) ;;
10 - *) if cc_supports_flag -fPIE; then
11 - PIE_CFLAGS="-fPIE"
12 - if ld_supports_flag -z,relro; then
13 - PIE_LDFLAGS="-pie -Wl,-z,relro"
14 - else
15 - PIE_LDFLAGS="-pie"
16 - fi
17 - fi
18 - ;;
19 - esac
20 -
21 ### Disabled warnings, and compiler flag overrides
22
23 # Let's just ignore unused for now