pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/cdrecord Support files over 2 GB size.
details: https://anonhg.NetBSD.org/pkgsrc/rev/80e25e2beb6e
branches: trunk
changeset: 476807:80e25e2beb6e
user: martin <martin%pkgsrc.org@localhost>
date: Sun Jun 20 21:37:14 2004 +0000
description:
Support files over 2 GB size.
diffstat:
sysutils/cdrecord/Makefile | 3 ++-
sysutils/cdrecord/distinfo | 4 +++-
sysutils/cdrecord/patches/patch-cf | 13 +++++++++++++
sysutils/cdrecord/patches/patch-cg | 27 +++++++++++++++++++++++++++
4 files changed, 45 insertions(+), 2 deletions(-)
diffs (76 lines):
diff -r 92af4e48b426 -r 80e25e2beb6e sysutils/cdrecord/Makefile
--- a/sysutils/cdrecord/Makefile Sun Jun 20 21:27:38 2004 +0000
+++ b/sysutils/cdrecord/Makefile Sun Jun 20 21:37:14 2004 +0000
@@ -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 -r 92af4e48b426 -r 80e25e2beb6e sysutils/cdrecord/distinfo
--- a/sysutils/cdrecord/distinfo Sun Jun 20 21:27:38 2004 +0000
+++ b/sysutils/cdrecord/distinfo Sun Jun 20 21:37:14 2004 +0000
@@ -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-cc) = a14098dd14e0b58d3fed1167341a22167eea7c19
SHA1 (patch-cd) = a3368559694a181574889f8d4da124be6a0e8e85
SHA1 (patch-ce) = eb12b12d26f8451654124abcd0424ff29e89bcf8
+SHA1 (patch-cf) = 60b44f905585af2b61232725386258abdb3118f9
+SHA1 (patch-cg) = 99a48786f0f0e1e4d1d04761a9d23ccb1ab63f8d
diff -r 92af4e48b426 -r 80e25e2beb6e sysutils/cdrecord/patches/patch-cf
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/cdrecord/patches/patch-cf Sun Jun 20 21:37:14 2004 +0000
@@ -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 -r 92af4e48b426 -r 80e25e2beb6e sysutils/cdrecord/patches/patch-cg
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/cdrecord/patches/patch-cg Sun Jun 20 21:37:14 2004 +0000
@@ -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(... */
Home |
Main Index |
Thread Index |
Old Index