pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/ham/fldigi Cast via ssize_t to make GCC happy. This is...
details: https://anonhg.NetBSD.org/pkgsrc/rev/3033f5939fdc
branches: trunk
changeset: 554528:3033f5939fdc
user: joerg <joerg%pkgsrc.org@localhost>
date: Sun Feb 15 19:41:10 2009 +0000
description:
Cast via ssize_t to make GCC happy. This is still somewhat abusive, but
easier than to switch to dynamically allocated int.
diffstat:
ham/fldigi/Makefile | 4 +++-
ham/fldigi/distinfo | 3 ++-
ham/fldigi/patches/patch-ac | 15 +++++++++++++++
3 files changed, 20 insertions(+), 2 deletions(-)
diffs (50 lines):
diff -r faf4d9c7a01d -r 3033f5939fdc ham/fldigi/Makefile
--- a/ham/fldigi/Makefile Sun Feb 15 19:13:23 2009 +0000
+++ b/ham/fldigi/Makefile Sun Feb 15 19:41:10 2009 +0000
@@ -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 @@
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 -r faf4d9c7a01d -r 3033f5939fdc ham/fldigi/distinfo
--- a/ham/fldigi/distinfo Sun Feb 15 19:13:23 2009 +0000
+++ b/ham/fldigi/distinfo Sun Feb 15 19:41:10 2009 +0000
@@ -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 -r faf4d9c7a01d -r 3033f5939fdc ham/fldigi/patches/patch-ac
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/ham/fldigi/patches/patch-ac Sun Feb 15 19:41:10 2009 +0000
@@ -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"
Home |
Main Index |
Thread Index |
Old Index