aboutsummaryrefslogtreecommitdiffstats
path: root/testing/php7-libvirt-php/musl-fixes.patch
diff options
context:
space:
mode:
authorFernando Casas Schössow <casasfernando@outlook.com>2019-02-06 16:35:01 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2019-03-05 11:17:12 +0000
commit0c838a2671c713ef85e2c0d9fc77b2e24fc71598 (patch)
tree0a191ff18d4a194057fa8201922df4d76162782c /testing/php7-libvirt-php/musl-fixes.patch
parentf743e756e448133e70a4a364690b85c5336364f9 (diff)
downloadaports-0c838a2671c713ef85e2c0d9fc77b2e24fc71598.tar.bz2
aports-0c838a2671c713ef85e2c0d9fc77b2e24fc71598.tar.xz
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/
Diffstat (limited to 'testing/php7-libvirt-php/musl-fixes.patch')
-rw-r--r--testing/php7-libvirt-php/musl-fixes.patch16
1 files changed, 16 insertions, 0 deletions
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);
+ }
+