diff options
Diffstat (limited to 'testing/php7-libvirt-php/musl-fixes.patch')
-rw-r--r-- | testing/php7-libvirt-php/musl-fixes.patch | 16 |
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); + } + |