ghc-gtk/gtk-Debian-ppc64-work-around-pixel-define.patch
Jens Petersen b966e9d798 Debian patch for ppc64 pixel (#1291500)
thanks Yaakov Selkowitz
2016-06-23 10:54:56 +09:00

18 lines
539 B
Diff

Description: Work around predefined "pixel" on some architectures
"pixel" is predefined on some Ubuntu architectures, confusing gtk2hsC2hs.
Explicitly undefine it to work around this.
Author: Colin Watson <cjwatson@ubuntu.com>
Forwarded: no
Last-Update: 2014-06-05
Index: b/gtk.cabal
===================================================================
--- a/gtk.cabal
+++ b/gtk.cabal
@@ -399,3 +399,5 @@
cc-options: -DGTK2HS_SET_FMODE_BINARY
pkgconfig-depends: gthread-2.0, gtk+-2.0
+
+ cpp-options: -Upixel