summaryrefslogtreecommitdiff
path: root/geography
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-01-12 23:54:46 +0000
committerjoerg <joerg@pkgsrc.org>2008-01-12 23:54:46 +0000
commit296347f07980c1ab5847887f4b06df908ddf3bbf (patch)
treeb8ce715c9f272a7c695286dcec3ccf1307a954fa /geography
parentc05a759fd361cbccc496c53f19add09e52876c3a (diff)
downloadpkgsrc-296347f07980c1ab5847887f4b06df908ddf3bbf.tar.gz
Fix pthread mutex init. Bump revision.
Diffstat (limited to 'geography')
-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, ... )