Package: jade Version: 1.2.1-29.2 (not installed) Followup-For: Bug #187667
Below is a patch for jade to use gcc-2.95 and g++-2.95 on m68k which makes it functional again. I build, installed and tested it on newts tutorial.sgml. The woody version works, the sid version fails. The woody version compiled under sid fails. The sid version under woody works. Compiling with 3.2 with optimisation fails. Compiling with 3.2 without optimisation fails. Compiling with 2.95 with optimisation work. So I changed jade to build-depend on gcc-2.95 and g++-2.95 on m68k and force their usage on m68k. MfG Goswin -- System Information: Debian Release: testing/unstable Architecture: i386 Kernel: Linux dual 2.4.20-ac2-dual #1 SMP Tue Apr 15 15:36:20 CEST 2003 i686 Locale: LANG=C, LC_CTYPE=de_DE
diff -Nurd jade-1.2.1-29.2/debian/changelog jade-1.2.1-29.2.0/debian/changelog --- jade-1.2.1-29.2/debian/changelog 2003-05-06 00:40:18.000000000 +0000 +++ jade-1.2.1-29.2.0/debian/changelog 2003-05-06 00:43:33.000000000 +0000 @@ -1,3 +1,9 @@ +jade (1.2.1-29.2.0) unstable; urgency=low + + * fallback to gcc-2.95/g++-2.95 but just for m68k + + -- Goswin von Brederlow <[EMAIL PROTECTED]> Tue, 06 May 2003 02:43:18 +0200 + jade (1.2.1-29.2) unstable; urgency=low * NMU diff -Nurd jade-1.2.1-29.2/debian/control jade-1.2.1-29.2.0/debian/control --- jade-1.2.1-29.2/debian/control 2003-05-06 00:40:18.000000000 +0000 +++ jade-1.2.1-29.2.0/debian/control 2003-05-06 00:42:18.000000000 +0000 @@ -3,7 +3,7 @@ Priority: optional Maintainer: Debian QA Group <[EMAIL PROTECTED]> Standards-Version: 3.5.6 -Build-Depends: libtool, debhelper (>= 3.0), sgml-data (>= 1.3), automake, gettext +Build-Depends: libtool, debhelper (>= 3.0), sgml-data (>= 1.3), automake, gettext, gcc-2.95 [m68k], g++-2.95 [m68k] Package: sp Architecture: any diff -Nurd jade-1.2.1-29.2/debian/rules jade-1.2.1-29.2.0/debian/rules --- jade-1.2.1-29.2/debian/rules 2003-05-06 00:40:18.000000000 +0000 +++ jade-1.2.1-29.2.0/debian/rules 2003-05-06 00:42:18.000000000 +0000 @@ -73,8 +73,9 @@ CFLAGS := -O2 -pipe CXXFLAGS := -pipe -D_REENTRANT +COMPILER := -# work around broken C++ compiler on Alpha +# work around broken C++ compiler on Alpha, hppa and m68k DEB_BUILD_ARCH := $(shell dpkg-architecture -qDEB_BUILD_ARCH) ifneq ($(DEB_BUILD_ARCH),alpha) CXXFLAGS += -O2 @@ -83,6 +84,11 @@ CFLAGS := -pipe CXXFLAGS := -pipe -D_REENTRANT endif +ifeq ($(DEB_BUILD_ARCH),m68k) + COMPILER := CC="gcc-2.95" CXX="g++-2.95" +# CFLAGS := -pipe +# CXXFLAGS := -pipe -D_REENTRANT +endif # policy recommendations for building with debug ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) @@ -98,7 +104,7 @@ @echo upstream version is $(UPSTREAM_VERSION) config.status: - CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" \ + CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" $(COMPILER) \ ./configure --prefix=/usr --enable-html \ --enable-http --enable-static --enable-shared --enable-mif \ --enable-default-catalog=$(default-catalogs) \