pkgsrc-Bugs archive

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

Re: pkg/44359: cairo doesn't build with native X on NetBSD 5.1



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

From: Thomas Klausner <wiz%NetBSD.org@localhost>
To: NetBSD bugtracking <gnats-bugs%NetBSD.org@localhost>
Cc: 
Subject: Re: pkg/44359: cairo doesn't build with native X on NetBSD 5.1
Date: Mon, 10 Jan 2011 14:04:15 +0100

 On Sun, Jan 09, 2011 at 08:50:00AM +0000, Aleksej Saushev wrote:
 > >Number:         44359
 > >Category:       pkg
 > >Synopsis:       cairo doesn't build with native X on NetBSD 5.1
 
 Does obache's patch fix this problem for you?
 
 --- quote obache ---
 
 I feel following patch should fixes both native XFree86 and Xorg for NetBSD,
 check same as libXrender.
 I'm not sure that upper bounce guard 0.10 is sufficient for Xfree86,
 but it is required.
 
 Index: x11/renderproto/buildlink3.mk
 ===================================================================
 RCS file: /cvsroot/pkgsrc/x11/renderproto/buildlink3.mk,v
 retrieving revision 1.14
 diff -u -r1.14 buildlink3.mk
 --- x11/renderproto/buildlink3.mk       22 Dec 2010 23:41:30 -0000      1.14
 +++ x11/renderproto/buildlink3.mk       1 Jan 2011 06:06:37 -0000
 @@ -7,15 +7,8 @@
   .if !defined(RENDERPROTO_BUILDLINK3_MK)
   RENDERPROTO_BUILDLINK3_MK:=
 
 -.if ${X11_TYPE} == "native"
 -. include "../../mk/x11.buildlink3.mk"
 -. if ${BUILTIN_X11_TYPE.native} == "XFree86"
 -RENDERPROTO_RENDERPROTO9=1
 -. endif
 -.endif
 -
 -.if defined(RENDERPROTO_RENDERPROTO9)
 -BUILDLINK_API_DEPENDS.renderproto+=    renderproto>=0.9.3nb1
 +.if ${X11_TYPE} != "modular" && 
!exists(${X11BASE}/lib/pkgconfig/renderproto.pc)
 +BUILDLINK_API_DEPENDS.renderproto+=    renderproto>=0.9.3nb1<0.10
   BUILDLINK_PKGSRCDIR.renderproto?=      ../../x11/renderproto9
   .else
   BUILDLINK_API_DEPENDS.renderproto+=    renderproto>=0.9.3nb1
 
 -- 
 OBATA Akio / obache%NetBSD.org@localhost
 
 
 --- end quote obache ---
  
  Thomas
 


Home | Main Index | Thread Index | Old Index