summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog1
-rw-r--r--debian/patches/00list1
-rw-r--r--debian/patches/unused-input-gcc43.dpatch14
3 files changed, 16 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index b325299..24cac0c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ conntrack (1:0.9.6-3) UNRELEASED; urgency=low
* fix gcc 4.3 compilation errors:
- "large integer implicitly truncated to unsigned type" (Closes: #472812)
+ - "'input' defined but not used" (Closes: #474768)
-- Max Kellermann <max@duempel.org> Mon, 24 Mar 2008 13:09:23 +0100
diff --git a/debian/patches/00list b/debian/patches/00list
index 066f397..6fc810f 100644
--- a/debian/patches/00list
+++ b/debian/patches/00list
@@ -1 +1,2 @@
large-integer-gcc43.dpatch
+unused-input-gcc43.dpatch
diff --git a/debian/patches/unused-input-gcc43.dpatch b/debian/patches/unused-input-gcc43.dpatch
new file mode 100644
index 0000000..66994d8
--- /dev/null
+++ b/debian/patches/unused-input-gcc43.dpatch
@@ -0,0 +1,14 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## DP: Fix Debian bug #474768: "read_config_lex.c:4451: error: 'input'
+## DP: defined but not used" (patch by Thiemo Seufer)
+
+--- conntrack-0.9.6.original/src/read_config_lex.l 2008-03-08 11:25:30.000000000 +0000
++++ conntrack-0.9.6/src/read_config_lex.l 2008-04-07 17:47:53.000000000 +0100
+@@ -23,6 +23,7 @@
+ %}
+
+ %option yylineno
++%option noinput
+ %option nounput
+
+ ws [ \t]+