summaryrefslogtreecommitdiff
path: root/ham/fldigi
diff options
context:
space:
mode:
authorjoerg <joerg>2009-02-15 19:41:10 +0000
committerjoerg <joerg>2009-02-15 19:41:10 +0000
commite59ff2960587ed29e2b61d3a2bfdded26af5329e (patch)
tree0cb902123d25bc3a5d8d717c2be824ed9700f714 /ham/fldigi
parent5e95b5f3803435b51cfa8b400dfd98ae5b671793 (diff)
downloadpkgsrc-e59ff2960587ed29e2b61d3a2bfdded26af5329e.tar.gz
Cast via ssize_t to make GCC happy. This is still somewhat abusive, but
easier than to switch to dynamically allocated int.
Diffstat (limited to 'ham/fldigi')
-rw-r--r--ham/fldigi/Makefile4
-rw-r--r--ham/fldigi/distinfo3
-rw-r--r--ham/fldigi/patches/patch-ac15
3 files changed, 20 insertions, 2 deletions
diff --git a/ham/fldigi/Makefile b/ham/fldigi/Makefile
index d7d1fe1e675..2cd5681a693 100644
--- a/ham/fldigi/Makefile
+++ b/ham/fldigi/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2008/10/23 08:07:09 wulf Exp $
+# $NetBSD: Makefile,v 1.2 2009/02/15 19:41:10 joerg Exp $
#
DISTNAME= fldigi-3.03
@@ -9,6 +9,8 @@ MAINTAINER= wulf@NetBSD.org
HOMEPAGE= http://www.w1hkj.com/Fldigi.html
COMMENT= Digital radio modem
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_DIRS+= xdg-1.1
USE_TOOLS+= gmake pkg-config
USE_LANGUAGES= c c++
diff --git a/ham/fldigi/distinfo b/ham/fldigi/distinfo
index 84c838cb2c8..e1d0b5f327e 100644
--- a/ham/fldigi/distinfo
+++ b/ham/fldigi/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.1.1.1 2008/10/23 08:07:09 wulf Exp $
+$NetBSD: distinfo,v 1.2 2009/02/15 19:41:10 joerg Exp $
SHA1 (fldigi-3.03.tar.gz) = fcdc0f34fe62b6857c5e02bb8e7a8ecbe6e7050c
RMD160 (fldigi-3.03.tar.gz) = 30fa50eee0b00c2a332f8c48999e0183df88f60a
Size (fldigi-3.03.tar.gz) = 711226 bytes
SHA1 (patch-aa) = 122d936e7f8bda5466dc252ffe17f501c0f341e8
SHA1 (patch-ab) = cfca39f1e32e8cd4e15d994a2af4dd5a72e87ab9
+SHA1 (patch-ac) = def1ee6e6c3f60a2febb029560f3ad7f9c5a3364
diff --git a/ham/fldigi/patches/patch-ac b/ham/fldigi/patches/patch-ac
new file mode 100644
index 00000000000..afc718e150b
--- /dev/null
+++ b/ham/fldigi/patches/patch-ac
@@ -0,0 +1,15 @@
+$NetBSD: patch-ac,v 1.1 2009/02/15 19:41:10 joerg Exp $
+
+--- src/include/threads.h.orig 2009-02-15 19:59:36.000000000 +0100
++++ src/include/threads.h
+@@ -87,8 +87,8 @@ enum { UNKNOWN_TID = -1, TRX_TID, QRZ_TI
+ #else
+ extern pthread_key_t thread_id_;
+ # define CREATE_THREAD_ID() pthread_key_create(&thread_id_, 0);
+-# define SET_THREAD_ID(x) pthread_setspecific(thread_id_, (void *)(x))
+-# define GET_THREAD_ID() (int)pthread_getspecific(thread_id_)
++# define SET_THREAD_ID(x) pthread_setspecific(thread_id_, (const void *)(ssize_t)(x))
++# define GET_THREAD_ID() (int)(ssize_t)pthread_getspecific(thread_id_)
+ #endif // USE_TLS
+
+ #include "fl_lock.h"