From a9468e011e1408e6f41c2626c4bafd7fdd0b4112 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 27 Mar 2008 20:46:53 +0000 Subject: fix gcc 4.3 compilation error (Closes: #472812) --- debian/patches/00list | 1 + debian/patches/large-integer-gcc43.dpatch | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 debian/patches/00list create mode 100644 debian/patches/large-integer-gcc43.dpatch (limited to 'debian/patches') 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"} + }; + -- cgit v1.2.3