From 5ab7f720faf3db9459a6c71dad41d63bdf0481c3 Mon Sep 17 00:00:00 2001 From: wang--ge Date: Thu, 25 Sep 2025 10:53:21 +0800 Subject: [PATCH] Update package to version 1.57.3 --- 001-port-to-php-8.0.0.patch | 25 +++++++++++-------- ...-1.56.2.tar.gz => libguestfs-1.57.3.tar.gz | 4 +-- libguestfs.spec | 7 ++++-- 3 files changed, 21 insertions(+), 15 deletions(-) rename libguestfs-1.56.2.tar.gz => libguestfs-1.57.3.tar.gz (32%) diff --git a/001-port-to-php-8.0.0.patch b/001-port-to-php-8.0.0.patch index 3c6c9ef..14ae070 100644 --- a/001-port-to-php-8.0.0.patch +++ b/001-port-to-php-8.0.0.patch @@ -4,13 +4,14 @@ Date: Thu, 4 Feb 2021 09:41:12 +0800 Subject: [PATCH] port to php 8.0.0 --- - generator/php.ml | 17 ++++++++++------- + generator/php.ml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) - -diff -ruN libguestfs/generator/php.ml libguestfs-1.49.5/generator/php.ml ---- libguestfs/generator/php.ml 2022-11-16 02:11:11.207197930 +0800 -+++ libguestfs-1.49.5/generator/php.ml 2022-11-16 02:13:35.829265696 +0800 -@@ -218,7 +218,7 @@ + +diff --git a/generator/php.ml b/generator/php.ml +index b43b301..42e9ba4 100644 +--- a/generator/php.ml ++++ b/generator/php.ml +@@ -215,7 +215,7 @@ static void guestfs_php_handle_dtor (zend_resource *rsrc) #else static void @@ -19,7 +20,7 @@ diff -ruN libguestfs/generator/php.ml libguestfs-1.49.5/generator/php.ml #endif { guestfs_h *g = (guestfs_h *) rsrc->ptr; -@@ -234,6 +234,9 @@ +@@ -231,6 +231,9 @@ PHP_MINIT_FUNCTION (guestfs_php) return SUCCESS; } @@ -29,16 +30,16 @@ diff -ruN libguestfs/generator/php.ml libguestfs-1.49.5/generator/php.ml static zend_function_entry guestfs_php_functions[] = { PHP_FE (guestfs_create, arginfo_create) PHP_FE (guestfs_last_error, arginfo_last_error) -@@ -288,7 +291,7 @@ +@@ -285,7 +288,7 @@ PHP_FUNCTION (guestfs_last_error) zval *z_g; guestfs_h *g; -- if (zend_parse_parameters (ZEND_NUM_ARGS() TSRMLS_CC, \"r\", -+ if (zend_parse_parameters (ZEND_NUM_ARGS(), \"r\", +- if (zend_parse_parameters (ZEND_NUM_ARGS() TSRMLS_CC, "r", ++ if (zend_parse_parameters (ZEND_NUM_ARGS(), "r", &z_g) == FAILURE) { RETURN_FALSE; } -@@ -394,7 +397,7 @@ +@@ -391,7 +394,7 @@ PHP_FUNCTION (guestfs_last_error) ) else param_string in @@ -47,3 +48,5 @@ diff -ruN libguestfs/generator/php.ml libguestfs-1.49.5/generator/php.ml param_string; pr " &z_g"; List.iter ( +-- +2.51.0 diff --git a/libguestfs-1.56.2.tar.gz b/libguestfs-1.57.3.tar.gz similarity index 32% rename from libguestfs-1.56.2.tar.gz rename to libguestfs-1.57.3.tar.gz index bb9827f..6eb6ffc 100644 --- a/libguestfs-1.56.2.tar.gz +++ b/libguestfs-1.57.3.tar.gz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:bb44891a795e0b79213cee2c491495a6dd64b21f727445591730d7f78901689a -size 19022635 +oid sha256:b173a17d9ee11b681b6ace526739cbb358f8516168643547044dba5cb6a158f9 +size 19037451 diff --git a/libguestfs.spec b/libguestfs.spec index 7e9fc31..861b035 100644 --- a/libguestfs.spec +++ b/libguestfs.spec @@ -3,13 +3,13 @@ %undefine _strict_symbol_defs_build Name: libguestfs -Version: 1.56.2 +Version: 1.57.3 Release: 1 Epoch: 1 Summary: A set of tools for accessing and modifying virtual machine (VM) disk images License: LGPL-2.1-or-later URL: https://libguestfs.org/ -Source0: https://download.libguestfs.org/1.56-stable/%{name}-%{version}.tar.gz +Source0: https://download.libguestfs.org/1.57-development/%{name}-%{version}.tar.gz Source1: guestfish.sh Source2: yum.conf.in Patch0001: 001-port-to-php-8.0.0.patch @@ -336,6 +336,9 @@ rm -rf ocaml/html/.gitignore %lang(uk) %{_mandir}/uk/man*/* %changelog +* Thu Sep 25 2025 Ge Wang - 1:1.57.3-1 +- Update package to version 1.57.3 + * Sat Aug 16 2025 Funda Wang - 1:1.56.2-1 - update to 1.56.2 -- Gitee