[arch-commits] Commit in warzone2100/trunk (PKGBUILD buildfix.patch)
Laurent Carlier
lcarlier at archlinux.org
Fri Feb 12 14:38:20 UTC 2016
Date: Friday, February 12, 2016 @ 15:38:20
Author: lcarlier
Revision: 161425
upgpkg: warzone2100 3.1.3-1
upstream update 3.1.3
Modified:
warzone2100/trunk/PKGBUILD
Deleted:
warzone2100/trunk/buildfix.patch
----------------+
PKGBUILD | 18 +++++-------------
buildfix.patch | 13 -------------
2 files changed, 5 insertions(+), 26 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-02-12 13:31:40 UTC (rev 161424)
+++ PKGBUILD 2016-02-12 14:38:20 UTC (rev 161425)
@@ -3,8 +3,8 @@
# Contributor: Angelo Theodorou <encelo at users.sourceforge.net>
pkgname=warzone2100
-pkgver=3.1.2
-pkgrel=4
+pkgver=3.1.3
+pkgrel=1
pkgdesc="3D realtime strategy game on a future Earth"
url="http://wz2100.net/"
arch=('i686' 'x86_64')
@@ -11,21 +11,13 @@
license=('GPL')
depends=('sdl' 'glew' 'fribidi' 'openal' 'libvorbis' 'libtheora' 'physfs' 'ttf-dejavu' 'qt4')
makedepends=('gawk' 'flex' 'zip' 'unzip' 'asciidoc' 'mesa')
-source=("http://downloads.sourceforge.net/project/warzone2100/releases/${pkgver}/${pkgname}-${pkgver}.tar.xz"
- 'buildfix.patch')
-md5sums=('4e947125e9604821164f1ad9d1922447'
- '7503052fc52d1cea0bae275db33544e6')
+source=("http://downloads.sourceforge.net/project/warzone2100/releases/${pkgver}/${pkgname}-${pkgver}.tar.xz")
+md5sums=('0363cb43f037a5eadab7595bb1ab06e3')
-prepare() {
- cd ${pkgname}-${pkgver}
-
- patch -p1 -i ../buildfix.patch
-}
-
build() {
cd ${pkgname}-${pkgver}
- ./configure --prefix=/usr --with-distributor="Archlinux"
+ ./configure --prefix=/usr --with-distributor="ArchLinux"
make
}
Deleted: buildfix.patch
===================================================================
--- buildfix.patch 2016-02-12 13:31:40 UTC (rev 161424)
+++ buildfix.patch 2016-02-12 14:38:20 UTC (rev 161425)
@@ -1,13 +0,0 @@
-diff --git a/lib/ivis_opengl/screen.cpp b/lib/ivis_opengl/screen.cpp
-index d240a63..861265d 100644
---- a/lib/ivis_opengl/screen.cpp
-+++ b/lib/ivis_opengl/screen.cpp
-@@ -261,7 +261,7 @@ void screen_EnableMissingFunctions()
- __glewUseProgram = __glewUseProgramObjectARB;
- __glewGetShaderiv = __glewGetObjectParameterivARB;
- __glewLinkProgram = __glewLinkProgramARB;
-- __glewShaderSource = __glewShaderSourceARB;
-+ __glewShaderSource = (PFNGLSHADERSOURCEPROC) __glewShaderSourceARB;
- __glewUniform1f = __glewUniform1fARB;
- __glewUniform1i = __glewUniform1iARB;
- __glewUniform4fv = __glewUniform4fvARB;
More information about the arch-commits
mailing list