summaryrefslogtreecommitdiff
path: root/archivers/lrzip/patches/patch-rzip.c
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/lrzip/patches/patch-rzip.c')
-rw-r--r--archivers/lrzip/patches/patch-rzip.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/archivers/lrzip/patches/patch-rzip.c b/archivers/lrzip/patches/patch-rzip.c
deleted file mode 100644
index 1b57f6b0a09..00000000000
--- a/archivers/lrzip/patches/patch-rzip.c
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD: patch-rzip.c,v 1.1 2015/06/08 14:58:09 wiedi Exp $
-
-Use same platform check as in lrzip_private.h file. The fake_mremap is required
-on all platforms that are not linux.
-
---- rzip.c.orig 2015-03-10 10:13:22.000000000 +0000
-+++ rzip.c
-@@ -772,7 +772,7 @@ static inline void init_hash_indexes(str
- st->hash_index[i] = ((random() << 16) ^ random());
- }
-
--#if defined(__APPLE__) || defined(__FreeBSD__)
-+#if !defined(__linux)
- # define mremap fake_mremap
-
- static inline void *fake_mremap(void *old_address, size_t old_size, size_t new_size, int flags __UNUSED__)