allegro5: update to 5.2.5.0.

This commit is contained in:
maxice8 2019-03-04 10:48:22 -03:00 committed by maxice8
parent c5b291b367
commit 371c3704e6
2 changed files with 2 additions and 31 deletions

View file

@ -1,29 +0,0 @@
--- include/allegro5/allegro_opengl.h
+++ include/allegro5/allegro_opengl.h
@@ -103,10 +103,14 @@
/* HACK: Prevent both Mesa and SGI's broken headers from screwing us */
#define __glext_h_
+#define __gl_glext_h_
#define __glxext_h_
+#define __glx_glxext_h_
#include <GL/gl.h>
#undef __glext_h_
+#undef __gl_glext_h_
#undef __glxext_h_
+#undef __glx_glxext_h_
#endif /* ALLEGRO_MACOSX */
--- include/allegro5/opengl/GLext/glx_ext_defs.h
+++ include/allegro5/opengl/GLext/glx_ext_defs.h
@@ -1,7 +1,9 @@
/* HACK: Prevent both Mesa and SGI's broken headers from screwing us */
#define __glxext_h_
+#define __glx_glxext_h_
#include <GL/glx.h>
#undef __glxext_h_
+#undef __glx_glxext_h_
#ifndef GLX_VERSION_1_3
#define _ALLEGRO_GLX_VERSION_1_3

View file

@ -1,6 +1,6 @@
# Template file for 'allegro5'
pkgname=allegro5
version=5.2.4.0
version=5.2.5.0
revision=1
wrksrc="allegro-${version}"
build_style=cmake
@ -16,7 +16,7 @@ maintainer="Diogo Leal <diogo@diogoleal.com>"
license="Allegro License (MIT alike)"
homepage="https://liballeg.org/"
distfiles="https://github.com/liballeg/allegro5/releases/download/${version}/allegro-${version}.tar.gz"
checksum=346163d456c5281c3b70271ecf525e1d7c754172aef4bab15803e012b12f2af1
checksum=59968da34a0353913868b8299aaff9520d19a3b0960c6406be8323a6ac9bb719
post_install() {
vlicense LICENSE.txt