supertuxkart: unbreak on recent mesa and enable ppc64
This commit is contained in:
parent
05dd78fb5c
commit
396a34d34c
2 changed files with 20 additions and 1 deletions
19
srcpkgs/supertuxkart/patches/glew.patch
Normal file
19
srcpkgs/supertuxkart/patches/glew.patch
Normal file
|
@ -0,0 +1,19 @@
|
|||
--- lib/glew/include/GL/glew.h
|
||||
+++ lib/glew/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)
|
|
@ -2,7 +2,7 @@
|
|||
pkgname=supertuxkart
|
||||
version=0.9.3
|
||||
revision=1
|
||||
only_for_archs="i686 i686-musl x86_64 x86_64-musl"
|
||||
only_for_archs="i686 i686-musl x86_64 x86_64-musl ppc64le ppc64le-musl ppc64-musl"
|
||||
build_style=cmake
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="libgomp-devel libjpeg-turbo-devel libpng-devel
|
||||
|
|
Loading…
Add table
Reference in a new issue