treewide: Run refresh on all packages

The crude loop I wrote to come up with this changeset:

  find -L package/feeds/packages/ -name patches | \
  sed 's/patches$/refresh/' | sort | xargs make

Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
This commit is contained in:
Ilya Lipnitskiy
2021-02-20 16:02:15 -08:00
parent d651082447
commit 5d8d4fbbcb
558 changed files with 1518 additions and 2977 deletions

View File

@@ -40,8 +40,6 @@ r1: initial revision
ext/date/lib/parse_tz.c | 535 +++++++++++++++++++++++++++++++++++++++++++++++-
2 files changed, 545 insertions(+), 3 deletions(-)
diff --git a/ext/date/config0.m4 b/ext/date/config0.m4
index 20e4164..a612436 100644
--- a/ext/date/config0.m4
+++ b/ext/date/config0.m4
@@ -4,6 +4,19 @@ AC_CHECK_HEADERS([io.h])
@@ -64,8 +62,6 @@ index 20e4164..a612436 100644
PHP_DATE_CFLAGS="-I@ext_builddir@/lib -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -DHAVE_TIMELIB_CONFIG_H=1"
timelib_sources="lib/astro.c lib/dow.c lib/parse_date.c lib/parse_tz.c
lib/timelib.c lib/tm2unixtime.c lib/unixtime2tm.c lib/parse_iso_intervals.c lib/interval.c"
diff --git a/ext/date/lib/parse_tz.c b/ext/date/lib/parse_tz.c
index 020da31..9b39c6e 100644
--- a/ext/date/lib/parse_tz.c
+++ b/ext/date/lib/parse_tz.c
@@ -26,8 +26,21 @@
@@ -90,7 +86,7 @@ index 020da31..9b39c6e 100644
#if (defined(__APPLE__) || defined(__APPLE_CC__)) && (defined(__BIG_ENDIAN__) || defined(__LITTLE_ENDIAN__))
# if defined(__LITTLE_ENDIAN__)
@@ -88,6 +101,11 @@ static int read_php_preamble(const unsigned char **tzf, timelib_tzinfo *tz)
@@ -88,6 +101,11 @@ static int read_php_preamble(const unsig
{
uint32_t version;
@@ -102,7 +98,7 @@ index 020da31..9b39c6e 100644
/* read ID */
version = (*tzf)[3] - '0';
*tzf += 4;
@@ -412,7 +430,429 @@ void timelib_dump_tzinfo(timelib_tzinfo *tz)
@@ -412,7 +430,429 @@ void timelib_dump_tzinfo(timelib_tzinfo
}
}
@@ -533,7 +529,7 @@ index 020da31..9b39c6e 100644
{
int left = 0, right = tzdb->index_size - 1;
@@ -438,9 +878,48 @@ static int seek_to_tz_position(const unsigned char **tzf, char *timezone, const
@@ -438,9 +878,48 @@ static int seek_to_tz_position(const uns
return 0;
}
@@ -582,7 +578,7 @@ index 020da31..9b39c6e 100644
}
const timelib_tzdb_index_entry *timelib_timezone_identifiers_list(const timelib_tzdb *tzdb, int *count)
@@ -452,7 +931,30 @@ const timelib_tzdb_index_entry *timelib_timezone_identifiers_list(const timelib_
@@ -452,7 +931,30 @@ const timelib_tzdb_index_entry *timelib_
int timelib_timezone_id_is_valid(char *timezone, const timelib_tzdb *tzdb)
{
const unsigned char *tzf;
@@ -614,7 +610,7 @@ index 020da31..9b39c6e 100644
}
static int skip_64bit_preamble(const unsigned char **tzf, timelib_tzinfo *tz)
@@ -494,12 +996,14 @@ static timelib_tzinfo* timelib_tzinfo_ctor(char *name)
@@ -494,12 +996,14 @@ static timelib_tzinfo* timelib_tzinfo_ct
timelib_tzinfo *timelib_parse_tzfile(char *timezone, const timelib_tzdb *tzdb, int *error_code)
{
const unsigned char *tzf;
@@ -630,7 +626,7 @@ index 020da31..9b39c6e 100644
tmp = timelib_tzinfo_ctor(timezone);
version = read_preamble(&tzf, tmp, &type);
@@ -534,11 +1038,36 @@ timelib_tzinfo *timelib_parse_tzfile(char *timezone, const timelib_tzdb *tzdb, i
@@ -534,11 +1038,36 @@ timelib_tzinfo *timelib_parse_tzfile(cha
}
skip_posix_string(&tzf, tmp);

View File

@@ -13,11 +13,9 @@ To be used in tandem with use_embedded_timezonedb.patch and use_embedded_timezon
ext/date/php_date.c | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/ext/date/php_date.c b/ext/date/php_date.c
index f049ae2..6a044ce 100644
--- a/ext/date/php_date.c
+++ b/ext/date/php_date.c
@@ -1030,6 +1030,23 @@ static char* guess_timezone(const timelib_tzdb *tzdb)
@@ -1032,6 +1032,23 @@ static char* guess_timezone(const timeli
DATEG(timezone_valid) = 1;
return DATEG(default_timezone);
}

View File

@@ -13,7 +13,7 @@ Subject: Add patch to remove build timestamps from generated binaries.
--- a/ext/standard/info.c
+++ b/ext/standard/info.c
@@ -802,7 +802,6 @@ PHPAPI ZEND_COLD void php_print_info(int flag)
@@ -802,7 +802,6 @@ PHPAPI ZEND_COLD void php_print_info(int
php_info_print_box_end();
php_info_print_table_start();
php_info_print_table_row(2, "System", ZSTR_VAL(php_uname));
@@ -47,7 +47,7 @@ Subject: Add patch to remove build timestamps from generated binaries.
*aix*)
--- a/sapi/cgi/cgi_main.c
+++ b/sapi/cgi/cgi_main.c
@@ -2392,9 +2392,9 @@ parent_loop_end:
@@ -2400,9 +2400,9 @@ parent_loop_end:
SG(headers_sent) = 1;
SG(request_info).no_headers = 1;
#if ZEND_DEBUG
@@ -61,7 +61,7 @@ Subject: Add patch to remove build timestamps from generated binaries.
fcgi_shutdown();
--- a/sapi/cli/php_cli.c
+++ b/sapi/cli/php_cli.c
@@ -645,8 +645,8 @@ static int do_cli(int argc, char **argv) /* {{{ */
@@ -648,8 +648,8 @@ static int do_cli(int argc, char **argv)
goto out;
case 'v': /* show php version & quit */
@@ -74,7 +74,7 @@ Subject: Add patch to remove build timestamps from generated binaries.
#else
--- a/sapi/fpm/fpm/fpm_main.c
+++ b/sapi/fpm/fpm/fpm_main.c
@@ -1722,9 +1722,9 @@ int main(int argc, char *argv[])
@@ -1717,9 +1717,9 @@ int main(int argc, char *argv[])
SG(request_info).no_headers = 1;
#if ZEND_DEBUG
@@ -88,7 +88,7 @@ Subject: Add patch to remove build timestamps from generated binaries.
fcgi_shutdown();
--- a/sapi/phpdbg/phpdbg.c
+++ b/sapi/phpdbg/phpdbg.c
@@ -1695,10 +1695,8 @@ phpdbg_main:
@@ -1697,10 +1697,8 @@ phpdbg_main:
phpdbg_do_help_cmd(exec);
} else if (show_version) {
phpdbg_out(

View File

@@ -7,8 +7,6 @@ Subject: Remove W3C validation icon to not expose the reader's IP address to
sapi/fpm/status.html.in | 5 -----
1 file changed, 5 deletions(-)
diff --git a/sapi/fpm/status.html.in b/sapi/fpm/status.html.in
index 86492d7..31c31ff 100644
--- a/sapi/fpm/status.html.in
+++ b/sapi/fpm/status.html.in
@@ -70,11 +70,6 @@

View File

@@ -1,6 +1,6 @@
--- a/ext/opcache/ZendAccelerator.c
+++ b/ext/opcache/ZendAccelerator.c
@@ -2652,11 +2652,6 @@ static void accel_gen_system_id(void)
@@ -2667,11 +2667,6 @@ static void accel_gen_system_id(void)
PHP_MD5Update(&context, PHP_VERSION, sizeof(PHP_VERSION)-1);
PHP_MD5Update(&context, ZEND_EXTENSION_BUILD_ID, sizeof(ZEND_EXTENSION_BUILD_ID)-1);
PHP_MD5Update(&context, ZEND_BIN_ID, sizeof(ZEND_BIN_ID)-1);
@@ -14,7 +14,7 @@
*/
--- a/sapi/litespeed/lsapi_main.c
+++ b/sapi/litespeed/lsapi_main.c
@@ -1284,9 +1284,9 @@ static int cli_main( int argc, char * ar
@@ -1288,9 +1288,9 @@ static int cli_main( int argc, char * ar
case 'v':
if (php_request_startup() != FAILURE) {
#if ZEND_DEBUG

View File

@@ -18,8 +18,6 @@ Signed-off-by: Michael Heimpold <mhei@heimpold.de>
ext/opcache/config.m4 | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/ext/opcache/config.m4 b/ext/opcache/config.m4
index 6c40cafc1..63fa5bb55 100644
--- a/ext/opcache/config.m4
+++ b/ext/opcache/config.m4
@@ -89,7 +89,10 @@ int main() {
@@ -46,6 +44,3 @@ index 6c40cafc1..63fa5bb55 100644
AC_MSG_RESULT([$msg])
PHP_CHECK_FUNC_LIB(shm_open, rt)
--
2.17.1

View File

@@ -1,6 +1,6 @@
--- a/ext/phar/config.m4 2016-08-17 21:50:58.000000000 +0200
+++ b/ext/phar/config.m4 2016-09-20 22:21:28.494934775 +0200
@@ -19,7 +19,7 @@
--- a/ext/phar/config.m4
+++ b/ext/phar/config.m4
@@ -19,7 +19,7 @@ if test "$PHP_PHAR" != "no"; then
fi
PHP_ADD_EXTENSION_DEP(phar, hash, true)
PHP_ADD_EXTENSION_DEP(phar, spl, true)
@@ -9,9 +9,9 @@
PHP_INSTALL_HEADERS([ext/phar], [php_phar.h])
--- a/configure.ac 2016-09-20 22:26:38.000000000 +0200
+++ b/configure.ac 2016-09-20 22:42:30.380101556 +0200
@@ -1430,13 +1430,13 @@
--- a/configure.ac
+++ b/configure.ac
@@ -1454,13 +1454,13 @@ CFLAGS="\$(CFLAGS_CLEAN) $standard_libto
INLINE_CFLAGS="$INLINE_CFLAGS $standard_libtool_flag"
CXXFLAGS="$CXXFLAGS $standard_libtool_flag \$(PROF_FLAGS)"