diff options
author | adam <adam@pkgsrc.org> | 2006-01-19 12:53:17 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2006-01-19 12:53:17 +0000 |
commit | f1fb57c495f70f101d3f74500d457c322bc877ba (patch) | |
tree | f25b2eb5201eb92dae2a8b8783c830f0536b3989 /graphics/MesaLib | |
parent | bc79a3aee852dc0375711d4e015dcd5ee21f6147 (diff) | |
download | pkgsrc-f1fb57c495f70f101d3f74500d457c322bc877ba.tar.gz |
Changes 6.4:
New:
- Added a fast XOR line drawing function in Xlib driver
- Added support for GL_ARB_texture_mirrored_repeat to savage
driver (supported only on Savage4 hardware).
Changes:
- Mesa now packaged in three parts: Library, Demos and GLUT
Bug fixes:
- GLX_X_RENDERABLE token wasn't accepted by glXChooseFBConfig
- Some files were present multiple times in the 6.3.2 tarballs
- r200_vtxtmp_x86.S file was missing from 6.3.2 tarball (bug 4207)
- glxgears_fbconfig demo didn't work (bug 4237)
- fixed bug when bilinear sampling 2d textures with borders
- glXCreatePbuffer() could segfault instead of returning 0 (bug 4235)
- fixed undefined frexp and rand in X.org libGLcore.a (bug 4242)
- fixed a few problems with proxy color tables (bug 4270)
- fixed precision problem in Z clearing (bug 4395)
- glBitmap, glDraw/CopyPixels mistakenly generated selection hits
- fixed potential segfault caused by reading pixels outside
of renderbuffer bounds
- glGetTexLevelParameter didn't accept GL_TEXTURE_DEPTH_SIZE_ARB
- fixed memory corruption bug involving software alpha buffers
- glReadPixels clipped by window bounds was sometimes broken
- glDraw/CopyPixels of stencil data ignored the stencil write mask
- glReadPixels from a texture bound to a framebuffer object didn't work
- glIsRender/FramebufferEXT weren't totally correct
- fixed a number of point size attenuation/fade bugs
- fixed glFogCoord bug 4729
- GLX encoding for transpose matrix functions was broken
- fixed broken fragment program KIL and SWZ instructions
- fragment programs that wrote result.depth.z didn't work
Changes 6.4.1:
Bug fixes:
- redefining a vertex program string didn't take effect in TNL module
- fixed occasional segfault upon vertex/fragment parsing error
- vertex program LIT instruction didn't handle 0^0=1 correctly
- fragment program fog option didn't work with glDrawPixels, glBitmap
- USE_MGL_NAMESPACE didn't work for x86-64
- OSMesa demos were missing from previous release tarballs
- fixed problem with float->ushort conversion in glClear (bug 4992)
- popping of GL_EYE_PLANE texgen state was broken (bug 4996)
- popping of GL_SPOT_DIRECTION light state was broken (bug 5005)
- fixed occasional triangle color interpolation problem on VMS
- work around invalid free() call (bug 5131)
- fixed BSD X server compilation problem by including stdint.h
Diffstat (limited to 'graphics/MesaLib')
-rw-r--r-- | graphics/MesaLib/Makefile | 7 | ||||
-rw-r--r-- | graphics/MesaLib/PLIST | 4 | ||||
-rw-r--r-- | graphics/MesaLib/builtin.mk | 6 | ||||
-rw-r--r-- | graphics/MesaLib/distinfo | 31 | ||||
-rw-r--r-- | graphics/MesaLib/patches/patch-ac | 8 | ||||
-rw-r--r-- | graphics/MesaLib/patches/patch-ad | 45 | ||||
-rw-r--r-- | graphics/MesaLib/patches/patch-ae | 19 | ||||
-rw-r--r-- | graphics/MesaLib/patches/patch-af | 14 | ||||
-rw-r--r-- | graphics/MesaLib/patches/patch-ag | 16 | ||||
-rw-r--r-- | graphics/MesaLib/patches/patch-ah | 16 | ||||
-rw-r--r-- | graphics/MesaLib/patches/patch-aj | 6 |
11 files changed, 89 insertions, 83 deletions
diff --git a/graphics/MesaLib/Makefile b/graphics/MesaLib/Makefile index 8183ddd1042..82d94039b62 100644 --- a/graphics/MesaLib/Makefile +++ b/graphics/MesaLib/Makefile @@ -1,7 +1,6 @@ -# $NetBSD: Makefile,v 1.42 2005/12/05 20:50:19 rillig Exp $ +# $NetBSD: Makefile,v 1.43 2006/01/19 12:53:17 adam Exp $ PKGNAME= MesaLib-${MESA_VERSION} -PKGREVISION= 3 COMMENT= Graphics library similar to SGI's OpenGL .include "../../graphics/Mesa/Makefile.common" @@ -15,10 +14,6 @@ INSTLIBS= ${WRKSRC}/src/mesa/libGL.la \ CONFIGURE_ARGS+= --disable-sparc .endif -.if !empty(CC_VERSION:Mgcc-3*) -BUILDLINK_TRANSFORM+= rm:-O[23] -.endif - .include "../../mk/pthread.buildlink3.mk" pre-build: diff --git a/graphics/MesaLib/PLIST b/graphics/MesaLib/PLIST index 60f2e351508..e836c933ae7 100644 --- a/graphics/MesaLib/PLIST +++ b/graphics/MesaLib/PLIST @@ -1,10 +1,10 @@ -@comment $NetBSD: PLIST,v 1.14 2004/09/22 08:09:32 jlam Exp $ +@comment $NetBSD: PLIST,v 1.15 2006/01/19 12:53:17 adam Exp $ include/GL/gl.h include/GL/gl_mangle.h include/GL/glext.h include/GL/glx.h -include/GL/glxext.h include/GL/glx_mangle.h +include/GL/glxext.h include/GL/osmesa.h include/GL/xmesa.h include/GL/xmesa_x.h diff --git a/graphics/MesaLib/builtin.mk b/graphics/MesaLib/builtin.mk index 959a832e149..c557282c39f 100644 --- a/graphics/MesaLib/builtin.mk +++ b/graphics/MesaLib/builtin.mk @@ -1,4 +1,4 @@ -# $NetBSD: builtin.mk,v 1.11 2005/07/10 10:42:26 grant Exp $ +# $NetBSD: builtin.mk,v 1.12 2006/01/19 12:53:17 adam Exp $ BUILTIN_PKG:= MesaLib @@ -45,10 +45,10 @@ USE_BUILTIN.MesaLib= ${IS_BUILTIN.MesaLib} . if defined(BUILTIN_PKG.MesaLib) && \ !empty(IS_BUILTIN.MesaLib:M[yY][eE][sS]) USE_BUILTIN.MesaLib= yes -. for _dep_ in ${BUILDLINK_DEPENDS.MesaLib} +. for dep in ${BUILDLINK_DEPENDS.MesaLib} . if !empty(USE_BUILTIN.MesaLib:M[yY][eE][sS]) USE_BUILTIN.MesaLib!= \ - if ${PKG_ADMIN} pmatch ${_dep_:Q} ${BUILTIN_PKG.MesaLib:Q}; then \ + if ${PKG_ADMIN} pmatch ${dep:Q} ${BUILTIN_PKG.MesaLib:Q}; then \ ${ECHO} yes; \ else \ ${ECHO} no; \ diff --git a/graphics/MesaLib/distinfo b/graphics/MesaLib/distinfo index 4ee2294c01d..a079fb10a61 100644 --- a/graphics/MesaLib/distinfo +++ b/graphics/MesaLib/distinfo @@ -1,18 +1,21 @@ -$NetBSD: distinfo,v 1.32 2005/11/08 16:41:30 tv Exp $ +$NetBSD: distinfo,v 1.33 2006/01/19 12:53:17 adam Exp $ -SHA1 (Mesa-6.2.1/MesaLib-6.2.1.tar.bz2) = 7c4fb46ae17b066e85e90592ace496ac6b36c189 -RMD160 (Mesa-6.2.1/MesaLib-6.2.1.tar.bz2) = cfc5e8db61289c017ff20dd6b4c6db5c7b66855b -Size (Mesa-6.2.1/MesaLib-6.2.1.tar.bz2) = 1627520 bytes -SHA1 (Mesa-6.2.1/MesaDemos-6.2.1.tar.bz2) = f8da791e365eec633a70c4b5a76d96d27838e20b -RMD160 (Mesa-6.2.1/MesaDemos-6.2.1.tar.bz2) = 62b3ebc47e822c4704b69c9888e74bae12a1391b -Size (Mesa-6.2.1/MesaDemos-6.2.1.tar.bz2) = 1004511 bytes +SHA1 (Mesa-6.4.1/MesaLib-6.4.1.tar.bz2) = efb70276ccd9cd13dbd7d5e581213a5ca3e4ef25 +RMD160 (Mesa-6.4.1/MesaLib-6.4.1.tar.bz2) = e3a54d6442fa5d6e446bb0b6704bd22c31fb4927 +Size (Mesa-6.4.1/MesaLib-6.4.1.tar.bz2) = 2913887 bytes +SHA1 (Mesa-6.4.1/MesaGLUT-6.4.1.tar.bz2) = b28f0dcee182604646e0e7d6aaaea25d816bacce +RMD160 (Mesa-6.4.1/MesaGLUT-6.4.1.tar.bz2) = a09583b05c551852f5b4bc9688bca8a713c5f3bc +Size (Mesa-6.4.1/MesaGLUT-6.4.1.tar.bz2) = 270793 bytes +SHA1 (Mesa-6.4.1/MesaDemos-6.4.1.tar.bz2) = ae7a13ed55dfac9dde13464df0c4ac98ac6f7669 +RMD160 (Mesa-6.4.1/MesaDemos-6.4.1.tar.bz2) = 3cff02a195e2aa558d3b5dbbfe15e03ee280df62 +Size (Mesa-6.4.1/MesaDemos-6.4.1.tar.bz2) = 819391 bytes SHA1 (patch-aa) = 90457ea124a42150e3a37b48e1e0691597668606 SHA1 (patch-ab) = c257a57d4570576f160e9a4c029384718402c1bd -SHA1 (patch-ac) = 1791e47aa5a0e9d86002cf4c76dc66338e235fac -SHA1 (patch-ad) = 297981dfd609dab0b213ac75324e07c2364a2b27 -SHA1 (patch-ae) = a92133c77b1b958dcfe9b37ddc317d6ff31157d0 -SHA1 (patch-af) = 8f77d0a0e7c63de6bcc44a653767ccd04107c98c -SHA1 (patch-ag) = 3d05125b389c26b04884775f3f631247faa8a716 -SHA1 (patch-ah) = 0c0a4d18531d2bc9ea1be83e89f373be5609f0e7 +SHA1 (patch-ac) = a12c3538907aaa63184371037c0f70924861fbe4 +SHA1 (patch-ad) = e926180243a180bc80b0332f2bcacc14b7c1f13b +SHA1 (patch-ae) = c7dd8f4b9db5241acdd0f850162b8b4116cd93bd +SHA1 (patch-af) = 323ceab5653127cf233e66311a947c6718edb14c +SHA1 (patch-ag) = 722234c02093e0d3b10659fa83bb14c7f2e7a8ac +SHA1 (patch-ah) = b9ee33c497b8abe2af004a4f13219a19f413f30e SHA1 (patch-ai) = 3c5e4cc1e054514111d50c1d01257f4647b14558 -SHA1 (patch-aj) = 8282697af31605d07176943d7cf7e8f413e212de +SHA1 (patch-aj) = a805947e1aaf73a798fd3a8c6e39bf1bd62afc3a diff --git a/graphics/MesaLib/patches/patch-ac b/graphics/MesaLib/patches/patch-ac index eaf93d61ad8..085728c0a71 100644 --- a/graphics/MesaLib/patches/patch-ac +++ b/graphics/MesaLib/patches/patch-ac @@ -1,6 +1,6 @@ -$NetBSD: patch-ac,v 1.8 2005/11/08 16:41:30 tv Exp $ +$NetBSD: patch-ac,v 1.9 2006/01/19 12:53:17 adam Exp $ ---- Makefile.orig 2004-12-05 13:25:19.000000000 -0500 +--- Makefile.orig 2005-11-29 23:38:49.000000000 +0100 +++ Makefile @@ -2,7 +2,7 @@ @@ -11,7 +11,7 @@ $NetBSD: patch-ac,v 1.8 2005/11/08 16:41:30 tv Exp $ default: $(TOP)/configs/current -@@ -64,6 +64,7 @@ hpux11-64 \ +@@ -74,6 +74,7 @@ hpux11-64 \ hpux11-64-static \ hpux9 \ hpux9-gcc \ @@ -19,7 +19,7 @@ $NetBSD: patch-ac,v 1.8 2005/11/08 16:41:30 tv Exp $ irix6-64 \ irix6-64-static \ irix6-n32 \ -@@ -100,6 +101,7 @@ linux-x86-64-static \ +@@ -117,6 +118,7 @@ linux-x86-xcb \ linux-x86-glide \ linux-x86-static \ netbsd \ diff --git a/graphics/MesaLib/patches/patch-ad b/graphics/MesaLib/patches/patch-ad index e8eafb217b1..a0cf00284f1 100644 --- a/graphics/MesaLib/patches/patch-ad +++ b/graphics/MesaLib/patches/patch-ad @@ -1,52 +1,59 @@ -$NetBSD: patch-ad,v 1.7 2005/07/13 18:39:58 kristerw Exp $ +$NetBSD: patch-ad,v 1.8 2006/01/19 12:53:17 adam Exp $ ---- src/mesa/Makefile.orig 2004-10-04 09:44:50.000000000 -0500 +--- src/mesa/Makefile.orig 2005-07-26 07:55:56.000000000 +0200 +++ src/mesa/Makefile -@@ -12,10 +12,10 @@ GL_TINY = 0$(MESA_MAJOR)0$(MESA_MINOR)0$ - +@@ -14,13 +14,13 @@ GL_TINY = 0$(MESA_MAJOR)0$(MESA_MINOR)0$ + .SUFFIXES : .cpp .c.o: - $(CC) -c $(INCLUDE_DIRS) $(CFLAGS) $< -o $@ + ${LIBTOOL} --mode=compile $(CC) -c $(INCLUDE_DIRS) $(CFLAGS) $< -o $@ + .cpp.o: +- $(CXX) -c $(INCLUDE_DIRS) $(CXXFLAGS) $< -o $@ ++ ${LIBTOOL} --mode=compile $(CXX) -c $(INCLUDE_DIRS) $(CXXFLAGS) $< -o $@ + .S.o: - $(CC) -c $(INCLUDE_DIRS) $(CFLAGS) $< -o $@ + ${LIBTOOL} --mode=compile $(CC) -c $(INCLUDE_DIRS) $(CFLAGS) $< -o $@ # Figure out what to make here -@@ -112,22 +112,23 @@ subdirs: +@@ -150,25 +150,23 @@ subdirs: # Make the GL library $(LIB_DIR)/$(GL_LIB_NAME): $(STAND_ALONE_OBJECTS) -- CC=$(CC) CXX=$(CXX) $(TOP)/bin/mklib -o $(GL_LIB) -major $(GL_MAJOR) \ -- -minor $(GL_MINOR) -patch $(GL_TINY) -install $(LIB_DIR) \ +- @ $(TOP)/bin/mklib -o $(GL_LIB) -linker '$(CC)' \ +- -major $(GL_MAJOR) -minor $(GL_MINOR) -patch $(GL_TINY) \ +- -install $(LIB_DIR) \ - $(MKLIB_OPTIONS) $(GL_LIB_DEPS) $(STAND_ALONE_OBJECTS) + ${LIBTOOL} --mode=link ${CC} -o ${GL_LIB_NAME:.so=.la} \ + ${STAND_ALONE_OBJECTS:.o=.lo} \ + -rpath ${PREFIX}/lib -version-info ${GL_MAJOR}:${GL_MINOR} \ -+ -L${X11BASE}/lib ${GL_LIB_DEPS} -R ${X11BASE}/lib ++ -L${X11BASE}/lib -Wl,-R${X11BASE}/lib ${GL_LIB_DEPS} # Make the OSMesa library $(LIB_DIR)/$(OSMESA_LIB_NAME): $(OSMESA_DRIVER_OBJECTS) $(OSMESA16_OBJECTS) - if [ "${DRIVER_DIRS}" = "osmesa" ] ; then \ -- CC=$(CC) CXX=$(CXX) $(TOP)/bin/mklib -o $(OSMESA_LIB) -major $(MESA_MAJOR) \ + @ if [ "${DRIVER_DIRS}" = "osmesa" ] ; then \ +- $(TOP)/bin/mklib -o $(OSMESA_LIB) -linker '$(CC)' \ +- -major $(MESA_MAJOR) \ - -minor $(MESA_MINOR) -patch $(MESA_TINY) \ - -install $(LIB_DIR) $(MKLIB_OPTIONS) \ - $(OSMESA_LIB_DEPS) $(OSMESA16_OBJECTS) ; \ -+ ${LIBTOOL} --mode=link ${CC} -o ${OSMESA_LIB_NAME:.so=.la} \ -+ ${OSMESA16_OBJECTS:.o=.lo} -rpath ${PREFIX}/lib \ -+ -version-info ${MESA_MAJOR}:${MESA_MINOR} \ -+ ${OSMESA_LIB_DEPS:M-l*:S|-lGL|libGL.la|} ; \ ++ ${LIBTOOL} --mode=link ${CC} -o ${OSMESA_LIB_NAME:.so=.la} \ ++ ${OSMESA16_OBJECTS:.o=.lo} -rpath ${PREFIX}/lib \ ++ -version-info ${MESA_MAJOR}:${MESA_MINOR} \ ++ ${OSMESA_LIB_DEPS:S|-lGL|libGL.la|} ; \ else \ -- CC=$(CC) CXX=$(CXX) $(TOP)/bin/mklib -o $(OSMESA_LIB) -major $(MESA_MAJOR) \ +- $(TOP)/bin/mklib -o $(OSMESA_LIB) -linker '$(CC)' \ +- -major $(MESA_MAJOR) \ - -minor $(MESA_MINOR) -patch $(GL_TINY) \ - -install $(LIB_DIR) $(MKLIB_OPTIONS) \ - $(OSMESA_LIB_DEPS) $(OSMESA_DRIVER_OBJECTS) ; \ -+ ${LIBTOOL} --mode=link ${CC} -o ${OSMESA_LIB_NAME:.so=.la} \ -+ ${OSMESA_DRIVER_OBJECTS:.o=.lo} -rpath ${PREFIX}/lib \ -+ -version-info ${MESA_MAJOR}:${MESA_MINOR} \ -+ ${OSMESA_LIB_DEPS:M-l*:S|-lGL|libGL.la|} ; \ ++ ${LIBTOOL} --mode=link ${CC} -o ${OSMESA_LIB_NAME:.so=.la} \ ++ ${OSMESA_DRIVER_OBJECTS:.o=.lo} -rpath ${PREFIX}/lib \ ++ -version-info ${MESA_MAJOR}:${MESA_MINOR} \ ++ ${OSMESA_LIB_DEPS:S|-lGL|libGL.la|} ; \ fi diff --git a/graphics/MesaLib/patches/patch-ae b/graphics/MesaLib/patches/patch-ae index 79ae3680348..e57ff89be2f 100644 --- a/graphics/MesaLib/patches/patch-ae +++ b/graphics/MesaLib/patches/patch-ae @@ -1,6 +1,6 @@ -$NetBSD: patch-ae,v 1.6 2005/06/05 15:39:06 minskim Exp $ +$NetBSD: patch-ae,v 1.7 2006/01/19 12:53:17 adam Exp $ ---- src/glw/Makefile.orig 2004-06-25 17:51:39.000000000 -0500 +--- src/glw/Makefile.orig 2005-07-26 07:55:56.000000000 +0200 +++ src/glw/Makefile @@ -17,7 +17,7 @@ OBJECTS = $(GLW_SOURCES:.c=.o) ##### RULES ##### @@ -11,17 +11,18 @@ $NetBSD: patch-ae,v 1.6 2005/06/05 15:39:06 minskim Exp $ -@@ -33,9 +33,10 @@ clean: +@@ -33,10 +33,10 @@ clean: # Make the library $(LIB_DIR)/$(GLW_LIB_NAME): $(OBJECTS) -- CC=$(CC) CXX=$(CXX) $(TOP)/bin/mklib -o $(GLW_LIB) -major $(MAJOR) -minor $(MINOR) \ -- -patch $(TINY) $(MKLIB_OPTIONS) -install $(LIB_DIR) \ +- $(TOP)/bin/mklib -o $(GLW_LIB) -linker '$(CC)' \ +- -major $(MAJOR) -minor $(MINOR) -patch $(TINY) \ +- $(MKLIB_OPTIONS) -install $(LIB_DIR) \ - $(GLW_LIB_DEPS) $(OBJECTS) -+ ${LIBTOOL} --mode=link ${CC} -o ${GLW_LIB_NAME:.so=.la} ${OBJECTS:.o=.lo} \ -+ -rpath ${PREFIX}/lib -version-info ${MAJOR}:${MINOR} \ -+ -L${X11BASE}/lib ${GLW_LIB_DEPS:M-l*:S|-lGL|libGL.la}} \ -+ -R ${X11BASE}/lib ++ ${LIBTOOL} --mode=link ${CC} -o ${GLW_LIB_NAME:.so=.la} \ ++ ${OBJECTS:.o=.lo} -rpath ${PREFIX}/lib \ ++ -version-info ${MAJOR}:${MINOR} -L${X11BASE}/lib \ ++ ${GLW_LIB_DEPS:S|-lGL|../mesa/libGL.la|} -Wl,-R${X11BASE}/lib # diff --git a/graphics/MesaLib/patches/patch-af b/graphics/MesaLib/patches/patch-af index 785c0550954..2728a594ee4 100644 --- a/graphics/MesaLib/patches/patch-af +++ b/graphics/MesaLib/patches/patch-af @@ -1,6 +1,6 @@ -$NetBSD: patch-af,v 1.4 2005/06/07 14:21:42 minskim Exp $ +$NetBSD: patch-af,v 1.5 2006/01/19 12:53:17 adam Exp $ ---- src/glu/sgi/Makefile.orig 2004-08-16 02:46:28.000000000 -0500 +--- src/glu/sgi/Makefile.orig 2005-07-26 07:55:56.000000000 +0200 +++ src/glu/sgi/Makefile @@ -115,9 +115,11 @@ OBJECTS = $(C_OBJECTS) $(CC_OBJECTS) ##### RULES ##### @@ -18,13 +18,13 @@ $NetBSD: patch-af,v 1.4 2005/06/07 14:21:42 minskim Exp $ # Make the library: $(LIB_DIR)/$(GLU_LIB_NAME): $(OBJECTS) -- CC=$(CC) CXX=$(CXX) $(TOP)/bin/mklib -o $(GLU_LIB) -major $(GLU_MAJOR) \ -- -minor $(GLU_MINOR) -patch $(GLU_TINY) \ +- $(TOP)/bin/mklib -o $(GLU_LIB) -linker '$(CXX)' \ +- -major $(GLU_MAJOR) -minor $(GLU_MINOR) -patch $(GLU_TINY) \ - -cplusplus $(MKLIB_OPTIONS) -install $(LIB_DIR) \ - $(GLU_LIB_DEPS) $(OBJECTS) -+ ${LIBTOOL} --mode=link ${CXX} -o ${GLU_LIB_NAME:.so=.la} ${OBJECTS:.o=.lo} \ -+ -rpath ${PREFIX}/lib -version-info ${GLU_MAJOR}:${GLU_MINOR} \ -+ ${GLU_LIB_DEPS:M-l*} ++ ${LIBTOOL} --mode=link ${CXX} -o ${GLU_LIB_NAME:.so=.la} \ ++ ${OBJECTS:.o=.lo} -rpath ${PREFIX}/lib \ ++ -version-info ${GLU_MAJOR}:${GLU_MINOR} ${GLU_LIB_DEPS} clean: diff --git a/graphics/MesaLib/patches/patch-ag b/graphics/MesaLib/patches/patch-ag index d4521db80ab..88b473a4c04 100644 --- a/graphics/MesaLib/patches/patch-ag +++ b/graphics/MesaLib/patches/patch-ag @@ -1,6 +1,6 @@ -$NetBSD: patch-ag,v 1.7 2005/06/07 14:31:48 minskim Exp $ +$NetBSD: patch-ag,v 1.8 2006/01/19 12:53:17 adam Exp $ ---- src/glut/glx/Makefile.orig 2004-12-05 12:00:20.000000000 -0600 +--- src/glut/glx/Makefile.orig 2005-07-26 07:55:56.000000000 +0200 +++ src/glut/glx/Makefile @@ -79,6 +79,7 @@ OBJECTS = $(SOURCES:.c=.o) ##### RULES ##### @@ -14,14 +14,14 @@ $NetBSD: patch-ag,v 1.7 2005/06/07 14:31:48 minskim Exp $ # Make the library $(LIB_DIR)/$(GLUT_LIB_NAME): depend $(OBJECTS) -- CC=$(CC) CXX=$(CXX) $(TOP)/bin/mklib -o $(GLUT_LIB) \ -- -major $(GLUT_MAJOR) -minor $(GLUT_MINOR) \ -- -patch $(GLUT_TINY) $(MKLIB_OPTIONS) -install $(LIB_DIR) \ +- $(TOP)/bin/mklib -o $(GLUT_LIB) -linker '$(CC)' \ +- -major $(GLUT_MAJOR) -minor $(GLUT_MINOR) -patch $(GLUT_TINY) \ +- $(MKLIB_OPTIONS) -install $(LIB_DIR) \ - $(GLUT_LIB_DEPS) $(OBJECTS) -+ ${LIBTOOL} --mode=link ${CC} -o ${GLUT_LIB_NAME:.so=.la} ${OBJECTS:.o=.lo} \ -+ -rpath ${PREFIX}/lib \ ++ ${LIBTOOL} --mode=link ${CC} -o ${GLUT_LIB_NAME:.so=.la} \ ++ ${OBJECTS:.o=.lo} -rpath ${PREFIX}/lib \ + -version-info ${GLUT_MAJOR}:${GLUT_MINOR} \ -+ -L${X11BASE}/lib ${GLUT_LIB_DEPS:M-l*} -R${X11BASE}/lib ++ -L${X11BASE}/lib -Wl,-R${X11BASE}/lib ${GLUT_LIB_DEPS} clean: diff --git a/graphics/MesaLib/patches/patch-ah b/graphics/MesaLib/patches/patch-ah index fadc6584af4..c8f6de7a8ff 100644 --- a/graphics/MesaLib/patches/patch-ah +++ b/graphics/MesaLib/patches/patch-ah @@ -1,6 +1,6 @@ -$NetBSD: patch-ah,v 1.2 2005/07/12 21:40:35 kristerw Exp $ +$NetBSD: patch-ah,v 1.3 2006/01/19 12:53:17 adam Exp $ ---- configs/default.orig 2004-10-25 17:21:49.000000000 +0000 +--- configs/default.orig 2005-10-25 01:35:14.000000000 +0200 +++ configs/default @@ -14,10 +14,6 @@ MESA_TINY=1 DRM_SOURCE_PATH=$(TOP)/../drm @@ -13,7 +13,7 @@ $NetBSD: patch-ah,v 1.2 2005/07/12 21:40:35 kristerw Exp $ GLU_CFLAGS = # Misc tools and flags -@@ -52,7 +48,7 @@ GLW_SOURCES = GLwDrawA.c +@@ -56,7 +52,7 @@ GLW_SOURCES = GLwDrawA.c # Directories LIB_DIR = $(TOP)/lib @@ -22,12 +22,12 @@ $NetBSD: patch-ah,v 1.2 2005/07/12 21:40:35 kristerw Exp $ SRC_DIRS = mesa glu glut/glx glw GLU_DIRS = sgi DRIVER_DIRS = x11 osmesa -@@ -60,7 +56,7 @@ PROGRAM_DIRS = demos redbook samples xde - +@@ -66,7 +62,7 @@ PROGRAM_DIRS = demos redbook samples xde # Library/program dependencies --GL_LIB_DEPS = -lX11 -lXext -lm -lpthread -+GL_LIB_DEPS = -lX11 -lXext -lm ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS} + EXTRA_LIB_PATH ?= +-GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lm -lpthread ++GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lm ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS} OSMESA_LIB_DEPS = -L$(LIB_DIR) -l$(GL_LIB) GLU_LIB_DEPS = -L$(LIB_DIR) -l$(GL_LIB) -lm - GLUT_LIB_DEPS = -L$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -lX11 -lXmu -lXt -lXi -lm + GLUT_LIB_DEPS = -L$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) $(EXTRA_LIB_PATH) -lX11 -lXmu -lXt -lXi -lm diff --git a/graphics/MesaLib/patches/patch-aj b/graphics/MesaLib/patches/patch-aj index b1b22d1f229..4511df2cebd 100644 --- a/graphics/MesaLib/patches/patch-aj +++ b/graphics/MesaLib/patches/patch-aj @@ -1,6 +1,6 @@ -$NetBSD: patch-aj,v 1.1 2005/11/08 16:41:30 tv Exp $ +$NetBSD: patch-aj,v 1.2 2006/01/19 12:53:17 adam Exp $ ---- src/mesa/drivers/x11/xmesaP.h.orig 2004-03-04 11:22:01.000000000 -0500 +--- src/mesa/drivers/x11/xmesaP.h.orig 2005-10-04 23:00:36.000000000 +0200 +++ src/mesa/drivers/x11/xmesaP.h @@ -30,7 +30,7 @@ #ifdef XFree86Server @@ -11,7 +11,7 @@ $NetBSD: patch-aj,v 1.1 2005/11/08 16:41:30 tv Exp $ # include <X11/extensions/XShm.h> #endif #include "GL/xmesa.h" -@@ -185,7 +185,7 @@ struct xmesa_buffer { +@@ -218,7 +218,7 @@ struct xmesa_buffer { /* 0 = not available */ /* 1 = XImage support available */ /* 2 = Pixmap support available too */ |