diff options
Diffstat (limited to 'dev-haskell/cairo/files/cairo-0.12.3-fixincl.patch')
-rw-r--r-- | dev-haskell/cairo/files/cairo-0.12.3-fixincl.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/dev-haskell/cairo/files/cairo-0.12.3-fixincl.patch b/dev-haskell/cairo/files/cairo-0.12.3-fixincl.patch new file mode 100644 index 000000000000..1b531a1932ea --- /dev/null +++ b/dev-haskell/cairo/files/cairo-0.12.3-fixincl.patch @@ -0,0 +1,19 @@ +Fix include path on cabal-1.14 + +Building cairo-0.12.3... +Preprocessing library cairo-0.12.3... +dist/build/Graphics/Rendering/Cairo/Matrix.h:1:26: fatal error: cairo-gtk2hs.h: No such file or directory +compilation terminated. +gtk2hsC2hs: Error during preprocessing custom header file +diff --git a/cairo.cabal b/cairo.cabal +index af7cee9..62fe84b 100644 +--- a/cairo.cabal ++++ b/cairo.cabal +@@ -69,6 +69,7 @@ Library + Graphics.Rendering.Cairo.Internal.Surfaces.PS + Graphics.Rendering.Cairo.Internal.Surfaces.SVG + extensions: ForeignFunctionInterface ++ Include-dirs: . + x-c2hs-Header: cairo-gtk2hs.h + pkgconfig-depends: cairo >= 1.2.0 + if flag(cairo_pdf) |