summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authordbj <dbj@pkgsrc.org>2005-11-04 22:16:30 +0000
committerdbj <dbj@pkgsrc.org>2005-11-04 22:16:30 +0000
commitdfa84c14d0531a57bc561c5ad703827fb9c22435 (patch)
treec8b81f232e8cc7f13d85d5ec2f50b3ab30e04afd /sysutils
parent468109656ef2e56613eaad34d00eefeff3496886 (diff)
downloadpkgsrc-dfa84c14d0531a57bc561c5ad703827fb9c22435.tar.gz
when checking if _POSIX_PRIORITY_SCHEDULING is defined, also check
that its value is not -1
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/cdrecord/distinfo3
-rw-r--r--sysutils/cdrecord/patches/patch-ch22
2 files changed, 24 insertions, 1 deletions
diff --git a/sysutils/cdrecord/distinfo b/sysutils/cdrecord/distinfo
index c6eb436e315..3404df2232a 100644
--- a/sysutils/cdrecord/distinfo
+++ b/sysutils/cdrecord/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.15 2005/02/24 13:40:51 agc Exp $
+$NetBSD: distinfo,v 1.16 2005/11/04 22:16:30 dbj Exp $
SHA1 (cdrtools-2.00.3.tar.gz) = 744795871f516dd8dc3918d3cf59f880abc73e4c
RMD160 (cdrtools-2.00.3.tar.gz) = dbb558bddab429e9b8e3ed42fe99d0c4805b2c1a
@@ -16,3 +16,4 @@ SHA1 (patch-cd) = a3368559694a181574889f8d4da124be6a0e8e85
SHA1 (patch-ce) = eb12b12d26f8451654124abcd0424ff29e89bcf8
SHA1 (patch-cf) = 60b44f905585af2b61232725386258abdb3118f9
SHA1 (patch-cg) = 99a48786f0f0e1e4d1d04761a9d23ccb1ab63f8d
+SHA1 (patch-ch) = 363dbb9004814436419a3932c70ec85049bdf0ca
diff --git a/sysutils/cdrecord/patches/patch-ch b/sysutils/cdrecord/patches/patch-ch
new file mode 100644
index 00000000000..870fffe02a5
--- /dev/null
+++ b/sysutils/cdrecord/patches/patch-ch
@@ -0,0 +1,22 @@
+$NetBSD: patch-ch,v 1.1 2005/11/04 22:16:30 dbj Exp $
+
+--- cdda2wav/cdda2wav.c.orig 2002-11-21 11:34:33.000000000 -0500
++++ cdda2wav/cdda2wav.c
+@@ -960,7 +960,7 @@ prio_done:
+ dontneedroot();
+ }
+ #else
+-#if defined _POSIX_PRIORITY_SCHEDULING
++#if defined _POSIX_PRIORITY_SCHEDULING && (_POSIX_PRIORITY_SCHEDULING != -1)
+ #include <sched.h>
+
+ static void
+@@ -2434,7 +2434,7 @@ Rate Divider Rate Divider
+ if ( global.verbose != 0 ) {
+ fputs( "#Cdda2wav version ", stderr );
+ fputs( VERSION, stderr );
+-#if defined _POSIX_PRIORITY_SCHEDULING || defined HAVE_SYS_PRIOCNTL_H
++#if (defined _POSIX_PRIORITY_SCHEDULING && (_POSIX_PRIORITY_SCHEDULING != -1)) || defined HAVE_SYS_PRIOCNTL_H
+ fputs( ", real time sched.", stderr );
+ #endif
+ #if defined ECHO_TO_SOUNDCARD