Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 891891 Details for
Bug 831179
media-sound/moc-2.6_alpha3-r6 fails to compile: configure: error: I dont know how to compile pthreads code on this system
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch fixes configure error due to LLVM warning which causes error
moc.patch (text/plain), 718 bytes, created by
Chase
on 2024-04-28 03:13:40 UTC
(
hide
)
Description:
Patch fixes configure error due to LLVM warning which causes error
Filename:
MIME Type:
Creator:
Chase
Created:
2024-04-28 03:13:40 UTC
Size:
718 bytes
patch
obsolete
>diff --git a/m4/ax_pthread.m4 b/m4/ax_pthread.m4 >index d383ad5..1dc57e8 100644 >--- a/m4/ax_pthread.m4 >+++ b/m4/ax_pthread.m4 >@@ -219,7 +219,7 @@ for flag in $ax_pthread_flags; do > # functions on Solaris that doesn't have a non-functional libc stub. > # We try pthread_create on general principles. > AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <pthread.h> >- static void routine(void *a) { a = 0; } >+ static void routine(void *a) { if (a) return; } > static void *start_routine(void *a) { return a; }], > [pthread_t th; pthread_attr_t attr; > pthread_create(&th, 0, start_routine, 0);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 831179
:
762121
|
762122
| 891891