Opened 13 years ago
Last modified 13 years ago
#99 new defect
Fails to build with Ruby 1.9.3
Reported by: | bkabrda | Owned by: | Pascal Terjan |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | bindings: Ruby | Version: | 0.99.beta16 |
Keywords: | Cc: | ||
Product: | libcaca |
Description
Hi, I'm trying to build libcaca with Ruby 1.9.3 and I get following errors:
caca-dither.c: In function 'set_dither_palette': caca-dither.c:51:35: error: 'struct RArray' has no member named 'len' caca-dither.c:87:75: error: 'struct RArray' has no member named 'len' make[2]: * [caca_la-caca-dither.lo] Error 1 make[2]: * Waiting for unfinished jobs.... caca-canvas.c: In function 'draw_polyline': caca-canvas.c:277:35: error: 'struct RArray' has no member named 'len' caca-canvas.c:293:75: error: 'struct RArray' has no member named 'len' caca-canvas.c: In function 'draw_thin_polyline': caca-canvas.c:339:35: error: 'struct RArray' has no member named 'len' caca-canvas.c:355:75: error: 'struct RArray' has no member named 'len' caca-canvas.c: In function 'fill_triangle_textured': caca-canvas.c:462:35: error: 'struct RArray' has no member named 'len' caca-canvas.c:474:79: error: 'struct RArray' has no member named 'len' caca-canvas.c:481:31: error: 'struct RArray' has no member named 'len' caca-canvas.c:493:79: error: 'struct RArray' has no member named 'len' caca-canvas.c: In function 'import_from_memory': caca-canvas.c:603:155: error: 'struct RString' has no member named 'len' caca-canvas.c: In function 'import_area_from_memory': caca-canvas.c:613:459: error: 'struct RString' has no member named 'len' make[2]: * [caca_la-caca-canvas.lo] Error 1
Are you planning to support Ruby 1.9.3 as well?
Thank you! Bohuslav Kabrda.
Attachments (1)
Change History (2)
Changed 13 years ago by
Attachment: | libcaca-ruby-1.9.patch added |
---|
Hi, the attached patch fixes the issue.