From a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 4 Jun 2026 16:24:49 -0500 Subject: Adding metadata --- .../files/php-debug-testfix.patch | 74 ---------------------- 1 file changed, 74 deletions(-) delete mode 100644 dev-php/pecl-uploadprogress/files/php-debug-testfix.patch (limited to 'dev-php/pecl-uploadprogress/files/php-debug-testfix.patch') diff --git a/dev-php/pecl-uploadprogress/files/php-debug-testfix.patch b/dev-php/pecl-uploadprogress/files/php-debug-testfix.patch deleted file mode 100644 index febc989ab79b..000000000000 --- a/dev-php/pecl-uploadprogress/files/php-debug-testfix.patch +++ /dev/null @@ -1,74 +0,0 @@ -From 57f3c17c684a4e5607a322a24be306eb98d340ac Mon Sep 17 00:00:00 2001 -From: Michael Orlitzky -Date: Mon, 22 May 2023 10:18:29 -0400 -Subject: [PATCH 1/1] tests: skip tests that fail with --enable-debug. - -With PHP debugging enabled, a few tests fail. The root cause of this -is that uploadprogress_get_contents() can return FALSE to indicate -that an error has occurred, but its declared type is string. It -would probably be better if the function raised an error rather -than abusing the return value, but that's a decision upstream -would have to agree too (see: Github issue 17). For now we just -skip the tests if PHP_DEBUG is defined. ---- - tests/uploadprogress_get_contents_error001.phpt | 2 ++ - tests/uploadprogress_get_contents_error003.phpt | 2 ++ - tests/uploadprogress_get_contents_variation002.phpt | 2 ++ - tests/uploadprogress_get_contents_variation006.phpt | 2 ++ - 4 files changed, 8 insertions(+) - -diff --git a/tests/uploadprogress_get_contents_error001.phpt b/tests/uploadprogress_get_contents_error001.phpt -index 63f4f5d..c3e10d9 100644 ---- a/tests/uploadprogress_get_contents_error001.phpt -+++ b/tests/uploadprogress_get_contents_error001.phpt -@@ -5,6 +5,8 @@ uploadprogress_get_contents - Warns when function is disabled -