[arch-commits] Commit in glew/trunk (PKGBUILD glxew_export_fix.diff)
andyrtr at archlinux.org
andyrtr at archlinux.org
Sun Dec 2 09:46:45 UTC 2012
Date: Sunday, December 2, 2012 @ 04:46:45
Author: andyrtr
Revision: 172300
upgpkg: glew 1.9.0-2
make 3rd party apps compile again; FS#32835
Added:
glew/trunk/glxew_export_fix.diff
Modified:
glew/trunk/PKGBUILD
-----------------------+
PKGBUILD | 15 +++++++++++----
glxew_export_fix.diff | 30 ++++++++++++++++++++++++++++++
2 files changed, 41 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2012-12-02 08:28:48 UTC (rev 172299)
+++ PKGBUILD 2012-12-02 09:46:45 UTC (rev 172300)
@@ -1,20 +1,27 @@
# $Id$
-# Maintainer: Stéphane Gaudreault <stephane at archlinux.org>
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+# Contributor: Stéphane Gaudreault <stephane at archlinux.org>
# Contributor: SleepyDog
pkgname=glew
pkgver=1.9.0
-pkgrel=1
+pkgrel=2
pkgdesc="The OpenGL Extension Wrangler Library"
arch=('i686' 'x86_64')
url="http://glew.sourceforge.net"
license=('BSD' 'MIT' 'GPL')
depends=('libxmu' 'libxi' 'glu')
-source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tgz)
-sha1sums=('9291f5c5afefd482c7f3e91ffb3cd4716c6c9ffe')
+source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tgz
+ glxew_export_fix.diff)
+sha1sums=('9291f5c5afefd482c7f3e91ffb3cd4716c6c9ffe'
+ 'f389645a1400aebdadce596fec970cfe0be6c15b')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
+
+ # fix compilation for some 3rd party apps; FS#32835
+ patch -Np1 -i ${srcdir}/glxew_export_fix.diff
+
sed -i 's|lib64|lib|' config/Makefile.linux
make
}
Added: glxew_export_fix.diff
===================================================================
--- glxew_export_fix.diff (rev 0)
+++ glxew_export_fix.diff 2012-12-02 09:46:45 UTC (rev 172300)
@@ -0,0 +1,30 @@
+X-Git-Url:
+http://glew.git.sourceforge.net/git/gitweb.cgi?p=glew%2Fglew;a=blobdiff_plain;f=auto%2Fsrc%2Fglxew_mid.h;h=e9a3391acefafcc1b2979d2cfad1d43c602521c1;hp=cfcd20d472a790f461e01e6e20a570582452236c;hb=6d14805de58321e8a7b1881323e604bb0ba27217;hpb=38a3d857549e7ac31b7edb2a1cfa1ead52f72220
+
+diff --git a/auto/src/glxew_mid.h b/auto/src/glxew_mid.h
+index cfcd20d..e9a3391 100644
+--- a/auto/src/glxew_mid.h
++++ b/auto/src/glxew_mid.h
+@@ -1,7 +1,7 @@
+ /* ------------------------------------------------------------------------- */
+
+ #ifdef GLEW_MX
+-#define GLXEW_FUN_EXPORT
++#define GLXEW_FUN_EXPORT GLEW_FUN_EXPORT
+ #define GLXEW_VAR_EXPORT
+ #else
+ #define GLXEW_FUN_EXPORT GLEW_FUN_EXPORT
+Index: glew-1.8.0/include/GL/glxew.h
+===================================================================
+--- glew-1.8.0.orig/include/GL/glxew.h 2012-08-08 20:56:17.574088414 +0200
++++ glew-1.8.0/include/GL/glxew.h 2012-08-08 20:57:34.350092129 +0200
+@@ -1360,7 +1360,7 @@
+ /* ------------------------------------------------------------------------- */
+
+ #ifdef GLEW_MX
+-#define GLXEW_FUN_EXPORT
++#define GLXEW_FUN_EXPORT GLEW_FUN_EXPORT
+ #define GLXEW_VAR_EXPORT
+ #else
+ #define GLXEW_FUN_EXPORT GLEW_FUN_EXPORT
+
More information about the arch-commits
mailing list