1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-13 19:29:53 +03:00
aports/testing/php7-libvirt-php/musl-fixes.patch
Fernando Casas Schössow 0c838a2671 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/
2019-03-05 11:17:12 +00:00

16 lines
623 B
Diff

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);
}