b960cf7da0
While burning ISO Multisession BD-R 50G growisofs reports no space left while 24G+ are available. Backport a fix from Debian [1] to address the issue. While I'm here, document description and origins of both patches [1][2] that apply to same source file, for our future selves, and to avoid confusion as both chunks reference the same variable. [1] https://bugs.debian.org/615978 [2] https://bugs.debian.org/713016 PR: 230493 Submitted by: Masachika ISHIZUKA <ish amail plala or jp> Approved by: portmgr (implicit, unmaintained port) Obtained from: Debian [1] MFH: 2018Q3
13 lines
389 B
C
13 lines
389 B
C
--- mp.h.orig 2008-02-24 17:56:07 UTC
|
|
+++ mp.h
|
|
@@ -46,7 +46,9 @@ static void *__thread_create(int (*func)(void *),void
|
|
|
|
if (pthread_attr_init(&attr)==0 &&
|
|
pthread_attr_setstacksize(&attr,stack_sz)==0 &&
|
|
+#if !defined(__DragonFly__)
|
|
pthread_attr_setscope(&attr,PTHREAD_SCOPE_SYSTEM)==0 &&
|
|
+#endif
|
|
pthread_create(&h,&attr,(void *(*)(void *))func,arg)==0 )
|
|
return (void *)h;
|
|
|