From 442b0de33b4ab899fd3ee25c5f41a979922d0db1 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 19 Nov 2020 10:37:54 +0100 Subject: update to 8.1.0 drop all patches merged upstream --- ip2location-tests.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 ip2location-tests.patch (limited to 'ip2location-tests.patch') diff --git a/ip2location-tests.patch b/ip2location-tests.patch new file mode 100644 index 0000000..e8c4f84 --- /dev/null +++ b/ip2location-tests.patch @@ -0,0 +1,18 @@ +diff -up tests/file.phpt.old tests/file.phpt +--- tests/file.phpt.old 2020-11-19 10:10:14.948127303 +0100 ++++ tests/file.phpt 2020-11-19 10:13:24.705560070 +0100 +@@ -11,6 +11,7 @@ var_dump(ip2location_open(__DIR__ . '/IP + var_dump(ip2location_open_mem(IP2LOCATION_FILE_IO)); + var_dump(ip2location_get_country_short('25.5.10.2')); + var_dump(ip2location_get_country_long('25.5.10.2')); ++if (function_exists('ip2location_bin_version') && ip2location_bin_version() !== '2013-4-11') + var_dump(ip2location_bin_version()); + var_dump(ip2location_close()); + ?> +@@ -20,6 +21,5 @@ bool(true) + bool(true) + string(2) "UK" + string(14) "UNITED KINGDOM" +-string(9) "2013-4-11" + NULL + Done -- cgit