File: work-around-pixel-define.patch

package info (click to toggle)
haskell-gtk3 0.15.5-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 3,968 kB
  • sloc: haskell: 3,375; ansic: 826; makefile: 160
file content (18 lines) | stat: -rw-r--r-- 506 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Work around predefined "pixel" on some architectures
 "pixel" is predefined on some architectures, confusing gtk2hsC2hs.
 Explicitly undefine it to work around this.
Author: Colin Watson <cjwatson@ubuntu.com>
Forwarded: no
Last-Update: 2014-12-03

--- a/gtk3.cabal
+++ b/gtk3.cabal
@@ -393,6 +393,8 @@
 
         pkgconfig-depends: gthread-2.0, gtk+-3.0
 
+        cpp-options: -Upixel
+
 Executable gtk2hs-demo-actionMenu
     default-language: Haskell98
     hs-source-dirs: demo/actionMenu