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/rules | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'debian/rules') 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 -- cgit v1.2.3