summaryrefslogtreecommitdiffstats
path: root/package/gpsd/gpsd-04-upstream-udev.patch
diff options
context:
space:
mode:
authorSimon Dawson <spdawson@gmail.com>2013-03-16 11:07:13 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2013-03-18 22:04:47 +0100
commitbb83d5b074738352a1f1ba2f26afead6de6bbd4a (patch)
tree884642f18a5ace7cb31d428375d4b69089b11ca8 /package/gpsd/gpsd-04-upstream-udev.patch
parent0a2a3c9cd6a873a0ca190c9f20e9a42a9d1df58a (diff)
downloadbuildroot-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-04-upstream-udev.patch')
-rw-r--r--package/gpsd/gpsd-04-upstream-udev.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/package/gpsd/gpsd-04-upstream-udev.patch b/package/gpsd/gpsd-04-upstream-udev.patch
new file mode 100644
index 000000000..6de058d9c
--- /dev/null
+++ b/package/gpsd/gpsd-04-upstream-udev.patch
@@ -0,0 +1,31 @@
+Commit 102e29d16c3fd9b414eeac53c794302f902ae8da reverted the DESTDIR
+logic when upgrading the udev path handling.
+
+It also slightly broke the mkdir setup by not creating the rules.d
+subdir under the udev path.
+
+Signed-off-by: Mike Frysinger <vapier@gentoo.org>
+Signed-off-by: Simon Dawson <spdawson@gmail.com>
+---
+ SConstruct | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/SConstruct b/SConstruct
+index a56fa9b..1c187f3 100644
+--- a/SConstruct
++++ b/SConstruct
+@@ -1662,10 +1662,10 @@ if env['python']:
+ # is plugged in.
+
+ Utility('udev-install', 'install', [
+- 'mkdir -p ' + env['udevdir'],
+- 'cp $SRCDIR/gpsd.rules ' + env['udevdir'] + '/rules.d/25-gpsd.rules',
+- 'cp $SRCDIR/gpsd.hotplug ' + env['udevdir'],
+- 'chmod a+x ' + env['udevdir'] + '/gpsd.hotplug',
++ 'mkdir -p ' + DESTDIR + env['udevdir'] + '/rules.d',
++ 'cp $SRCDIR/gpsd.rules ' + DESTDIR + env['udevdir'] + '/rules.d/25-gpsd.rules',
++ 'cp $SRCDIR/gpsd.hotplug ' + DESTDIR + env['udevdir'],
++ 'chmod a+x ' + DESTDIR + env['udevdir'] + '/gpsd.hotplug',
+ ])
+
+ Utility('udev-uninstall', '', [