- Disable the use of mlockall(2) on all version of FreeBSD again (see PR 62930
for a description of the problem). Appears to be a machine-dependant issue as I only see it on one box. - Replace the default path to the rscsi binary in the rscsi client library with the correct location (why did this ever work?). Submitted by: marius (maintainer)
This commit is contained in:
parent
47d1ff0218
commit
a04d79b29e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=107750
@ -8,7 +8,7 @@
|
||||
PORTNAME?= cdrtools
|
||||
CDRTLSVERSION= 2.01a27
|
||||
PORTVERSION?= ${CDRTLSVERSION}
|
||||
PORTREVISION?= 0
|
||||
PORTREVISION?= 1
|
||||
CATEGORIES?= sysutils audio
|
||||
MASTER_SITES= ftp://ftp.berlios.de/pub/cdrecord/alpha/ \
|
||||
ftp://ftp.cs.tu-berlin.de/pub/misc/cdrecord/alpha/
|
||||
@ -101,7 +101,8 @@ post-patch:
|
||||
.endif
|
||||
.for i in README.rscsi include/deflts.h cdda2wav/cdda2wav.1 \
|
||||
cdrecord/cdrecord.1 cdrecord/cdrecord.dfl cdrecord/defaults.c \
|
||||
readcd/readcd.1 rscsi/rscsi.c rscsi/rscsi.dfl scgcheck/scgcheck.1
|
||||
librscg/scsi-remote.c readcd/readcd.1 rscsi/rscsi.c rscsi/rscsi.dfl \
|
||||
scgcheck/scgcheck.1
|
||||
@${REINPLACE_CMD} -e 's|\/opt\/schily|${PREFIX}|g; \
|
||||
s|\/usr\/local|${PREFIX}|g; s|\/etc\/default|${PREFIX}\/etc|g; \
|
||||
s|\/var\/adm\/messages|\/var\/run\/dmesg.boot|g' ${WRKSRC}/${i}
|
||||
|
10
sysutils/cdrtools-devel/files/patch-conf::configure
Normal file
10
sysutils/cdrtools-devel/files/patch-conf::configure
Normal file
@ -0,0 +1,10 @@
|
||||
--- conf/configure.orig Fri Sep 19 16:47:37 2003
|
||||
+++ conf/configure Fri Sep 19 16:49:26 2003
|
||||
@@ -5567,6 +5567,7 @@
|
||||
int
|
||||
main()
|
||||
{
|
||||
+ exit(1);
|
||||
if (mlockall(MCL_CURRENT|MCL_FUTURE) < 0) {
|
||||
if (errno == EINVAL || errno == ENOMEM ||
|
||||
errno == EPERM || errno == EACCES)
|
Loading…
Reference in New Issue
Block a user