pkgsrc-Bugs archive

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

Re: pkg/43890 (several python extensions don't build on solaris with gcc-4.4.3)



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

From: Tim Zingelman <tez%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: hauke%netbsd.org@localhost, solaris-pkg-people%netbsd.org@localhost, 
pkg-manager%netbsd.org@localhost, 
        pkgsrc-bugs%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, 
daniel.vergien%googlemail.com@localhost
Subject: Re: pkg/43890 (several python extensions don't build on solaris with 
gcc-4.4.3)
Date: Sun, 10 Apr 2011 20:16:00 -0500

 sys/feature_tests.h states "Applications must NOT use these private
 test macros as unexpected results will occur." regarding _XPG6 and the
 like.
 
 Do these patch solve the py-cairo problem for you:
 
 Index: Makefile
 ===================================================================
 RCS file: /usr/cvs/pkgsrc/graphics/py-cairo/Makefile,v
 retrieving revision 1.29
 diff -w -u -b -r1.29 Makefile
 --- Makefile    25 Feb 2011 09:47:23 -0000      1.29
 +++ Makefile    21 Mar 2011 23:04:07 -0000
 @@ -32,6 +32,10 @@
  BUILDLINK_TRANSFORM+=  rm:-std=c99
  .endif
 
 +.if ${OPSYS} == "SunOS"
 +BUILDLINK_TRANSFORM+=  rm:-std=c99
 +.endif
 +
  .include "../../lang/python/extension.mk"
  BUILDLINK_API_DEPENDS.cairo+=  cairo>=1.8.10
  .include "../../graphics/cairo/buildlink3.mk"
 


Home | Main Index | Thread Index | Old Index