gaia (0.1.2-6) 03_scons_gps_check.patch

Summary

 programs/gaia/SConscript |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

    
download this patch

Patch contents

--- gaia-0.1.2.orig/programs/gaia/SConscript
+++ gaia-0.1.2/programs/gaia/SConscript
@@ -43,7 +43,7 @@
 		print "You need to install png development libraries"
 		config_ok = False
 
-	if int(env['gpsd']) and not config.CheckHeader('gps.h'):
+	if int(env['gpsd']) and not config.CheckHeader(['stdint.h', 'inttypes.h', 'gps.h']):
 		print "You need to install libgps from gpsd package (http://gpsd.berlios.de/), or turn off gpsd support with `gpsd=0' option (you'll still be able to use GPS)"
 		config_ok = False