Tags: patch
Attaching the patch...
This patch is already installed in upstream's CVS.
Please apply it to the following Debian unstable packages: alex, happy.
The following Debian unstable package are already patched due to use of
`recent' upstream versions: ghc6, haddock.
--- configure.ac~ 2005-05-11 15:52:26.000000000 +0200
+++ configure.ac 2005-05-11 15:56:51.000000000 +0200
@@ -1584,6 +1584,15 @@
HostVendor_CPP='unknown'
HostOS_CPP='linux'
;;
+i[[3456]]86-*-gnu*)
+ HostPlatform=i386-unknown-gnu
+ TargetPlatform=i386-unknown-gnu
+ BuildPlatform=i386-unknown-gnu
+ HostPlatform_CPP=i386_unknown_gnu
+ HostArch_CPP=i386
+ HostVendor_CPP=unknown
+ HostOS_CPP=gnu
+ ;;
i[[3456]]86-*-freebsd[[3-9]]*) # FreeBSD 3.0+ uses ELF
HostPlatform=i386-unknown-freebsd # hack again
TargetPlatform=i386-unknown-freebsd
--- configure~ 2005-05-11 15:52:26.000000000 +0200
+++ configure 2005-05-11 15:56:51.000000000 +0200
@@ -1584,6 +1584,15 @@
HostVendor_CPP='unknown'
HostOS_CPP='linux'
;;
+i[3456]86-*-gnu*)
+ HostPlatform=i386-unknown-gnu
+ TargetPlatform=i386-unknown-gnu
+ BuildPlatform=i386-unknown-gnu
+ HostPlatform_CPP=i386_unknown_gnu
+ HostArch_CPP=i386
+ HostVendor_CPP=unknown
+ HostOS_CPP=gnu
+ ;;
i[3456]86-*-freebsd[3-9]*) # FreeBSD 3.0+ uses ELF
HostPlatform=i386-unknown-freebsd # hack again
TargetPlatform=i386-unknown-freebsd