pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/MesaLib Fix broken hack which instead of remo...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4a5b39ba9cb3
branches:  trunk
changeset: 543129:4a5b39ba9cb3
user:      tron <tron%pkgsrc.org@localhost>
date:      Thu Jun 05 13:03:41 2008 +0000

description:
Fix broken hack which instead of removing the "-fvisibility=hidden"
compiler flag actually added it. This causes all the link failures
in packages using the "glut" library (e.g. "gle"). Bump package
revision because of this fix.

Error analysis provided by Raymond Meyer on "pkgsrc-users" mailing list.

diffstat:

 graphics/MesaLib/Makefile |  4 ++--
 graphics/MesaLib/hacks.mk |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (31 lines):

diff -r afe155f8848c -r 4a5b39ba9cb3 graphics/MesaLib/Makefile
--- a/graphics/MesaLib/Makefile Thu Jun 05 11:58:23 2008 +0000
+++ b/graphics/MesaLib/Makefile Thu Jun 05 13:03:41 2008 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.61 2008/06/03 06:59:12 dsainty Exp $
+# $NetBSD: Makefile,v 1.62 2008/06/05 13:03:41 tron Exp $
 
 PKGNAME=       MesaLib-${MESA_PKGVERSION}
-PKGREVISION=   1
+PKGREVISION=   2
 COMMENT=       Graphics library similar to SGI's OpenGL
 
 MESA_HEADERS=  gl.h gl_mangle.h glext.h glx.h glxext.h \
diff -r afe155f8848c -r 4a5b39ba9cb3 graphics/MesaLib/hacks.mk
--- a/graphics/MesaLib/hacks.mk Thu Jun 05 11:58:23 2008 +0000
+++ b/graphics/MesaLib/hacks.mk Thu Jun 05 13:03:41 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: hacks.mk,v 1.8 2008/05/21 05:58:52 bjs Exp $
+# $NetBSD: hacks.mk,v 1.9 2008/06/05 13:03:41 tron Exp $
 
 .if !defined(MESALIBS_HACKS_MK)
 MESALIBS_HACKS_MK=     # defined
@@ -33,7 +33,7 @@
 # Don't hide symbols for glut by default, it doesn't know how to unhide them.
 .    if empty(PKGNAME:M*glut*)
 PKG_HACKS+=            gcc-hidden-visibility
-CFLAGS+=               -fvisibility=hidden
+BUILDLINK_TRANSFORM+=  rm:-fvisibility=hidden
 .    endif
 .  endif
 ###



Home | Main Index | Thread Index | Old Index