tags 334997 patch
thanks
On Fri, Oct 21, 2005 at 01:47:11PM +0200, Frank Lichtenheld wrote:
> kxmleditor suffers from the usual GCC 4.0 ICE on arm, hppa and m68k.
> Please use gcc-3.4 on these architectures to work around it.
I plan to NMU this during the current BSP with the following patch
unless you have objections:
diff -Naur kxmleditor-1.1.4.bak/debian/changelog
kxmleditor-1.1.4/debian/changelog
--- kxmleditor-1.1.4.bak/debian/changelog 2005-10-28 22:31:30.000000000
+0200
+++ kxmleditor-1.1.4/debian/changelog 2005-10-28 22:32:39.000000000 +0200
@@ -1,3 +1,11 @@
+kxmleditor (1.1.4-2.1) unstable; urgency=medium
+
+ * NMU during BSP
+ * Compile with g++-3.4 on arm/hppa/m68k to work around ICE
+ with g++-4.0 (Closes: #334997)
+
+ -- Frank Lichtenheld <[EMAIL PROTECTED]> Fri, 28 Oct 2005 22:14:21 +0200
+
kxmleditor (1.1.4-2) unstable; urgency=low
* Rebuilt against a kdelibs version compiled with GCC 4 (Closes: #327975).
diff -Naur kxmleditor-1.1.4.bak/debian/control kxmleditor-1.1.4/debian/control
--- kxmleditor-1.1.4.bak/debian/control 2005-10-28 22:31:30.000000000 +0200
+++ kxmleditor-1.1.4/debian/control 2005-10-28 22:32:39.000000000 +0200
@@ -2,7 +2,7 @@
Section: kde
Priority: optional
Maintainer: Alejandro Exojo Piqueras <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>> 4.0.0), kdelibs4-dev, qt3-dev-tools (>> 3.3),
automake1.7, sharutils
+Build-Depends: debhelper (>> 4.0.0), kdelibs4-dev, qt3-dev-tools (>> 3.3),
automake1.7, sharutils, g++-3.4 [arm hppa m68k], dpkg-dev (>= 1.13.2)
Build-Conflicts: autoconf2.13, automake1.4
Standards-Version: 3.6.2
diff -Naur kxmleditor-1.1.4.bak/debian/rules kxmleditor-1.1.4/debian/rules
--- kxmleditor-1.1.4.bak/debian/rules 2005-10-28 22:31:30.000000000 +0200
+++ kxmleditor-1.1.4/debian/rules 2005-10-28 22:33:23.000000000 +0200
@@ -6,6 +6,8 @@
# from having to guess our platform (since we know it already)
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+GCC4_ICES_HERE := arm m68k hppa
+DEB_HOST_ARCH_CPU ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU)
objdir = $(CURDIR)/obj-$(DEB_BUILD_GNU_TYPE)
@@ -17,6 +19,12 @@
configureflags += --enable-final --enable-debug
endif
+ifneq (,$(filter $(DEB_HOST_ARCH_CPU),$(GCC4_ICES_HERE)))
+ export CC=gcc-3.4
+ export CPP=cpp-3.4
+ export CXX=g++-3.4
+endif
+
configure: configure-stamp
configure-stamp:
dh_testdir
Gruesse,
--
Frank Lichtenheld <[EMAIL PROTECTED]>
www: http://www.djpig.de/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]