Ticket #1143 (closed defect: fixed)

Opened 6 years ago

Last modified 5 years ago

gtk2hs refuses to build with cairo 1.8.0

Reported by: guest Owned by: paolo
Priority: normal Milestone:
Component: Cairo bindings Version: 0.10.0
Keywords: Cc:

Description

After installing version 1.8.0 of cairo, I attempted to rebuild gtk2hs 0.9.12.1. However, I get the following error:

... svgcairo/Graphics/Rendering/Cairo/SVG.chs:196:2:

Couldn't match expected type ()' against inferred type CInt'

Expected type: Render () Inferred type: Render CInt

In the expression:

liftIO

$ (\ (SVG arg1) (Cairo arg2)

-> withForeignPtr arg1

$ \ argPtr1 -> rsvg_handle_render_cairo argPtr1 arg2)

svg cr

In the expression:

do cr <- ask

liftIO

$ (\ (SVG arg1) (Cairo arg2)

-> withForeignPtr arg1

$ \ argPtr1 -> rsvg_handle_render_cairo argPtr1 arg2)

svg cr

make[1]: *** [svgcairo/Graphics/Rendering/Cairo/SVG.o] Error 1

It looks like Cairo has changed one of their return types.

Change History

Changed 5 years ago by axel

  • status changed from new to closed
  • version changed from 0.9.12 to 0.10.0
  • resolution set to fixed

This was fixed a while back.

Changed 5 years ago by Alvaro

<seemant> klieber: pingy <klieber> seemant: she told me she was 18. <spyderous> klieber: how long have you been waiting to use that line? viagra sicuro fioricet online cialis informazioni tramadol com

Note: See TracTickets for help on using tickets.