summaryrefslogtreecommitdiff
path: root/geography/gpsd
diff options
context:
space:
mode:
authorjoerg <joerg>2008-01-12 23:54:46 +0000
committerjoerg <joerg>2008-01-12 23:54:46 +0000
commit2c5e19a58aaf3b99f902a63af895d753a626c0bd (patch)
treeb8ce715c9f272a7c695286dcec3ccf1307a954fa /geography/gpsd
parent3da8949dd963299974fb1061b72d809ede22c8a6 (diff)
downloadpkgsrc-2c5e19a58aaf3b99f902a63af895d753a626c0bd.tar.gz
Fix pthread mutex init. Bump revision.
Diffstat (limited to 'geography/gpsd')
-rw-r--r--geography/gpsd/Makefile3
-rw-r--r--geography/gpsd/distinfo3
-rw-r--r--geography/gpsd/patches/patch-ad13
3 files changed, 17 insertions, 2 deletions
diff --git a/geography/gpsd/Makefile b/geography/gpsd/Makefile
index 6933b046aea..4ca8f5cb17f 100644
--- a/geography/gpsd/Makefile
+++ b/geography/gpsd/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.7 2006/08/31 14:12:53 gdt Exp $
+# $NetBSD: Makefile,v 1.8 2008/01/12 23:54:46 joerg Exp $
DISTNAME= gpsd-2.33
+PKGREVISION= 1
CATEGORIES= geography
MASTER_SITES= http://download.berlios.de/gpsd/
diff --git a/geography/gpsd/distinfo b/geography/gpsd/distinfo
index 15c4d36015b..70e7a86e65b 100644
--- a/geography/gpsd/distinfo
+++ b/geography/gpsd/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.6 2006/10/13 06:22:54 rillig Exp $
+$NetBSD: distinfo,v 1.7 2008/01/12 23:54:46 joerg Exp $
SHA1 (gpsd-2.33.tar.gz) = 0dbb3dad459fc4a0ca7e4ba5884e67c93d4b679f
RMD160 (gpsd-2.33.tar.gz) = 175b90cb8dda1d85964078a4f14cec84b0cc4885
@@ -6,3 +6,4 @@ Size (gpsd-2.33.tar.gz) = 639348 bytes
SHA1 (patch-aa) = d67077a5f857903615b36e83a2e505a20db841fe
SHA1 (patch-ab) = 0703e9da1e6f34bd575c6b61f891fc13a3598bb4
SHA1 (patch-ac) = f8e15b9a409bc9cd8b32bebbf446cf71ba90475f
+SHA1 (patch-ad) = 25b2bd2064f8aa41c0f4eefb4b5cffdf87beadce
diff --git a/geography/gpsd/patches/patch-ad b/geography/gpsd/patches/patch-ad
new file mode 100644
index 00000000000..2e0eb90fbe9
--- /dev/null
+++ b/geography/gpsd/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1 2008/01/12 23:54:47 joerg Exp $
+
+--- gpsd.c.orig 2006-06-09 14:34:09.000000000 +0200
++++ gpsd.c
+@@ -129,7 +129,7 @@ static int daemonize(void)
+ }
+
+ #if defined(PPS_ENABLE)
+-static pthread_mutex_t report_mutex;
++static pthread_mutex_t report_mutex = PTHREAD_MUTEX_INITIALIZER;
+ #endif /* PPS_ENABLE */
+
+ void gpsd_report(int errlevel, const char *fmt, ... )