aboutsummaryrefslogtreecommitdiff
path: root/sysutils/cdrtools
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2006-03-18 15:19:48 +0000
committerPav Lucistnik <pav@FreeBSD.org>2006-03-18 15:19:48 +0000
commit71ec4215cb830f807e15fa5adcb76f43295df62a (patch)
treeac4970b0091b39272c9c5f06b248cc4856d8add5 /sysutils/cdrtools
parenta5d0eb60c420c5e7b3b8fd8da04ddb01cd1ef33a (diff)
downloadports-71ec4215cb830f807e15fa5adcb76f43295df62a.tar.gz
ports-71ec4215cb830f807e15fa5adcb76f43295df62a.zip
Notes
Diffstat (limited to 'sysutils/cdrtools')
-rw-r--r--sysutils/cdrtools/Makefile3
-rw-r--r--sysutils/cdrtools/files/patch-cdda2wav-toc.c20
2 files changed, 21 insertions, 2 deletions
diff --git a/sysutils/cdrtools/Makefile b/sysutils/cdrtools/Makefile
index 6ecfa8fd59be..5d6cbd18fb90 100644
--- a/sysutils/cdrtools/Makefile
+++ b/sysutils/cdrtools/Makefile
@@ -7,7 +7,7 @@
PORTNAME= cdrtools
PORTVERSION?= 2.01
-PORTREVISION?= 3
+PORTREVISION?= 4
CATEGORIES?= sysutils audio
MASTER_SITES= ftp://ftp.berlios.de/pub/cdrecord/ \
ftp://ftp.cs.tu-berlin.de/pub/misc/cdrecord/
@@ -34,7 +34,6 @@ MKISOFSDOCS= README README.compression README.eltorito README.graft_dirs \
USE_BZIP2= yes
USE_GMAKE= yes
-USE_REINPLACE= yes
MAKE_ENV= CCOM=${CC} LANG=C
#CFLAGS+= -DSOURCE_MODIFIED
PKGMESSAGE= ${WRKDIR}/pkg-message
diff --git a/sysutils/cdrtools/files/patch-cdda2wav-toc.c b/sysutils/cdrtools/files/patch-cdda2wav-toc.c
new file mode 100644
index 000000000000..c89084eb03f9
--- /dev/null
+++ b/sysutils/cdrtools/files/patch-cdda2wav-toc.c
@@ -0,0 +1,20 @@
+--- cdda2wav/toc.c.original Fri May 21 22:56:44 2004
++++ cdda2wav/toc.c Mon Jan 16 13:54:30 2006
+@@ -959,7 +959,7 @@
+ if (*target != NULL)
+ **target = '\0';
+ } else {
+- realloc(*target, strlen(*target) + clen - 1);
++ *target = realloc(*target, strlen(*target) + clen - 1);
+ }
+ if (*target != NULL) {
+ strcat((char *)*target, inbuff+ind+7);
+@@ -994,7 +994,7 @@
+ if (global.tracktitle[tno] != NULL)
+ *(global.tracktitle[tno]) = '\0';
+ } else {
+- realloc(global.tracktitle[tno], strlen((char *)global.tracktitle[tno]) + p - q + 1 );
++ global.tracktitle[tno] = realloc(global.tracktitle[tno], strlen((char *)global.tracktitle[tno]) + p - q + 1 );
+ }
+ if (global.tracktitle[tno] != NULL) {
+ strcat((char *)global.tracktitle[tno], q+1);