summaryrefslogtreecommitdiff
path: root/recipes-navigation/gpsd/gpsd-3.16.20161219/0001-SConstruct-prefix-includepy-with-sysroot-and-drop-sy.patch
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2016-12-21 09:15:47 -0600
committerJohn Klug <john.klug@multitech.com>2016-12-21 09:15:47 -0600
commit0d53f1437fcdbae1c1b112b9892be8994cef3834 (patch)
tree2cf46a12b25f6b7d2fd1e080cc9b8d47300e1407 /recipes-navigation/gpsd/gpsd-3.16.20161219/0001-SConstruct-prefix-includepy-with-sysroot-and-drop-sy.patch
parent12465c3b11e4a7517a92480980f1ce2f8a877e71 (diff)
parent2ba73a35c4907336858320b31ce515a6aa10698f (diff)
downloadmeta-mlinux-0d53f1437fcdbae1c1b112b9892be8994cef3834.tar.gz
meta-mlinux-0d53f1437fcdbae1c1b112b9892be8994cef3834.tar.bz2
meta-mlinux-0d53f1437fcdbae1c1b112b9892be8994cef3834.zip
Change priority of gpsd and add multitech GPS device to default.
Diffstat (limited to 'recipes-navigation/gpsd/gpsd-3.16.20161219/0001-SConstruct-prefix-includepy-with-sysroot-and-drop-sy.patch')
-rw-r--r--recipes-navigation/gpsd/gpsd-3.16.20161219/0001-SConstruct-prefix-includepy-with-sysroot-and-drop-sy.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes-navigation/gpsd/gpsd-3.16.20161219/0001-SConstruct-prefix-includepy-with-sysroot-and-drop-sy.patch b/recipes-navigation/gpsd/gpsd-3.16.20161219/0001-SConstruct-prefix-includepy-with-sysroot-and-drop-sy.patch
new file mode 100644
index 0000000..d1eb2ad
--- /dev/null
+++ b/recipes-navigation/gpsd/gpsd-3.16.20161219/0001-SConstruct-prefix-includepy-with-sysroot-and-drop-sy.patch
@@ -0,0 +1,13 @@
+--- /home/jklug/3.17/old/SConstruct 2016-12-19 14:53:02.406689189 -0600
++++ ./SConstruct 2016-12-19 17:27:27.594669617 -0600
+@@ -1341,6 +1341,10 @@
+ python_config['BASECFLAGS'] += ' -coverage'
+ python_config['LDFLAGS'] += ' -coverage'
+ python_config['LDSHARED'] += ' -coverage'
++ if env['sysroot']:
++ print "Prefixing includepy '%s' with sysroot prefix" % python_config['INCLUDEPY']
++ python_config['INCLUDEPY'] = os.path.normpath("%s/%s/%s/%s" % (env['sysroot'], env['prefix'], env['includedir'], python_config['INCLUDEPY']))
++ print "Python Include: '%s'" % python_config['INCLUDEPY']
+ # in case CC/CXX was set to the scan-build wrapper,
+ # ensure that we build the python modules with scan-build, too
+ if env['CC'] is None or env['CC'].find('scan-build') < 0: