summaryrefslogtreecommitdiff
path: root/debian/patches/fix_broken_locale_tests.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/fix_broken_locale_tests.patch')
-rw-r--r--debian/patches/fix_broken_locale_tests.patch29
1 files changed, 0 insertions, 29 deletions
diff --git a/debian/patches/fix_broken_locale_tests.patch b/debian/patches/fix_broken_locale_tests.patch
deleted file mode 100644
index 43c7e7a76..000000000
--- a/debian/patches/fix_broken_locale_tests.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-Description: Backport upstream fix for tests with incorrect locale name
-Origin: upstream
-
-Index: php/ext/standard/tests/strings/strtolower.phpt
-===================================================================
---- php.orig/ext/standard/tests/strings/strtolower.phpt
-+++ php/ext/standard/tests/strings/strtolower.phpt
-@@ -22,7 +22,7 @@ if( substr(PHP_OS, 0, 3) == 'WIN') {
- if( substr(PHP_OS, 0, 3) == 'WIN') {
- setlocale(LC_ALL, 'C');
- } else {
-- setlocale(LC_ALL, 'en-US.UTF-8');
-+ setlocale(LC_ALL, 'en_US.UTF-8');
- }
-
- echo "*** Testing strtolower() with all 256 chars ***\n";
-Index: php/ext/standard/tests/strings/strtoupper1.phpt
-===================================================================
---- php.orig/ext/standard/tests/strings/strtoupper1.phpt
-+++ php/ext/standard/tests/strings/strtoupper1.phpt
-@@ -22,7 +22,7 @@ if( substr(PHP_OS, 0, 3) == 'WIN') {
- if( substr(PHP_OS, 0, 3) == 'WIN') {
- setlocale(LC_ALL, 'C');
- } else {
-- setlocale(LC_ALL, 'en-US.UTF-8');
-+ setlocale(LC_ALL, 'en_US.UTF-8');
- }
-
- echo "*** Testing strtoupper() with all 256 chars ***\n";