summaryrefslogtreecommitdiff
path: root/sysutils/cdrtools-devel/files/patch-conf::configure
diff options
context:
space:
mode:
authorAlexander Leidinger <netchild@FreeBSD.org>2003-11-17 10:11:20 +0000
committerAlexander Leidinger <netchild@FreeBSD.org>2003-11-17 10:11:20 +0000
commit8b437c819ac8a17237bc38a7f3492ca857d75f91 (patch)
tree7d0b0942d1900c6cf856f075c3d4db55cfa84ed1 /sysutils/cdrtools-devel/files/patch-conf::configure
parentAdd cxxtest 3.0.1, a simple yet powerful (diff)
- Add a knob WITH_DVDHACK that builds cdrecord with a third-party patch
allowing to record DVD-R[W]s. [1] NOTE: Please don't blame Joerg Schilling or ask for support on the cdrtools mailing lists if this doesn't work. Also have a look at the output of `cdrecord -version`. - Append '-rscsi' to PKGNAMESUFFIX when built with WITH_RSCSI (equivalent is done when built with WITH_DVDHACK). - Limit the workaround that disables using mlockall(2) to FreeBSD versions where it triggers a panic. Requested by: pav [1] Tested by: Harold Gutch <logix@foobar.franken.de> [1]
Notes
Notes: svn path=/head/; revision=94164
Diffstat (limited to '')
-rw-r--r--sysutils/cdrtools-devel/files/patch-conf::configure13
1 files changed, 11 insertions, 2 deletions
diff --git a/sysutils/cdrtools-devel/files/patch-conf::configure b/sysutils/cdrtools-devel/files/patch-conf::configure
index eda23804083c..6cbcfc0b2002 100644
--- a/sysutils/cdrtools-devel/files/patch-conf::configure
+++ b/sysutils/cdrtools-devel/files/patch-conf::configure
@@ -1,10 +1,19 @@
--- conf/configure.orig Fri Sep 19 16:47:37 2003
+++ conf/configure Fri Sep 19 16:49:26 2003
-@@ -5567,6 +5567,7 @@
+@@ -5564,9 +5564,16 @@
+ extern int errno;
+ #endif
+
++#if defined (__FreeBSD__) && __FreeBSD__ >= 2
++#include <osreldate.h>
++#endif
++
int
main()
{
-+ exit(1);
++#if defined(__FreeBSD__) && __FreeBSD_version < 501113
++ exit(-1);
++#endif
if (mlockall(MCL_CURRENT|MCL_FUTURE) < 0) {
if (errno == EINVAL || errno == ENOMEM ||
errno == EPERM || errno == EACCES)