- Fix build by not redefining any OpenGL types
This commit is contained in:
parent
3eb5c6a3df
commit
bdaf8c95c8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=493371
@ -44,6 +44,9 @@ DESKTOP_ENTRIES="Sea Defender" \
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e '/typedef/ d' ${WRKSRC}/snoutlib/gldefs.h
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/sea ${STAGEDIR}${PREFIX}/libexec/${PORTNAME}
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- snoutlib/gldefs.h.orig 2013-09-28 23:51:46.789551906 +0200
|
||||
+++ snoutlib/gldefs.h 2013-09-28 23:52:40.941548852 +0200
|
||||
@@ -94,7 +94,7 @@
|
||||
typedef GLboolean (GLFUNCDEF PFNGLISPROGRAMPROC) (GLuint);
|
||||
typedef GLboolean (GLFUNCDEF PFNGLISSHADERPROC) (GLuint);
|
||||
typedef void (GLFUNCDEF PFNGLLINKPROGRAMPROC) (GLuint);
|
||||
-typedef void (GLFUNCDEF PFNGLSHADERSOURCEPROC) (GLuint, GLsizei, const GLchar* *, const GLint *);
|
||||
+typedef void (GLFUNCDEF PFNGLSHADERSOURCEPROC) (GLuint, GLsizei, const GLchar* const *, const GLint *);
|
||||
typedef void (GLFUNCDEF PFNGLUSEPROGRAMPROC) (GLuint);
|
||||
typedef void (GLFUNCDEF PFNGLUNIFORM1FPROC) (GLint, GLfloat);
|
||||
typedef void (GLFUNCDEF PFNGLUNIFORM2FPROC) (GLint, GLfloat, GLfloat);
|
Loading…
Reference in New Issue
Block a user