Skip to content

Commit

Permalink
gpsd: Support OS that lack cfmakeraw().
Browse files Browse the repository at this point in the history
Fixes #79 and #80.
  • Loading branch information
jperkin committed Mar 23, 2021
1 parent cc9f8fd commit b832d63
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
3 changes: 2 additions & 1 deletion geography/gpsd/distinfo
Original file line number Diff line number Diff line change
@@ -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
15 changes: 15 additions & 0 deletions geography/gpsd/patches/patch-SConscript
Original file line number Diff line number Diff line change
@@ -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],

0 comments on commit b832d63

Please sign in to comment.