Package: aspell
Version: 0.60.5-1
Tags: patch

Hi,

The following patch from Matthias Klose fixes a possible
FTBFS with gcc-4.3, as can be seen at

https://bugs.launchpad.net/ubuntu/+source/aspell/+bug/138557

Please consider applying the patch.

Thanks,

James


--- 0.60.5-1/debian/rules       2007-09-18 20:20:25.000000000 +0100
+++ 0.60.5-1ubuntu1/debian/rules        2007-09-18 19:23:24.000000000 +0100
@@ -10,6 +10,12 @@ DEB_DH_INSTALL_SOURCEDIR := debian/tmp
 DEB_INSTALL_CHANGELOGS_ALL := manual/aspell.html/ChangeLog.html
 DEB_CONFIGURE_EXTRA_FLAGS := --enable-pkgdatadir=/usr/lib/aspell 
--enable-pkglibdir=/usr/lib/aspell
 
+_P=)
+GCC_VERSION := $(shell gcc --version | sed -n "/^gcc/s/^[^$(_P)]*$(_P) 
\(.\..\).*/\1/p")
+ifeq ($(GCC_VERSION),4.3)
+  CXX = g++ -fpermissive
+endif
+
 install/aspell::
        install -m644 debian/aspell.compat debian/aspell/usr/share/aspell/
        install -D -m644 debian/aspell.lintian 
debian/aspell/usr/share/lintian/overrides/aspell







-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to