summaryrefslogtreecommitdiffstats
path: root/main/nfdump/fix-64bit-fts-compat.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2014-11-18 12:52:54 +0200
committerTimo Teräs <timo.teras@iki.fi>2014-11-18 12:52:54 +0200
commitcfb7e5f09391c4deb56e6161f2730da3235821a8 (patch)
tree73e35b0a93fafd221f0a6fe41e632455f82e8951 /main/nfdump/fix-64bit-fts-compat.patch
parentd5da42151019d60ba291d074bb9679eb43fd88d5 (diff)
downloadaports-cfb7e5f09391c4deb56e6161f2730da3235821a8.tar.bz2
aports-cfb7e5f09391c4deb56e6161f2730da3235821a8.tar.xz
main/nfdump: fix 64-bit musl build (fts compat code)
Diffstat (limited to 'main/nfdump/fix-64bit-fts-compat.patch')
-rw-r--r--main/nfdump/fix-64bit-fts-compat.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/main/nfdump/fix-64bit-fts-compat.patch b/main/nfdump/fix-64bit-fts-compat.patch
new file mode 100644
index 000000000..54afdb17f
--- /dev/null
+++ b/main/nfdump/fix-64bit-fts-compat.patch
@@ -0,0 +1,12 @@
+diff -ru nfdump-1.6.9.orig/bin/fts_compat.c nfdump-1.6.9/bin/fts_compat.c
+--- nfdump-1.6.9.orig/bin/fts_compat.c 2014-11-18 11:55:29.794283835 -0200
++++ nfdump-1.6.9/bin/fts_compat.c 2011-12-29 17:11:27.000000000 -0200
+@@ -949,7 +949,7 @@
+ #endif
+
+ #ifndef ALIGN
+-#define ALIGN(p) (((u_int)(p) + ALIGNBYTES) &~ ALIGNBYTES)
++#define ALIGN(p) (((u_long)(p) + ALIGNBYTES) &~ ALIGNBYTES)
+ #endif
+
+ size_t len;