diff options
Diffstat (limited to '019-fix-liblzf-linkage.patch')
-rw-r--r-- | 019-fix-liblzf-linkage.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/019-fix-liblzf-linkage.patch b/019-fix-liblzf-linkage.patch new file mode 100644 index 000000000000..a47997d456d1 --- /dev/null +++ b/019-fix-liblzf-linkage.patch @@ -0,0 +1,13 @@ +Fix compiling with shared liblzf library by not mangling the needed symbols +--- a/src/VBox/Runtime/common/zip/zip.cpp 2022-10-07 01:11:55.000000000 +0800 ++++ b/src/VBox/Runtime/common/zip/zip.cpp 2022-10-19 22:35:37.996450458 +0800 +@@ -61,7 +61,9 @@ + # include <zlib.h> + #endif + #ifdef RTZIP_USE_LZF ++extern "C" { + # include <lzf.h> ++} + # include <iprt/crc.h> + #endif + #ifdef RTZIP_USE_LZJB |