File: work-around-pixel-define.patch

package info (click to toggle)
haskell-gtk3 0.14.9-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 3,968 kB
  • sloc: haskell: 3,375; ansic: 827; makefile: 160
file content (20 lines) | stat: -rw-r--r-- 704 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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

Index: haskell-gtk3/gtk3.cabal
===================================================================
--- haskell-gtk3.orig/gtk3.cabal	2015-08-15 14:35:59.670399380 +0200
+++ haskell-gtk3/gtk3.cabal	2015-08-15 14:35:59.666399298 +0200
@@ -385,6 +385,8 @@
 
         pkgconfig-depends: gthread-2.0, gtk+-3.0
 
+        cpp-options: -Upixel
+
 Executable gtk2hs-demo-actionMenu
     default-language: Haskell98
     hs-source-dirs: demo/actionMenu