[Pkg-haskell-commits] darcs: haskell-gtksourceview2: Workaround unsetting bool to fix ftbfs on ppc64el. Patch by Colin Watson Closes: 767153

Joachim Breitner mail at joachim-breitner.de
Tue Oct 28 22:20:32 UTC 2014


Tue Oct 28 22:16:40 UTC 2014  Joachim Breitner <mail at joachim-breitner.de>
  * Workaround unsetting bool to fix ftbfs on ppc64el. Patch by Colin Watson Closes: 767153

    M ./changelog +5
    A ./patches/
    A ./patches/series
    A ./patches/work-around-bool-define.patch

Tue Oct 28 22:16:40 UTC 2014  Joachim Breitner <mail at joachim-breitner.de>
  * Workaround unsetting bool to fix ftbfs on ppc64el. Patch by Colin Watson Closes: 767153
diff -rN -u old-haskell-gtksourceview2/changelog new-haskell-gtksourceview2/changelog
--- old-haskell-gtksourceview2/changelog	2014-10-28 22:20:32.073969658 +0000
+++ new-haskell-gtksourceview2/changelog	2014-10-28 22:20:32.081969655 +0000
@@ -1,7 +1,12 @@
 haskell-gtksourceview2 (0.12.3.1-4) UNRELEASED; urgency=low
 
+  [ Joachim Breitner ]
   * Adjust watch file to new hackage layout
 
+  [ Fernando Seiti Furusato ]
+  * Workaround unsetting bool to fix ftbfs on ppc64el. Patch by Colin Watson
+    Closes: 767153
+
  -- Joachim Breitner <nomeata at debian.org>  Sat, 05 Oct 2013 18:20:26 +0200
 
 haskell-gtksourceview2 (0.12.3.1-3) unstable; urgency=low
diff -rN -u old-haskell-gtksourceview2/patches/series new-haskell-gtksourceview2/patches/series
--- old-haskell-gtksourceview2/patches/series	1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-gtksourceview2/patches/series	2014-10-28 22:20:32.077969657 +0000
@@ -0,0 +1 @@
+work-around-bool-define.patch
diff -rN -u old-haskell-gtksourceview2/patches/work-around-bool-define.patch new-haskell-gtksourceview2/patches/work-around-bool-define.patch
--- old-haskell-gtksourceview2/patches/work-around-bool-define.patch	1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-gtksourceview2/patches/work-around-bool-define.patch	2014-10-28 22:20:32.077969657 +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 <cjwatson at ubuntu.com>
+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




More information about the Pkg-haskell-commits mailing list