aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2006-01-20 13:26:57 +0000
committerPav Lucistnik <pav@FreeBSD.org>2006-01-20 13:26:57 +0000
commite03b5a5ef950b16671a0966f60a089f7d101c471 (patch)
tree644c5010796c49e601a7e1ac214c6295143f828f /sysutils
parent0ae7bea4dace3ec7151ab59f46a1aec9c2d5e7a9 (diff)
downloadports-e03b5a5ef950b16671a0966f60a089f7d101c471.tar.gz
ports-e03b5a5ef950b16671a0966f60a089f7d101c471.zip
Notes
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/dvd+rw-tools/Makefile1
-rw-r--r--sysutils/dvd+rw-tools/files/patch-mp.h12
2 files changed, 13 insertions, 0 deletions
diff --git a/sysutils/dvd+rw-tools/Makefile b/sysutils/dvd+rw-tools/Makefile
index 8a2fb22c164a..3d70192f83d5 100644
--- a/sysutils/dvd+rw-tools/Makefile
+++ b/sysutils/dvd+rw-tools/Makefile
@@ -6,6 +6,7 @@
PORTNAME= dvd+rw-tools
PORTVERSION= 6.0
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://www.pkix.net/mirror/fy.chalmers.se/ \
http://fy.chalmers.se/~appro/linux/DVD+RW/tools/
diff --git a/sysutils/dvd+rw-tools/files/patch-mp.h b/sysutils/dvd+rw-tools/files/patch-mp.h
new file mode 100644
index 000000000000..c9e4569be9f3
--- /dev/null
+++ b/sysutils/dvd+rw-tools/files/patch-mp.h
@@ -0,0 +1,12 @@
+--- mp.h.orig Mon Jan 16 11:34:56 2006
++++ mp.h Thu Jan 19 20:22:30 2006
+@@ -39,7 +39,9 @@
+ pthread_attr_t attr;
+
+ if (pthread_attr_init(&attr)==0 &&
++#if !defined(__FreeBSD__) || __FreeBSD__ >= 5
+ pthread_attr_setscope(&attr,PTHREAD_SCOPE_SYSTEM)==0 &&
++#endif /* FreeBSD 4 does not support PTHREAD_SCOPE_SYSTEM */
+ pthread_create(&h,&attr,(void *(*)(void *))func,arg)==0 )
+ return (void *)h;
+