diff options
author | Simon Dawson <spdawson@gmail.com> | 2013-03-16 11:07:13 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2013-03-18 22:04:47 +0100 |
commit | bb83d5b074738352a1f1ba2f26afead6de6bbd4a (patch) | |
tree | 884642f18a5ace7cb31d428375d4b69089b11ca8 /package/gpsd/gpsd-03-upstream-dbus.patch | |
parent | 0a2a3c9cd6a873a0ca190c9f20e9a42a9d1df58a (diff) | |
download | buildroot-novena-bb83d5b074738352a1f1ba2f26afead6de6bbd4a.tar.gz buildroot-novena-bb83d5b074738352a1f1ba2f26afead6de6bbd4a.zip |
gpsd: add upstream patches
Add a couple of patches submitted by Mike Frysinger to gpsd upstream. One of
these patches (that for the gpsd/dbus interface) fixes autobuild failures
such as the following.
http://autobuild.buildroot.net/results/41ccc838c5d44ab237a7195767940585bbb8b1f6
Note that neither of these patches has yet been accepted upstream.
Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/gpsd/gpsd-03-upstream-dbus.patch')
-rw-r--r-- | package/gpsd/gpsd-03-upstream-dbus.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/package/gpsd/gpsd-03-upstream-dbus.patch b/package/gpsd/gpsd-03-upstream-dbus.patch new file mode 100644 index 000000000..2345484c5 --- /dev/null +++ b/package/gpsd/gpsd-03-upstream-dbus.patch @@ -0,0 +1,31 @@ +The current libgps.a logic doesn't pass down pkg-config output from +dbus and such which breaks building when compiling: + +gcc -o libgps_dbus.o -c -D_GNU_SOURCE -Wextra -Wall -Wno-uninitialized \ + -Wno-missing-field-initializers -Wcast-align -Wmissing-declarations \ + -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type \ + -O2 libgps_dbus.c +libgps_dbus.c:26:23: fatal error: dbus/dbus.h: No such file or directory +compilation terminated. + +Signed-off-by: Mike Frysinger <vapier@gentoo.org> +Signed-off-by: Simon Dawson <spdawson@gmail.com> +--- + SConstruct | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/SConstruct b/SConstruct +index e5d1f54..a56fa9b 100644 +--- a/SConstruct ++++ b/SConstruct +@@ -886,7 +886,9 @@ gpsdlibs = ["-lgpsd"] + usblibs + bluezlibs + gpslibs + caplibs + # linking + # The final executable will build but not be portable. + +-env.StaticLibrary(target = 'libgps.a', source = libgps_sources) ++env.StaticLibrary(target='libgps.a', ++ source=libgps_sources, ++ parse_flags=dbus_libs + rtlibs) + + # Source groups + |