astromenace: update to 1.4.1

Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
Jürgen Buchmüller 2019-05-04 12:52:37 +02:00
parent a9ee6a6055
commit b913316fba
No known key found for this signature in database
GPG key ID: DE55AD8DBEBB4EE8
2 changed files with 2 additions and 27 deletions

View file

@ -1,25 +0,0 @@
From 3fd6b79895ea20ec0681799be43d94662ad31192 Mon Sep 17 00:00:00 2001
From: Mikhail Kurinnoi <viewizard@viewizard.com>
Date: Wed, 21 Nov 2018 10:27:15 +0300
Subject: [PATCH] Fix compilation warnings.
Looks like some gl.h don't care about __glext_h_, forced to use
GL_GLEXT_LEGACY for Linux too.
---
src/core/graphics/opengl.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git src/core/graphics/opengl.h src/core/graphics/opengl.h
index 25a524ba..c01c026e 100755
--- src/core/graphics/opengl.h
+++ src/core/graphics/opengl.h
@@ -37,7 +37,8 @@
#include <OpenGL/gl.h>
#include <OpenGL/glu.h>
#else
- #define __glext_h_ // don't let gl.h include glext.h
+ #define GL_GLEXT_LEGACY
+ #define __glext_h_
#include <GL/gl.h>
#include <GL/glu.h>
#undef __glext_h_

View file

@ -1,6 +1,6 @@
# Template file for 'astromenace'
pkgname=astromenace
version=1.4.0
version=1.4.1
revision=1
build_style=cmake
configure_args="-DDATADIR=/usr/share/astromenace -DDONTCREATEVFS=TRUE"
@ -13,7 +13,7 @@ maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="GPL-3.0-or-later, OFL-1.1, CC-BY-SA-3.0"
homepage="http://www.viewizard.com/"
distfiles="https://github.com/viewizard/astromenace/archive/v${version}.tar.gz"
checksum=6ebbb14d7b2e066a4f35b104185562560614e125498a63631402fbc77d899f35
checksum=0aca5211c9f333acf698807f597e5ad8e9d1455ba8ad202940890bff5b6c9507
if [ "$CROSS_BUILD" ]; then
configure_args+=" -DOPENGL_INCLUDE_DIR=${XBPS_CROSS_BASE}/usr/include/GL"