Source: haskell-gtksourceview2 Severity: normal Tags: patch User: [email protected]
Dear Maintainer, The package haskell-gtksourceview2 fails to build from source on ppc64el. Please consider the patch attached, by Colin Watson. I gathered it from Ubuntu and it works for Debian as well so the package builds successfully. Thanks! Fernando -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: ppc64el (ppc64le) Kernel: Linux 3.16-trunk-powerpc64le (SMP w/32 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash
diff -Nru haskell-gtksourceview2-0.12.3.1/debian/changelog haskell-gtksourceview2-0.12.3.1/debian/changelog --- haskell-gtksourceview2-0.12.3.1/debian/changelog 2013-05-25 21:52:19.000000000 +0000 +++ haskell-gtksourceview2-0.12.3.1/debian/changelog 2014-10-28 18:57:49.000000000 +0000 @@ -1,3 +1,9 @@ +haskell-gtksourceview2 (0.12.3.1-3ppc64el1) UNRELEASED; urgency=medium + + * Workaround unsetting bool to fix ftbfs on ppc64el. Patch by Colin Watson <[email protected]> + + -- Fernando Seiti Furusato <[email protected]> Tue, 28 Oct 2014 18:57:08 +0000 + haskell-gtksourceview2 (0.12.3.1-3) unstable; urgency=low * Move Haskell blurb to the end of the description, reduces the impact diff -Nru haskell-gtksourceview2-0.12.3.1/debian/patches/series haskell-gtksourceview2-0.12.3.1/debian/patches/series --- haskell-gtksourceview2-0.12.3.1/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ haskell-gtksourceview2-0.12.3.1/debian/patches/series 2014-10-28 18:56:13.000000000 +0000 @@ -0,0 +1 @@ +work-around-bool-define.patch diff -Nru haskell-gtksourceview2-0.12.3.1/debian/patches/work-around-bool-define.patch haskell-gtksourceview2-0.12.3.1/debian/patches/work-around-bool-define.patch --- haskell-gtksourceview2-0.12.3.1/debian/patches/work-around-bool-define.patch 1970-01-01 00:00:00.000000000 +0000 +++ haskell-gtksourceview2-0.12.3.1/debian/patches/work-around-bool-define.patch 2014-10-28 18:56:55.000000000 +0000 @@ -0,0 +1,16 @@ +Description: Work around predefined "bool" on some architectures + "bool" is predefined on some Debian/Ubuntu architectures, confusing gtk2hsC2hs. + Explicitly undefine it to work around this. +Author: Colin Watson <[email protected]> +Forwarded: no + +Index: haskell-gtksourceview2-0.12.3.1/gtksourceview2.cabal +=================================================================== +--- haskell-gtksourceview2-0.12.3.1.orig/gtksourceview2.cabal ++++ haskell-gtksourceview2-0.12.3.1/gtksourceview2.cabal +@@ -81,3 +81,5 @@ Library + include-dirs: . + x-c2hs-Header: gtksourceview2.h + pkgconfig-depends: gtksourceview-2.0 >= 2.0.2 ++ ++ cpp-options: -Ubool

