diff options
Diffstat (limited to 'sysutils/dvd+rw-tools')
-rw-r--r-- | sysutils/dvd+rw-tools/Makefile | 1 | ||||
-rw-r--r-- | sysutils/dvd+rw-tools/files/patch-mp.h | 12 |
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; + |