summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Hommey <mh@glandium.org>2004-07-21 14:38:45 +0000
committerMike Hommey <mh@glandium.org>2004-07-21 14:38:45 +0000
commit0204dd60768b9e9d1351d825135d1f9d7078e239 (patch)
tree9092d9047d1287080a1ea5c03637d111ba4e7a63
parentdd211ebc661d5955852a816aea749fc7ca81c127 (diff)
downloadlibxml2-0204dd60768b9e9d1351d825135d1f9d7078e239.tar.gz
Fix for hppa toolchain bug by Andreas Metzlerdebian/2.6.11-2
-rw-r--r--debian/changelog8
-rw-r--r--debian/control2
-rwxr-xr-xdebian/rules6
3 files changed, 14 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog
index 3de214b..40c48c5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+libxml2 (2.6.11-2) unstable; urgency=medium
+
+ * Thanks to Andreas Metzler:
+ + Hotfix for toolchain breakage (#254549), because libxml2 blocks lots of
+ packages from propagating to testing. Compile with gcc-3.2 on hppa.
+
+ -- Mike Hommey <mh@glandium.org> Wed, 21 Jul 2004 23:37:22 +0900
+
libxml2 (2.6.11-1) unstable; urgency=low
* New upstream release
diff --git a/debian/control b/debian/control
index 39b3cc4..b0be677 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Section: libs
Maintainer: Debian XML/SGML Group <debian-xml-sgml-pkgs@lists.alioth.debian.org>
Uploaders: Mike Hommey <mh@glandium.org>
Standards-Version: 3.6.1
-Build-Depends: debhelper (>= 4.0.0), zlib1g-dev | libz-dev, python2.3-dev, autotools-dev
+Build-Depends: debhelper (>= 4.0.0), zlib1g-dev | libz-dev, python2.3-dev, autotools-dev, gcc-3.2[hppa]
Package: libxml2
Architecture: any
diff --git a/debian/rules b/debian/rules
index 168c9ff..04dbc7f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,11 +11,15 @@ else
CFLAGS += -O2
endif
+ifeq (hppa,$(shell dpkg --print-architecture))
+ FORCEGCC := CC=gcc-3.2
+endif
+
build: build-stamp
build-stamp:
dh_testdir
- CFLAGS="$(CFLAGS)" ./configure --prefix=/usr --with-python=/usr/bin/python2.3
+ $(FORCEGCC) CFLAGS="$(CFLAGS)" ./configure --prefix=/usr --with-python=/usr/bin/python2.3
echo "all:" > example/Makefile
echo "install:" >> example/Makefile
echo "distclean:" >> example/Makefile