diff options
author | rh <rh@pkgsrc.org> | 2002-10-27 07:21:17 +0000 |
---|---|---|
committer | rh <rh@pkgsrc.org> | 2002-10-27 07:21:17 +0000 |
commit | 179805eac85da9db875230ff6cfcba4608ccdacc (patch) | |
tree | f4b9084daef53fa51d989ed86e4ded3f9a8e1812 /audio | |
parent | 995bd3a754b000e7c96feba9c489788035b1cc94 (diff) | |
download | pkgsrc-179805eac85da9db875230ff6cfcba4608ccdacc.tar.gz |
Check for pth, not NetBSD, so this compiles with native pthreads.
Bump PKGREVISION.
Diffstat (limited to 'audio')
-rw-r--r-- | audio/gdcd/Makefile | 6 | ||||
-rw-r--r-- | audio/gdcd/distinfo | 4 | ||||
-rw-r--r-- | audio/gdcd/patches/patch-ae | 12 |
3 files changed, 11 insertions, 11 deletions
diff --git a/audio/gdcd/Makefile b/audio/gdcd/Makefile index 5efb49f98a6..af1edd91ace 100644 --- a/audio/gdcd/Makefile +++ b/audio/gdcd/Makefile @@ -1,12 +1,12 @@ -# $NetBSD: Makefile,v 1.15 2002/08/31 03:44:25 wiz Exp $ +# $NetBSD: Makefile,v 1.16 2002/10/27 07:21:17 rh Exp $ # DISTNAME= gdcd-0.2.1 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= audio MASTER_SITES= http://gdcd.undergrid.net/source_archive/ -MAINTAINER= rh@netbsd.org +MAINTAINER= packages@netbsd.org HOMEPAGE= http://gdcd.undergrid.net/ COMMENT= CD player for the X Window System using the GIMP Tool Kit (GTK) diff --git a/audio/gdcd/distinfo b/audio/gdcd/distinfo index 3f1b279b761..01c2849710c 100644 --- a/audio/gdcd/distinfo +++ b/audio/gdcd/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.5 2002/07/16 08:49:30 agc Exp $ +$NetBSD: distinfo,v 1.6 2002/10/27 07:21:17 rh Exp $ SHA1 (gdcd-0.2.1.tar.gz) = 90d3a443adea4cfdfad57d254cbf4a48bac30b9f Size (gdcd-0.2.1.tar.gz) = 244312 bytes @@ -6,4 +6,4 @@ SHA1 (patch-aa) = 972ec8f5ca0e6c308c87d3ec9e3b774e78e726c4 SHA1 (patch-ab) = e67964ffe48972beee0314a8eb84a20ddcc81e68 SHA1 (patch-ac) = 1a3711d8d4cadbc0d9c4f022ffa8f0c620e3660f SHA1 (patch-ad) = 4d0aaa53fd3e1962821575daf3d00c8ad55166cc -SHA1 (patch-ae) = 8954d5d44d01a50736e5ba191fee8f10eeb4d3bd +SHA1 (patch-ae) = 7429dd043d76b3660ddb22f5ae71223e8b6bc76f diff --git a/audio/gdcd/patches/patch-ae b/audio/gdcd/patches/patch-ae index 73b7cd72044..ef39ad08d70 100644 --- a/audio/gdcd/patches/patch-ae +++ b/audio/gdcd/patches/patch-ae @@ -1,19 +1,19 @@ -$NetBSD: patch-ae,v 1.1 2001/05/14 17:09:14 rh Exp $ +$NetBSD: patch-ae,v 1.2 2002/10/27 07:21:18 rh Exp $ ---- source/gdcd.c.orig Sun May 6 18:28:44 2001 +--- source/gdcd.c.orig Sun Jan 9 08:13:01 2000 +++ source/gdcd.c @@ -17,6 +17,19 @@ #include "coverart.h" #include "conf.h" +/* -+ * NetBSD uses non-preemptive pth, so we yield the processor periodically ++ * Pth is non-preemptive, so we yield the processor periodically + */ -+#ifdef __NetBSD__ ++#ifdef _PTH_PTHREAD_H_ +gint +pth_nbschedule (gpointer data) +{ -+ pthread_yield_np(); ++ sched_yield(); + return TRUE; +} +#endif @@ -26,7 +26,7 @@ $NetBSD: patch-ae,v 1.1 2001/05/14 17:09:14 rh Exp $ free(confitem); -+#ifdef __NetBSD__ ++#ifdef _PTH_PTHREAD_H_ + gtk_timeout_add (200, pth_nbschedule, NULL); +#endif + |