summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-03-27 20:46:53 +0000
committerMax Kellermann <max@duempel.org>2008-03-27 20:46:53 +0000
commita9468e011e1408e6f41c2626c4bafd7fdd0b4112 (patch)
tree26d8db04de3b6b2ff289c474a628f3d42f5f91b0 /debian/patches
parent8b5174adce0df99634562d5001eea40aca9b7a42 (diff)
downloadconntrack-tools-a9468e011e1408e6f41c2626c4bafd7fdd0b4112.tar.gz
conntrack-tools-a9468e011e1408e6f41c2626c4bafd7fdd0b4112.zip
fix gcc 4.3 compilation error (Closes: #472812)
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"}
+ };
+