[arch-commits] Commit in 0ad/trunk (0ad-gcc6.patch PKGBUILD)
Sven-Hendrik Haase
svenstaro at archlinux.org
Sun Nov 13 00:05:22 UTC 2016
Date: Sunday, November 13, 2016 @ 00:05:21
Author: svenstaro
Revision: 195481
upgpkg: 0ad a21-1
upstream release a21
Modified:
0ad/trunk/PKGBUILD
Deleted:
0ad/trunk/0ad-gcc6.patch
----------------+
0ad-gcc6.patch | 31 -------------------------------
PKGBUILD | 14 +++++---------
2 files changed, 5 insertions(+), 40 deletions(-)
Deleted: 0ad-gcc6.patch
===================================================================
--- 0ad-gcc6.patch 2016-11-12 23:51:25 UTC (rev 195480)
+++ 0ad-gcc6.patch 2016-11-13 00:05:21 UTC (rev 195481)
@@ -1,31 +0,0 @@
-Index: libraries/source/nvtt/src/src/nvimage/ImageIO.cpp
-===================================================================
---- libraries/source/nvtt/src/src/nvimage/ImageIO.cpp (revision 18164)
-+++ libraries/source/nvtt/src/src/nvimage/ImageIO.cpp (working copy)
-@@ -621,7 +621,7 @@
- png_ptr = png_create_read_struct(PNG_LIBPNG_VER_STRING, NULL, NULL, NULL);
- if (png_ptr == NULL) {
- // nvDebug( "*** LoadPNG: Error allocating read buffer in file '%s'.\n", name );
-- return false;
-+ return NULL;
- }
-
- // Allocate/initialize a memory block for the image information
-@@ -629,7 +629,7 @@
- if (info_ptr == NULL) {
- png_destroy_read_struct(&png_ptr, NULL, NULL);
- // nvDebug( "*** LoadPNG: Error allocating image information for '%s'.\n", name );
-- return false;
-+ return NULL;
- }
-
- // Set up the error handling
-@@ -636,7 +636,7 @@
- if (setjmp(png_jmpbuf(png_ptr))) {
- png_destroy_read_struct(&png_ptr, &info_ptr, NULL);
- // nvDebug( "*** LoadPNG: Error reading png file '%s'.\n", name );
-- return false;
-+ return NULL;
- }
-
- // Set up the I/O functions.
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-11-12 23:51:25 UTC (rev 195480)
+++ PKGBUILD 2016-11-13 00:05:21 UTC (rev 195481)
@@ -3,9 +3,9 @@
# Contributor: t3ddy <t3ddy1988 "at" gmail {dot} com>
# Contributor: Adrián Chaves Fernández (Gallaecio) <adriyetichaves at gmail.com>
pkgname=0ad
-pkgver=a20
-_pkgver=0.0.20-alpha
-pkgrel=10
+pkgver=a21
+_pkgver=0.0.21-alpha
+pkgrel=1
pkgdesc="Cross-platform, 3D and historically-based real-time strategy game"
arch=('i686' 'x86_64')
url="http://play0ad.com/"
@@ -14,16 +14,12 @@
'libxml2' 'openal' 'sdl2' 'wxgtk' 'zlib' 'libgl' '0ad-data' 'glu'
'gloox' 'miniupnpc' 'icu' 'nspr')
makedepends=('boost' 'cmake' 'mesa' 'zip' 'python2' 'libsm')
-source=("http://releases.wildfiregames.com/$pkgname-$_pkgver-unix-build.tar.xz" 0ad-gcc6.patch)
-md5sums=('3218564020a07ce905a3db84476a3408'
- '0b28aaa15e8a709ffd00e22aad69b6aa')
+source=("http://releases.wildfiregames.com/$pkgname-$_pkgver-unix-build.tar.xz")
+md5sums=('095eade8c9b3deaf25d0d7fa423ff860')
prepare() {
cd "$srcdir/$pkgname-$_pkgver/"
sed -i "s/env python/env python2/g" libraries/source/cxxtest-4.4/bin/cxxtestgen
-
- # Fix build with GCC 6
- patch -p0 -i ../0ad-gcc6.patch
}
build() {
More information about the arch-commits
mailing list