From 0c838a2671c713ef85e2c0d9fc77b2e24fc71598 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20Casas=20Sch=C3=B6ssow?= Date: Wed, 6 Feb 2019 16:35:01 +0000 Subject: testing/php7-libvirt-php: new aport https://libvirt.org/php/ PHP language bindings for Libvirt API. For more details see: http://www.libvirt.org/php/ --- testing/php7-libvirt-php/musl-fixes.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 testing/php7-libvirt-php/musl-fixes.patch (limited to 'testing/php7-libvirt-php/musl-fixes.patch') diff --git a/testing/php7-libvirt-php/musl-fixes.patch b/testing/php7-libvirt-php/musl-fixes.patch new file mode 100644 index 0000000000..92388095b4 --- /dev/null +++ b/testing/php7-libvirt-php/musl-fixes.patch @@ -0,0 +1,16 @@ +diff --git a/tools/generate-api-docs.c b/tools/generate-api-docs.c +index 3b88f16..12c0283 100644 +--- a/tools/generate-api-docs.c ++++ b/tools/generate-api-docs.c +@@ -129,7 +129,9 @@ void free_functions(int function_number) + free(functions[i].args[j]); + free(functions[i].name); + free(functions[i].desc); +- free(functions[i].returns); ++ //Commenting the line below as when compiled with musl libc it is creating a SIGSEGV ++ //Moreover this program is only used to create libvirt-php html documentation at compile time ++ //free(functions[i].returns); + } + free(functions); + } + -- cgit v1.2.3