pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/43969: graphics/cairo does not build on netbsd-4

The following reply was made to PR pkg/43969; it has been noted by GNATS.

From: Izumi Tsutsui <>
Subject: Re: pkg/43969: graphics/cairo does not build on netbsd-4
Date: Mon, 6 Dec 2010 01:21:51 +0900

 graphics/cairo also fails on netbsd-5 ports using XFree86.
 > cairo-xlib-surface.c:2133: error: 'XLinearGradient' undeclared (first use in 
 > this function)
 XLinearGradient declaration in cairo is wrapped with the following ifdef:
 On netbsd-5 Xorg ports, RENDER_MINOR is 10 in
 and "XLinearGradient" is defined in
 xsrc/external/mit/libXrender/dist/include/X11/extensions/Xrender.h .
 But pkgsrc Xrender-0.9.0nb2 and renderproto-0.11,
 RENDER_MINOR is 11 (as the name says) in
 and "XLinearGradient" is not defined in
 /usr/pkg/include/X11/extensions/Xrender.h .
 On -current Xorg, xsrc/external/mit/renderproto/dist/render.h
 is updated to 0.11.1
 but xsrc/external/mit/libXrender/dist/include/X11/extensions/Xrender.h
 is 0.9.4 since netbsd-5:
 Xrender and renderproto in pkgsrc look inconsistent,
 but anyway cairo should not use RENDER_MINOR to check XLinearGradient?
 Izumi Tsutsui

Home | Main Index | Thread Index | Old Index