aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-navigation/gpsd/gpsd-3.14/0001-Check-for-__STDC_NO_ATOMICS__-before-using-stdatomic.patch
diff options
context:
space:
mode:
authorPhilip Balister <philip@balister.org>2015-04-23 12:48:33 -0400
committerMartin Jansa <Martin.Jansa@gmail.com>2015-05-13 14:34:18 +0200
commit738bc2733b8bfa74c6b331de9676fc9aa1313b81 (patch)
tree7ebff0e8c948a6e71e563e9c5430f44a58a530d1 /meta-oe/recipes-navigation/gpsd/gpsd-3.14/0001-Check-for-__STDC_NO_ATOMICS__-before-using-stdatomic.patch
parentc625112dc786bc3bbf65bd1c5c6d53280295533b (diff)
downloadmeta-openembedded-contrib-738bc2733b8bfa74c6b331de9676fc9aa1313b81.tar.gz
gpsd: Update to 3.14.
* _NO_ATOMICS patches are from upstream * Update the SConstruct-respect-sysroot-also-in-SPLINTOPTS.patch * Fix some QA warnings * Add PACKAGECONFIG for qt support Signed-off-by: Philip Balister <philip@balister.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-navigation/gpsd/gpsd-3.14/0001-Check-for-__STDC_NO_ATOMICS__-before-using-stdatomic.patch')
-rw-r--r--meta-oe/recipes-navigation/gpsd/gpsd-3.14/0001-Check-for-__STDC_NO_ATOMICS__-before-using-stdatomic.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/meta-oe/recipes-navigation/gpsd/gpsd-3.14/0001-Check-for-__STDC_NO_ATOMICS__-before-using-stdatomic.patch b/meta-oe/recipes-navigation/gpsd/gpsd-3.14/0001-Check-for-__STDC_NO_ATOMICS__-before-using-stdatomic.patch
new file mode 100644
index 0000000000..82ac5aa6e7
--- /dev/null
+++ b/meta-oe/recipes-navigation/gpsd/gpsd-3.14/0001-Check-for-__STDC_NO_ATOMICS__-before-using-stdatomic.patch
@@ -0,0 +1,25 @@
+From c30716be9e615513fe66993fd3cdc818c3d70410 Mon Sep 17 00:00:00 2001
+From: "Gary E. Miller" <gem@rellim.com>
+Date: Sun, 15 Mar 2015 11:51:45 -0700
+Subject: [PATCH 1/3] Check for __STDC_NO_ATOMICS__ before using stdatomic.h
+
+---
+ SConstruct | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/SConstruct b/SConstruct
+index adf473d..566c14a 100644
+--- a/SConstruct
++++ b/SConstruct
+@@ -633,7 +633,7 @@ else:
+ announce("You do not have kernel CANbus available.")
+ env["nmea2000"] = False
+
+- if config.CheckHeader("stdatomic.h"):
++ if not config.CheckCompilerDefines("__STDC_NO_ATOMICS__") and config.CheckHeader("stdatomic.h"):
+ confdefs.append("#define HAVE_STDATOMIC_H 1\n")
+ else:
+ confdefs.append("/* #undef HAVE_STDATOMIC_H */\n")
+--
+2.1.0
+