summaryrefslogtreecommitdiff
path: root/debian/rules
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/rules
parent8b5174adce0df99634562d5001eea40aca9b7a42 (diff)
downloadconntrack-tools-a9468e011e1408e6f41c2626c4bafd7fdd0b4112.tar.gz
conntrack-tools-a9468e011e1408e6f41c2626c4bafd7fdd0b4112.zip
fix gcc 4.3 compilation error (Closes: #472812)
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules10
1 files changed, 8 insertions, 2 deletions
diff --git a/debian/rules b/debian/rules
index d226e6b..ee6b40a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,8 +15,14 @@ else
CFLAGS += -O2 -fno-strict-aliasing
endif
+# fix "read_config_lex.c:4451: error: 'input' defined but not used"
+CFLAGS += -DYY_NO_INPUT
+
+DPATCH_STAMPFN = debian/stamp-patch
+include /usr/share/dpatch/dpatch.make
+
build: build-stamp
-build-stamp:
+build-stamp: patch
dh_testdir
# ./configure
@@ -29,7 +35,7 @@ build-stamp:
touch build-stamp
-clean:
+clean: unpatch
dh_testdir
dh_testroot
rm -f build-stamp install*-stamp