summaryrefslogtreecommitdiff
path: root/app-crypt/md5deep/files/md5deep-4.4-pointer-comparison.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-08-07 00:16:33 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-08-07 00:16:33 +0100
commitd162ba1860a88062f4cd61f8b52fc303ba0b2991 (patch)
tree24cd2cf57f3932a24b96e4a0f6666489447e43ba /app-crypt/md5deep/files/md5deep-4.4-pointer-comparison.patch
parent590b9b7b03bf4651e099949e318755af7cfa81b8 (diff)
gentoo resync : 07.08.2021
Diffstat (limited to 'app-crypt/md5deep/files/md5deep-4.4-pointer-comparison.patch')
-rw-r--r--app-crypt/md5deep/files/md5deep-4.4-pointer-comparison.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/app-crypt/md5deep/files/md5deep-4.4-pointer-comparison.patch b/app-crypt/md5deep/files/md5deep-4.4-pointer-comparison.patch
new file mode 100644
index 000000000000..dbd6e74519d6
--- /dev/null
+++ b/app-crypt/md5deep/files/md5deep-4.4-pointer-comparison.patch
@@ -0,0 +1,11 @@
+--- a/src/hash.cpp
++++ b/src/hash.cpp
+@@ -279,7 +279,7 @@
+ MAP_FILE|
+ #endif
+ MAP_SHARED,fd,0);
+- if(fdht->base>0){
++ if(fdht->base){
+ /* mmap is successful, so set the bounds.
+ * if it is not successful, we default to reading the fd
+ */