Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 350908 Details for
Bug 429656
sys-libs/libxcrypt-2.4: fails to build with glibc-2.16
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
libxcrypt-2.4-libc_lock.patch
libxcrypt-2.4-libc_lock.patch (text/plain), 937 bytes, created by
Christian Hagau
on 2013-06-13 18:54:19 UTC
(
hide
)
Description:
libxcrypt-2.4-libc_lock.patch
Filename:
MIME Type:
Creator:
Christian Hagau
Created:
2013-06-13 18:54:19 UTC
Size:
937 bytes
patch
obsolete
>--- libxcrypt-2.4/src/crypt_util.c 2013-06-13 21:11:51.036822617 +0200 >+++ libxcrypt-2.4_O/src/crypt_util.c 2006-01-06 01:02:01.000000000 +0100 >@@ -29,7 +29,8 @@ > #endif > #include <string.h> > >-#include <pthread.h> >+#include <bits/libc-lock.h> >+#define __libc_lock_t pthread_mutex_t > > #ifndef STATIC > #define STATIC static >@@ -263,7 +264,7 @@ > */ > struct crypt_data _ufc_foobar; > >-static pthread_mutex_t _ufc_tables_lock = PTHREAD_MUTEX_INITIALIZER; >+__libc_lock_define_initialized (static, _ufc_tables_lock) > > #ifdef DEBUG > >@@ -361,7 +362,7 @@ > #endif > > if(small_tables_initialized == 0) { >- pthread_mutex_lock (&_ufc_tables_lock); >+ __libc_lock_lock (_ufc_tables_lock); > if(small_tables_initialized) > goto small_tables_done; > >@@ -466,7 +467,7 @@ > } > small_tables_initialized = 1; > small_tables_done: >- pthread_mutex_unlock(&_ufc_tables_lock); >+ __libc_lock_unlock(_ufc_tables_lock); > } > > /*
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 429656
: 350908 |
363874