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 <tsutsui%ceres.dti.ne.jp@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: tsutsui%ceres.dti.ne.jp@localhost
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:
#if RENDER_MAJOR == 0 && RENDER_MINOR < 10
On netbsd-5 Xorg ports, RENDER_MINOR is 10 in
xsrc/external/mit/renderproto/dist/render.h
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
/usr/pkg/include/X11/extensions/render.h
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
http://cvsweb.NetBSD.org/bsdweb.cgi/xsrc/external/mit/renderproto/dist/render.h
but xsrc/external/mit/libXrender/dist/include/X11/extensions/Xrender.h
is 0.9.4 since netbsd-5:
http://cvsweb.NetBSD.org/bsdweb.cgi/xsrc/external/mit/libXrender/dist/include/X11/extensions/Xrender.h
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