diff options
Diffstat (limited to 'recipes-navigation/gpsd/gpsd-3.14/0001-SConstruct-respect-sysroot-also-in-SPLINTOPTS.patch')
-rw-r--r-- | recipes-navigation/gpsd/gpsd-3.14/0001-SConstruct-respect-sysroot-also-in-SPLINTOPTS.patch | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/recipes-navigation/gpsd/gpsd-3.14/0001-SConstruct-respect-sysroot-also-in-SPLINTOPTS.patch b/recipes-navigation/gpsd/gpsd-3.14/0001-SConstruct-respect-sysroot-also-in-SPLINTOPTS.patch deleted file mode 100644 index c4134f4..0000000 --- a/recipes-navigation/gpsd/gpsd-3.14/0001-SConstruct-respect-sysroot-also-in-SPLINTOPTS.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 3c5fb3a8691ac711ea93edf8e0b42bffc62b197e Mon Sep 17 00:00:00 2001 -From: Martin Jansa <Martin.Jansa@gmail.com> -Date: Tue, 24 Apr 2012 11:52:35 +0200 -Subject: [PATCH 1/4] SConstruct: respect sysroot also in SPLINTOPTS - -Upstream-Status: Inappropriate [embedded specific] - -Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> -Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> -Signed-off-by: Peter A. Bigot <pab@pabigot.com> ---- - SConstruct | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -diff --git a/SConstruct b/SConstruct -index 14e2f59..f0cafa8 100644 ---- a/SConstruct -+++ b/SConstruct -@@ -1414,7 +1414,10 @@ def Utility(target, source, action): - # Report splint warnings - # Note: test_bits.c is unsplintable because of the PRI64 macros. - # If you get preprocessor or fatal errors, add +showscan. --splintopts = "-I/usr/include/libusb-1.0 +quiet" -+if not env['sysroot']: -+ splintopts = "-I/usr/include/libusb-1.0 +quiet" -+else: -+ splintopts = "-I%s/usr/include/libusb-1.0 +quiet" % env['sysroot'] - # splint does not know about multi-arch, work around that - ma_status, ma = _getstatusoutput('dpkg-architecture -qDEB_HOST_MULTIARCH') - if ma_status == 0: --- -1.8.5.5 - |