summaryrefslogtreecommitdiff
path: root/sysutils/cdrecord
diff options
context:
space:
mode:
authormartin <martin>2004-06-20 21:37:14 +0000
committermartin <martin>2004-06-20 21:37:14 +0000
commit57fda130c11b3626b3a07dde0ab06a5891c1f828 (patch)
tree347a549dc7a0c5046134e7224895b61571867759 /sysutils/cdrecord
parentfe0bf29274bc97ad77b6a07fc702a0aca245d60e (diff)
downloadpkgsrc-57fda130c11b3626b3a07dde0ab06a5891c1f828.tar.gz
Support files over 2 GB size.
Diffstat (limited to 'sysutils/cdrecord')
-rw-r--r--sysutils/cdrecord/Makefile3
-rw-r--r--sysutils/cdrecord/distinfo4
-rw-r--r--sysutils/cdrecord/patches/patch-cf13
-rw-r--r--sysutils/cdrecord/patches/patch-cg27
4 files changed, 45 insertions, 2 deletions
diff --git a/sysutils/cdrecord/Makefile b/sysutils/cdrecord/Makefile
index ae819592f4d..06af6b85c93 100644
--- a/sysutils/cdrecord/Makefile
+++ b/sysutils/cdrecord/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.56 2004/05/30 02:19:16 snj Exp $
+# $NetBSD: Makefile,v 1.57 2004/06/20 21:37:14 martin Exp $
DISTNAME= cdrtools-2.00.3
PKGNAME= cdrecord-2.00.3
+PKGREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.berlios.de/pub/cdrecord/
diff --git a/sysutils/cdrecord/distinfo b/sysutils/cdrecord/distinfo
index 91e0cce4315..ee37b6bd25a 100644
--- a/sysutils/cdrecord/distinfo
+++ b/sysutils/cdrecord/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.12 2004/04/26 07:46:11 agc Exp $
+$NetBSD: distinfo,v 1.13 2004/06/20 21:37:14 martin Exp $
SHA1 (cdrtools-2.00.3.tar.gz) = 744795871f516dd8dc3918d3cf59f880abc73e4c
Size (cdrtools-2.00.3.tar.gz) = 1638876 bytes
@@ -13,3 +13,5 @@ SHA1 (patch-cb) = 8119e171e7308c0bb095b6a1d760473d8cc89120
SHA1 (patch-cc) = a14098dd14e0b58d3fed1167341a22167eea7c19
SHA1 (patch-cd) = a3368559694a181574889f8d4da124be6a0e8e85
SHA1 (patch-ce) = eb12b12d26f8451654124abcd0424ff29e89bcf8
+SHA1 (patch-cf) = 60b44f905585af2b61232725386258abdb3118f9
+SHA1 (patch-cg) = 99a48786f0f0e1e4d1d04761a9d23ccb1ab63f8d
diff --git a/sysutils/cdrecord/patches/patch-cf b/sysutils/cdrecord/patches/patch-cf
new file mode 100644
index 00000000000..699f866f29c
--- /dev/null
+++ b/sysutils/cdrecord/patches/patch-cf
@@ -0,0 +1,13 @@
+$NetBSD: patch-cf,v 1.1 2004/06/20 21:37:14 martin Exp $
+
+--- mkisofs/tree.c.orig 2002-12-07 21:40:47.000000000 +0100
++++ mkisofs/tree.c 2004-06-20 12:48:19.000000000 +0200
+@@ -1517,7 +1517,7 @@
+ /*
+ * >= is required by the large file summit standard.
+ */
+- if (S_ISREG(lstatbuf.st_mode) && (lstatbuf.st_size >= (off_t)0x7FFFFFFF)) {
++ if (S_ISREG(lstatbuf.st_mode) && (lstatbuf.st_size >= (off_t)0x0FFFFFFFF)) {
+ #ifdef EOVERFLOW
+ errno = EOVERFLOW;
+ #else
diff --git a/sysutils/cdrecord/patches/patch-cg b/sysutils/cdrecord/patches/patch-cg
new file mode 100644
index 00000000000..8c39707dfa5
--- /dev/null
+++ b/sysutils/cdrecord/patches/patch-cg
@@ -0,0 +1,27 @@
+$NetBSD: patch-cg,v 1.1 2004/06/20 21:37:14 martin Exp $
+
+--- mkisofs/write.c.orig 2002-12-23 15:16:45.000000000 +0100
++++ mkisofs/write.c 2004-06-20 23:16:24.000000000 +0200
+@@ -383,8 +383,8 @@
+ */
+ static char buffer[SECTOR_SIZE * NSECT];
+ FILE *infile;
+- int remain;
+- int use;
++ unsigned int remain;
++ unsigned int use;
+
+
+ if ((infile = fopen(filename, "rb")) == NULL) {
+@@ -449,7 +449,10 @@
+ fflush(stderr);
+ }
+ #endif
+- remain -= use;
++ if (use > remain)
++ remain = 0;
++ else
++ remain -= use;
+ }
+ fclose(infile);
+ }/* write_one_file(... */