diff options
Diffstat (limited to 'app-arch/lrzip/files')
-rw-r--r-- | app-arch/lrzip/files/lrzip-0.631-solaris.patch | 11 | ||||
-rw-r--r-- | app-arch/lrzip/files/lrzip-missing-stdarg_h.patch | 11 |
2 files changed, 22 insertions, 0 deletions
diff --git a/app-arch/lrzip/files/lrzip-0.631-solaris.patch b/app-arch/lrzip/files/lrzip-0.631-solaris.patch new file mode 100644 index 000000000000..d8eb95e563d2 --- /dev/null +++ b/app-arch/lrzip/files/lrzip-0.631-solaris.patch @@ -0,0 +1,11 @@ +--- a/liblrzip.c ++++ b/liblrzip.c +@@ -36,7 +36,7 @@ + #include "lrzip_core.h" + #include "rzip.h" + +-#if defined(__APPLE__) || defined(__FreeBSD__) ++#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__sun) || defined(sun) + # define fmemopen(s, len, modes) fake_fmemopen((s), (len), (modes)) + static FILE *fake_fmemopen(void *buf, size_t buflen, const char *mode) + { diff --git a/app-arch/lrzip/files/lrzip-missing-stdarg_h.patch b/app-arch/lrzip/files/lrzip-missing-stdarg_h.patch new file mode 100644 index 000000000000..8f427d46a6a1 --- /dev/null +++ b/app-arch/lrzip/files/lrzip-missing-stdarg_h.patch @@ -0,0 +1,11 @@ +diff -Naur Lrzip.h.orig Lrzip.h +--- a/Lrzip.h 2013-11-30 20:07:27.343086997 +0000 ++++ b/Lrzip.h 2013-11-30 20:07:44.072641056 +0000 +@@ -22,6 +22,7 @@ + + #include <stdbool.h> + #include <stdio.h> ++#include <stdarg.h> + #ifdef _WIN32 + # include <stddef.h> + #else |