graphics/glew: update to 2.2.0, from Brad, been through bulk on i386
This commit is contained in:
parent
c06543f652
commit
a4449754d5
@ -1,17 +1,16 @@
|
||||
# $OpenBSD: Makefile,v 1.18 2019/07/12 20:46:59 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.19 2020/10/08 20:18:25 sthen Exp $
|
||||
|
||||
# no libGL (toolchain issue)
|
||||
NOT_FOR_ARCHS= m88k
|
||||
|
||||
COMMENT= GL Extension Wrangler library
|
||||
|
||||
DISTNAME= glew-2.0.0
|
||||
REVISION= 0
|
||||
DISTNAME= glew-2.2.0
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=glew/}
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
SHARED_LIBS= GLEW 8.0
|
||||
SHARED_LIBS= GLEW 9.0
|
||||
|
||||
HOMEPAGE= http://glew.sourceforge.net/
|
||||
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (glew-2.0.0.tgz) = xXLDCk5kaJw0K6FiQTCsmJNtevkMMQP5zhK4oMVzZ2Q=
|
||||
SIZE (glew-2.0.0.tgz) = 667340
|
||||
SHA256 (glew-2.2.0.tgz) = 1PyCiTz7ABCVeNChojN/uMozWzzsz5e5flzH8I5DU+E=
|
||||
SIZE (glew-2.2.0.tgz) = 835861
|
||||
|
@ -1,6 +1,8 @@
|
||||
$OpenBSD: patch-Makefile,v 1.8 2016/12/30 13:57:51 sthen Exp $
|
||||
--- Makefile.orig Sat Jul 23 20:43:37 2016
|
||||
+++ Makefile Sat Dec 17 18:41:07 2016
|
||||
$OpenBSD: patch-Makefile,v 1.9 2020/10/08 20:18:25 sthen Exp $
|
||||
|
||||
Index: Makefile
|
||||
--- Makefile.orig
|
||||
+++ Makefile
|
||||
@@ -81,7 +81,7 @@ else
|
||||
OPT = $(POPT)
|
||||
endif
|
||||
|
@ -1,25 +0,0 @@
|
||||
$OpenBSD: patch-include_GL_glew_h,v 1.3 2019/01/28 08:26:17 jsg Exp $
|
||||
|
||||
7f65a36866f4e24dd1446fe1c9d21424f28bcabd
|
||||
Fixed compilation with current mesa versions.
|
||||
|
||||
Index: include/GL/glew.h
|
||||
--- include/GL/glew.h.orig
|
||||
+++ include/GL/glew.h
|
||||
@@ -93,7 +93,7 @@
|
||||
#if defined(__REGAL_H__)
|
||||
#error Regal.h included before glew.h
|
||||
#endif
|
||||
-#if defined(__glext_h_) || defined(__GLEXT_H_)
|
||||
+#if defined(__glext_h_) || defined(__GLEXT_H_) || defined(__gl_glext_h_)
|
||||
#error glext.h included before glew.h
|
||||
#endif
|
||||
#if defined(__gl_ATI_h_)
|
||||
@@ -109,6 +109,7 @@
|
||||
#define __X_GL_H
|
||||
#define __glext_h_
|
||||
#define __GLEXT_H_
|
||||
+#define __gl_glext_h_
|
||||
#define __gl_ATI_h_
|
||||
|
||||
#if defined(_WIN32)
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.6 2016/12/30 13:57:51 sthen Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.7 2020/10/08 20:18:25 sthen Exp $
|
||||
@bin bin/glewinfo
|
||||
@bin bin/visualinfo
|
||||
include/GL/
|
||||
@ -6,7 +6,7 @@ include/GL/eglew.h
|
||||
include/GL/glew.h
|
||||
include/GL/glxew.h
|
||||
include/GL/wglew.h
|
||||
lib/libGLEW.a
|
||||
@static-lib lib/libGLEW.a
|
||||
@lib lib/libGLEW.so.${LIBGLEW_VERSION}
|
||||
lib/pkgconfig/glew.pc
|
||||
share/doc/glew/
|
||||
|
Loading…
Reference in New Issue
Block a user