diff options
author | Remi Collet <remi@remirepo.net> | 2022-12-08 08:17:48 +0100 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2022-12-08 08:17:48 +0100 |
commit | 5387c6cd0fe96cb4e9589b6675a10b41446e2ba0 (patch) | |
tree | 74f5d0fd791d13c0a9ffd99004a422c854bfc1d9 /libvirt-php5.patch | |
parent | 439692065f0c8ba8d59c45b687513a47cfa775f4 (diff) |
Upgrade to 0.5.7
raise dependency on PHP 7.0
Diffstat (limited to 'libvirt-php5.patch')
-rw-r--r-- | libvirt-php5.patch | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/libvirt-php5.patch b/libvirt-php5.patch deleted file mode 100644 index 43e718a..0000000 --- a/libvirt-php5.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 1f7882e3476699ed0296095edadd1ed63b0c14b6 Mon Sep 17 00:00:00 2001 -From: Remi Collet <remi@remirepo.net> -Date: Wed, 15 Jun 2022 17:09:04 +0200 -Subject: [PATCH] missing macro for PHP 5.x - ---- - src/util.h | 6 ++++++ - 1 file changed, 6 insertions(+) - -diff --git a/src/util.h b/src/util.h -index 237ff43..2261682 100644 ---- a/src/util.h -+++ b/src/util.h -@@ -215,6 +215,12 @@ - # define VIRT_ADD_ASSOC_STRING(_arg, _key, _str) \ - add_assoc_string(_arg, _key, _str, 1) - -+# define VIRT_ADD_ASSOC_STRING_WITH_NULL_POINTER_CHECK(_arg, _key, _str) \ -+ if ((_str)) { \ -+ add_assoc_string(_arg, _key, _str, 1); \ -+ } else { \ -+ add_assoc_null(_arg, _key); \ -+ } - # define VIRT_ADD_ASSOC_STRING_EX(_arg, _key, _key_len, _value) \ - add_assoc_string_ex(_arg, _key, _key_len, _value, 1) - --- -2.35.3 - |