Opened 3 years ago

Closed 3 years ago

#64685 closed defect (fixed)

imlib2 @1.8.0 does not build on PPC Leopard, Mac OS X 10.5.8, because error: ‘RSVG_UNIT_PERCENT’ undeclared

Reported by: ballapete (Peter "Pete" Dyballa) Owned by: evanmiller (Evan Miller)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: leopard Cc:
Port: imlib2

Description

loader_svg.c: In function ‘u2pix’:
loader_svg.c:17: error: ‘RSVG_UNIT_PERCENT’ undeclared (first use in this function)
loader_svg.c:17: error: (Each undeclared identifier is reported only once
loader_svg.c:17: error: for each function it appears in.)
loader_svg.c:18: error: ‘RSVG_UNIT_PX’ undeclared (first use in this function)
loader_svg.c:19: error: ‘RSVG_UNIT_EM’ undeclared (first use in this function)
loader_svg.c:20: error: ‘RSVG_UNIT_EX’ undeclared (first use in this function)
loader_svg.c:22: error: ‘RSVG_UNIT_IN’ undeclared (first use in this function)
loader_svg.c:24: error: ‘RSVG_UNIT_CM’ undeclared (first use in this function)
loader_svg.c:26: error: ‘RSVG_UNIT_MM’ undeclared (first use in this function)
loader_svg.c:28: error: ‘RSVG_UNIT_PT’ undeclared (first use in this function)
loader_svg.c:30: error: ‘RSVG_UNIT_PC’ undeclared (first use in this function)
loader_svg.c: In function ‘load2’:
loader_svg.c:52: error: ‘RsvgRectangle’ undeclared (first use in this function)
loader_svg.c:52: error: expected ‘;’ before ‘cvb’
loader_svg.c:72: error: ‘RsvgLength’ undeclared (first use in this function)
loader_svg.c:72: error: expected ‘;’ before ‘out_width’
loader_svg.c:73: error: expected ‘;’ before ‘out_viewbox’
loader_svg.c:74: warning: implicit declaration of function ‘rsvg_handle_get_intrinsic_dimensions’
loader_svg.c:76: error: ‘out_width’ undeclared (first use in this function)
loader_svg.c:78: error: ‘out_height’ undeclared (first use in this function)
loader_svg.c:79: error: ‘out_viewbox’ undeclared (first use in this function)
loader_svg.c:130: error: expected ‘;’ before ‘out_ink_rect’
loader_svg.c:132: warning: implicit declaration of function ‘rsvg_handle_get_geometry_for_element’
loader_svg.c:133: error: ‘out_ink_rect’ undeclared (first use in this function)
loader_svg.c:134: error: ‘out_logical_rect’ undeclared (first use in this function)
loader_svg.c:178: error: ‘cvb’ undeclared (first use in this function)
loader_svg.c:181: warning: implicit declaration of function ‘rsvg_handle_render_document’
make[4]: *** [svg_la-loader_svg.lo] Error 1
make[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_imlib2/imlib2/work/imlib2-1.8.0/src/modules/loaders'

Attachments (1)

main.log (59.1 KB) - added by ballapete (Peter "Pete" Dyballa) 3 years ago.
Main.log from PPC Leopard

Download all attachments as: .zip

Change History (3)

Changed 3 years ago by ballapete (Peter "Pete" Dyballa)

Attachment: main.log added

Main.log from PPC Leopard

comment:1 Changed 3 years ago by evanmiller (Evan Miller)

comment:2 Changed 3 years ago by evanmiller (Evan Miller)

Owner: set to evanmiller
Resolution: fixed
Status: newclosed

In 053ca67911ef0556cd1fe54063fde2b9f429afd5/macports-ports (master):

imlib2: disable SVG support on 10.6 and earlier

Closes: #64685

Note: See TracTickets for help on using tickets.