aboutsummaryrefslogtreecommitdiff
path: root/sysutils/cdrtools
diff options
context:
space:
mode:
authorScott Long <scottl@FreeBSD.org>2002-10-19 17:05:27 +0000
committerScott Long <scottl@FreeBSD.org>2002-10-19 17:05:27 +0000
commitce034b2fd568a1b7b211a6083c2ddf49a7062a25 (patch)
treedabf45f5582207d6515053867c673a2c97b2c16a /sysutils/cdrtools
parent5348215d8bbba2a77689051721a29e1fb70a7086 (diff)
downloadports-ce034b2fd568a1b7b211a6083c2ddf49a7062a25.tar.gz
ports-ce034b2fd568a1b7b211a6083c2ddf49a7062a25.zip
Notes
Diffstat (limited to 'sysutils/cdrtools')
-rw-r--r--sysutils/cdrtools/files/patch-bc11
1 files changed, 11 insertions, 0 deletions
diff --git a/sysutils/cdrtools/files/patch-bc b/sysutils/cdrtools/files/patch-bc
new file mode 100644
index 000000000000..e9d00c964648
--- /dev/null
+++ b/sysutils/cdrtools/files/patch-bc
@@ -0,0 +1,11 @@
+--- cdrecord/cdrecord.c.orig Sat Oct 19 10:49:00 2002
++++ cdrecord/cdrecord.c Sat Oct 19 10:49:14 2002
+@@ -354,7 +354,7 @@
+ * Try to lock us im memory (will only work for root)
+ * but you need access to root anyway to use /dev/scg?
+ */
+-#if defined(HAVE_MLOCKALL) || defined(_POSIX_MEMLOCK)
++#if defined(HAVE_MLOCKALL)
+ if (mlockall(MCL_CURRENT|MCL_FUTURE) < 0) {
+ errmsg("WARNING: Cannot do mlockall(2).\n");
+ errmsgno(EX_BAD, "WARNING: This causes a high risk for buffer underruns.\n");