summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--p/haskell-gtksourceview2/debian/changelog5
-rw-r--r--p/haskell-gtksourceview2/debian/patches/series1
-rw-r--r--p/haskell-gtksourceview2/debian/patches/work-around-bool-define.patch16
3 files changed, 22 insertions, 0 deletions
diff --git a/p/haskell-gtksourceview2/debian/changelog b/p/haskell-gtksourceview2/debian/changelog
index 5f9c90e20..46e916dc3 100644
--- a/p/haskell-gtksourceview2/debian/changelog
+++ b/p/haskell-gtksourceview2/debian/changelog
@@ -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@debian.org> Sat, 05 Oct 2013 18:20:26 +0200
haskell-gtksourceview2 (0.12.3.1-3) unstable; urgency=low
diff --git a/p/haskell-gtksourceview2/debian/patches/series b/p/haskell-gtksourceview2/debian/patches/series
new file mode 100644
index 000000000..492ed96a2
--- /dev/null
+++ b/p/haskell-gtksourceview2/debian/patches/series
@@ -0,0 +1 @@
+work-around-bool-define.patch
diff --git a/p/haskell-gtksourceview2/debian/patches/work-around-bool-define.patch b/p/haskell-gtksourceview2/debian/patches/work-around-bool-define.patch
new file mode 100644
index 000000000..7451a627a
--- /dev/null
+++ b/p/haskell-gtksourceview2/debian/patches/work-around-bool-define.patch
@@ -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@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