diff options
Diffstat (limited to 'app-arch/lrzip/files/lrzip-0.631-solaris.patch')
-rw-r--r-- | app-arch/lrzip/files/lrzip-0.631-solaris.patch | 11 |
1 files changed, 11 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) + { |