summaryrefslogtreecommitdiff
path: root/geography/gpsd
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2021-03-23 10:49:44 +0000
committerjperkin <jperkin@pkgsrc.org>2021-03-23 10:49:44 +0000
commit300c7eab7cc095125390648cc00c4359eb191306 (patch)
treed502bf0e7e764435bc98db49d15578d9a2d010f6 /geography/gpsd
parentc8852adcd7c65fb881117498793102d99ab0044d (diff)
downloadpkgsrc-300c7eab7cc095125390648cc00c4359eb191306.tar.gz
gpsd: Support OS that lack cfmakeraw().
Fixes NetBSD/pkgsrc#79 and NetBSD/pkgsrc#80.
Diffstat (limited to 'geography/gpsd')
-rw-r--r--geography/gpsd/distinfo3
-rw-r--r--geography/gpsd/patches/patch-SConscript15
2 files changed, 17 insertions, 1 deletions
diff --git a/geography/gpsd/distinfo b/geography/gpsd/distinfo
index c7c690d1cd6..aac3bc9de38 100644
--- a/geography/gpsd/distinfo
+++ b/geography/gpsd/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.27 2021/01/09 19:42:42 gdt Exp $
+$NetBSD: distinfo,v 1.28 2021/03/23 10:49:44 jperkin Exp $
SHA1 (gpsd-3.22.tar.gz) = 7e83fe4c1e978728cb9f35c2d7f5b234a707c82e
RMD160 (gpsd-3.22.tar.gz) = 916829bad167ef8313ea348cfaac71201ab77cc1
SHA512 (gpsd-3.22.tar.gz) = 4ed08e92b17f8f1bcef6be66f7bb232994d419d1638af0d435a5b03800dcde070accdecb707ea27cceebd333ab597fd0b3a77f405542b488626cb4f1efbe856b
Size (gpsd-3.22.tar.gz) = 4758761 bytes
+SHA1 (patch-SConscript) = 9bd9491038a9ec4d805e2e540ab5b83e0c08d56f
diff --git a/geography/gpsd/patches/patch-SConscript b/geography/gpsd/patches/patch-SConscript
new file mode 100644
index 00000000000..fff7e46f9e5
--- /dev/null
+++ b/geography/gpsd/patches/patch-SConscript
@@ -0,0 +1,15 @@
+$NetBSD: patch-SConscript,v 1.1 2021/03/23 10:49:44 jperkin Exp $
+
+gpspipe requires libgpsd for serial.c cfmakeraw() compat.
+
+--- SConscript.orig 2021-01-09 02:35:30.000000000 +0000
++++ SConscript
+@@ -1975,7 +1975,7 @@ gpsdctl = env.Program('clients/gpsdctl',
+ LIBS=[libgps_static],
+ parse_flags=gpsflags)
+ gpspipe = env.Program('clients/gpspipe', ['clients/gpspipe.c'],
+- LIBS=[libgps_static],
++ LIBS=[libgpsd_static, libgps_static],
+ parse_flags=gpsflags)
+ gpsrinex = env.Program('clients/gpsrinex', ['clients/gpsrinex.c'],
+ LIBS=[libgps_static],