File: work-around-pixel-define.patch

package info (click to toggle)
haskell-gtk 0.14.6-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 3,972 kB
  • ctags: 207
  • sloc: haskell: 3,346; ansic: 827; makefile: 161
file content (17 lines) | stat: -rw-r--r-- 539 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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