summarylogtreecommitdiffstats
path: root/fix-64-bit-segfault.patch
diff options
context:
space:
mode:
authorFrançois Guerraz2018-10-18 09:22:36 +0100
committerFrançois Guerraz2018-10-18 09:22:36 +0100
commit529fb6d6f22f3dd7a69758094586640d4b5c45ba (patch)
tree43b9b86e86a12d625e8552d1820855d17c7f0c8f /fix-64-bit-segfault.patch
parente7f8a3c572d892196a8f6678ea50844e3870ad15 (diff)
downloadaur-529fb6d6f22f3dd7a69758094586640d4b5c45ba.tar.gz
Fix 64bit build
Diffstat (limited to 'fix-64-bit-segfault.patch')
-rw-r--r--fix-64-bit-segfault.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/fix-64-bit-segfault.patch b/fix-64-bit-segfault.patch
new file mode 100644
index 000000000000..6b9e6e4a007c
--- /dev/null
+++ b/fix-64-bit-segfault.patch
@@ -0,0 +1,13 @@
+Fixes the issue that happens on 64 bit sytems, ref:
+https://groups.yahoo.com/neo/groups/doris_users/conversations/topics/4248
+--- a/src/snaphu_io.c 2003-02-23 08:13:46.000000000 +0000
++++ b/src/snaphu_io.c 2018-10-18 09:08:59.423398983 +0100
+@@ -22,7 +22,7 @@
+ #include <sys/stat.h>
+ #include <sys/types.h>
+ #include <sys/wait.h>
+-#include <sys/time.h>
++#include <time.h>
+ #include <sys/resource.h>
+
+ #include "snaphu.h"