Hi, I've just uploaded an NMU that fixes this, patch is below.
debdiff m2c_0.6-10.dsc /srv/pbuilder/result/m2c_0.6-10.1.dsc
m2-common.h | 1 -
m2c-0.6/debian/changelog | 8 ++++++++
m2c-0.6/debian/rules | 2 +-
3 files changed, 9 insertions(+), 2 deletions(-)
diff -u m2c-0.6/debian/rules m2c-0.6/debian/rules
--- m2c-0.6/debian/rules
+++ m2c-0.6/debian/rules
@@ -17,7 +17,7 @@
dh_testdir
# Add here commands to compile the package.
- ./configure +cc=gcc `dpkg --print-gnu-build-architecture`
+ ./configure +cc=gcc `dpkg-architecture -qDEB_BUILD_ARCH`
$(MAKE) prefix=/usr libdir=/usr/lib/m2c
cd doc && texi2html modula-2.texinfo
diff -u m2c-0.6/debian/changelog m2c-0.6/debian/changelog
--- m2c-0.6/debian/changelog
+++ m2c-0.6/debian/changelog
@@ -1,3 +1,11 @@
+m2c (0.6-10.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * debian/rules: use dpkg-architecture -qDEB_BUILD_ARCH (Closes: #323728).
+ * m2-common.h: fix FTBFS with gcc-4.0 (Closes: #287628).
+
+ -- Christoph Berg <[EMAIL PROTECTED]> Sun, 4 Dec 2005 00:21:08 +0100
+
m2c (0.6-10) unstable; urgency=low
* Re-uploaded to fix minor typo.
only in patch2:
unchanged:
--- m2c-0.6.orig/m2-common.h
+++ m2c-0.6/m2-common.h
@@ -62,7 +62,6 @@
} semantic_information;
-extern int all_flag;
extern int only_upper_case_flag;
extern int test_flag;
extern int pass_of_picking_used_objects_when_all_flag;
Christoph
--
[EMAIL PROTECTED] | http://www.df7cb.de/
signature.asc
Description: Digital signature

