diff options
| author | Andrew Manison <amanison@anselsystems.com> | 2010-08-04 23:22:29 +0000 |
|---|---|---|
| committer | Andrew Manison <amanison@anselsystems.com> | 2010-08-04 23:22:29 +0000 |
| commit | e692c6d8a84c2f8424704824ee5a1f09b6d31fee (patch) | |
| tree | 48963a89a34ffac54a41caea12d4fdf0435e5e8e /main/php/php-uclibc.patch | |
| parent | f3eb155dab5d8de075f99dee8bfe7a8bb750732c (diff) | |
| parent | e5103dee420328c76983c537c09f956b7358af18 (diff) | |
| download | aports-e692c6d8a84c2f8424704824ee5a1f09b6d31fee.tar.bz2 aports-e692c6d8a84c2f8424704824ee5a1f09b6d31fee.tar.xz | |
Merge remote branch 'alpine/master'
Diffstat (limited to 'main/php/php-uclibc.patch')
| -rw-r--r-- | main/php/php-uclibc.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/main/php/php-uclibc.patch b/main/php/php-uclibc.patch new file mode 100644 index 0000000000..554f66bd5a --- /dev/null +++ b/main/php/php-uclibc.patch @@ -0,0 +1,11 @@ +--- ./ext/standard/php_crypt_r.c.orig ++++ ./ext/standard/php_crypt_r.c +@@ -94,7 +94,7 @@ + if (!initialized) { + #ifdef PHP_WIN32 + InterlockedIncrement(&initialized); +-#elif (defined(__GNUC__) && (__GNUC__ >= 4 && __GNUC_MINOR >= 2)) ++#elif (defined(__GNUC__) && (__GNUC__ >= 4 && __GNUC_MINOR >= 2)) || defined(__UCLIBC__) + __sync_fetch_and_add(&initialized, 1); + #elif defined(HAVE_ATOMIC_H) /* Solaris 10 defines atomic API within */ + membar_producer(); |
