summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/00list1
-rw-r--r--debian/patches/large-integer-gcc43.dpatch15
2 files changed, 16 insertions, 0 deletions
diff --git a/debian/patches/00list b/debian/patches/00list
new file mode 100644
index 0000000..066f397
--- /dev/null
+++ b/debian/patches/00list
@@ -0,0 +1 @@
+large-integer-gcc43.dpatch
diff --git a/debian/patches/large-integer-gcc43.dpatch b/debian/patches/large-integer-gcc43.dpatch
new file mode 100644
index 0000000..3aec6d7
--- /dev/null
+++ b/debian/patches/large-integer-gcc43.dpatch
@@ -0,0 +1,15 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## DP: Fix Debian bug #472812: "conntrack.c:302: error: large integer
+## DP: implicitly truncated to unsigned type"
+
+--- conntrack/src/conntrack.c
++++ conntrack/src/conntrack.c
+@@ -299,7 +299,7 @@
+ { CT_CREATE, ETIME, "conntrack has expired" },
+ { EXP_CREATE, ENOENT, "master conntrack not found" },
+ { EXP_CREATE, EINVAL, "invalid parameters" },
+- { ~0UL, EPERM, "sorry, you must be root or get "
++ { ~0U, EPERM, "sorry, you must be root or get "
+ "CAP_NET_ADMIN capability to do this"}
+ };
+