summaryrefslogtreecommitdiff
path: root/recipes/php/php-5.2.6/string.c.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/php/php-5.2.6/string.c.patch')
-rw-r--r--recipes/php/php-5.2.6/string.c.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/recipes/php/php-5.2.6/string.c.patch b/recipes/php/php-5.2.6/string.c.patch
new file mode 100644
index 0000000000..a24b887ac2
--- /dev/null
+++ b/recipes/php/php-5.2.6/string.c.patch
@@ -0,0 +1,21 @@
+Index: php-5.2.6/ext/standard/string.c
+===================================================================
+--- php-5.2.6.orig/ext/standard/string.c
++++ php-5.2.6/ext/standard/string.c
+@@ -592,14 +592,12 @@ PHP_FUNCTION(nl_langinfo)
+ #endif
+ #ifdef DECIMAL_POINT
+ case DECIMAL_POINT:
+-#endif
+-#ifdef RADIXCHAR
++#elif RADIXCHAR
+ case RADIXCHAR:
+ #endif
+ #ifdef THOUSANDS_SEP
+ case THOUSANDS_SEP:
+-#endif
+-#ifdef THOUSEP
++#elif THOUSEP
+ case THOUSEP:
+ #endif
+ #ifdef GROUPING