diff options
author | dbj <dbj> | 2005-11-04 22:20:37 +0000 |
---|---|---|
committer | dbj <dbj> | 2005-11-04 22:20:37 +0000 |
commit | 808db32273652aba209d3c732eac8469698f6d14 (patch) | |
tree | 6b3651297fc0049b4e00c9e81877769b736e31c2 /sysutils | |
parent | 1febc61634934049b2c34a89c863d0c424c9db5c (diff) | |
download | pkgsrc-808db32273652aba209d3c732eac8469698f6d14.tar.gz |
when checking if _POSIX_PRIORITY_SCHEDULING is defined, also check
that its value is not -1
match declaration of check_writemodes_mdvd to its definition
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/cdrtools-ossdvd/distinfo | 4 | ||||
-rw-r--r-- | sysutils/cdrtools-ossdvd/patches/patch-cd | 22 | ||||
-rw-r--r-- | sysutils/cdrtools-ossdvd/patches/patch-ce | 13 |
3 files changed, 38 insertions, 1 deletions
diff --git a/sysutils/cdrtools-ossdvd/distinfo b/sysutils/cdrtools-ossdvd/distinfo index 10c81835971..1cde89989c8 100644 --- a/sysutils/cdrtools-ossdvd/distinfo +++ b/sysutils/cdrtools-ossdvd/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.6 2005/06/24 21:47:57 wiz Exp $ +$NetBSD: distinfo,v 1.7 2005/11/04 22:20:37 dbj Exp $ SHA1 (cdrtools-2.01.01a01.tar.bz2) = a55443f1ff9419155b403a6cd3dfcbdd2159d199 RMD160 (cdrtools-2.01.01a01.tar.bz2) = 2f07b2364a966d9950d01a4d138f5e4fd7e9ceab @@ -15,3 +15,5 @@ SHA1 (patch-bb) = f731a120143e4b875712afa332c56fbbb7f54006 SHA1 (patch-ca) = 12111a160a9e968d71c73f84685d998d4330ade6 SHA1 (patch-cb) = 3a2dac733caf087e63e545011a018953bdebd91f SHA1 (patch-cc) = a14098dd14e0b58d3fed1167341a22167eea7c19 +SHA1 (patch-cd) = 77b1d17ad5cc444862e3e7b976d9a519cfaafd50 +SHA1 (patch-ce) = ecfb8bf57e05d6db8a45af0c95c79aa5ab52cb26 diff --git a/sysutils/cdrtools-ossdvd/patches/patch-cd b/sysutils/cdrtools-ossdvd/patches/patch-cd new file mode 100644 index 00000000000..375e4b0d5fb --- /dev/null +++ b/sysutils/cdrtools-ossdvd/patches/patch-cd @@ -0,0 +1,22 @@ +$NetBSD: patch-cd,v 1.1 2005/11/04 22:20:37 dbj Exp $ + +--- cdda2wav/cdda2wav.c.orig 2004-08-24 11:06:14.000000000 -0400 ++++ cdda2wav/cdda2wav.c +@@ -970,7 +970,7 @@ prio_done: + dontneedroot(); + } + #else +-#if defined _POSIX_PRIORITY_SCHEDULING ++#if defined _POSIX_PRIORITY_SCHEDULING && (_POSIX_PRIORITY_SCHEDULING != -1) + #include <sched.h> + + static void +@@ -2616,7 +2616,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 diff --git a/sysutils/cdrtools-ossdvd/patches/patch-ce b/sysutils/cdrtools-ossdvd/patches/patch-ce new file mode 100644 index 00000000000..9669dd61e8b --- /dev/null +++ b/sysutils/cdrtools-ossdvd/patches/patch-ce @@ -0,0 +1,13 @@ +$NetBSD: patch-ce,v 1.1 2005/11/04 22:20:37 dbj Exp $ + +--- cdrecord/drv_mmc.c.orig 2005-09-27 11:44:46.000000000 -0400 ++++ cdrecord/drv_mmc.c +@@ -86,7 +86,7 @@ LOCAL cdr_t *identify_mmc __PR((SCSI *s + LOCAL int attach_mmc __PR((SCSI *scgp, cdr_t *)); + LOCAL int attach_mdvd __PR((SCSI *scgp, cdr_t *)); + EXPORT int check_writemodes_mmc __PR((SCSI *scgp, cdr_t *dp)); +-EXPORT int check_writemodes_mdvd __PR((SCSI *scgp, cdr_t *dp)); ++LOCAL int check_writemodes_mdvd __PR((SCSI *scgp, cdr_t *dp)); + LOCAL int deflt_writemodes_mmc __PR((SCSI *scgp, BOOL reset_dummy)); + LOCAL int deflt_writemodes_mdvd __PR((SCSI *scgp, BOOL reset_dummy)); + LOCAL int get_diskinfo __PR((SCSI *scgp, struct disk_info *dip)); |