File: work-around-pixel-define.patch

package info (click to toggle)
haskell-gtk 0.15.5-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 3,964 kB
  • sloc: haskell: 3,346; ansic: 826; makefile: 161
file content (15 lines) | stat: -rw-r--r-- 453 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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

--- a/gtk.cabal
+++ b/gtk.cabal
@@ -409,3 +409,5 @@
           cc-options: -DGTK2HS_SET_FMODE_BINARY
 
         pkgconfig-depends: gthread-2.0, gtk+-2.0
+
+        cpp-options: -Upixel