[arch-commits] Commit in gnuchess/trunk (PKGBUILD gnuchess-gcc4.patch)

Allan McRae allan at archlinux.org
Sun Aug 17 05:17:40 UTC 2008


    Date: Sunday, August 17, 2008 @ 01:17:40
  Author: allan
Revision: 9211

upgpkg: gnuchess 5.07-3
    ncurses rebuild

Added:
  gnuchess/trunk/gnuchess-gcc4.patch
Modified:
  gnuchess/trunk/PKGBUILD

---------------------+
 PKGBUILD            |   16 ++++++++++------
 gnuchess-gcc4.patch |   11 +++++++++++
 2 files changed, 21 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-08-17 05:14:34 UTC (rev 9210)
+++ PKGBUILD	2008-08-17 05:17:40 UTC (rev 9211)
@@ -3,16 +3,20 @@
 # Contributor: Tom Newsom <Jeepster at gmx.co.uk>
 pkgname=gnuchess
 pkgver=5.07
-pkgrel=2
+pkgrel=3
 pkgdesc="Lets most modern computers play a full game of chess"
+url="http://www.gnu.org/software/chess/chess.html"
+arch=('i686' 'x86_64')
+license=('GPL')
 depends=('glibc' 'ncurses' 'readline')
-source=(ftp://ftp.gnu.org/pub/gnu/chess/$pkgname-$pkgver.tar.gz)
-license=('GPL2')
-arch=('i686' 'x86_64')
-md5sums=('259da00aa559e5624c65279484fccaf7')
-url="http://www.gnu.org/software/chess/chess.html"
+source=(ftp://ftp.gnu.org/pub/gnu/chess/$pkgname-$pkgver.tar.gz
+        gnuchess-gcc4.patch)
+md5sums=('259da00aa559e5624c65279484fccaf7'
+         'a99f426060828d5de76f4fffe941fe7b')
+
 build() {
   cd $startdir/src/$pkgname-$pkgver
+  patch -Np1 -i $srcdir/gnuchess-gcc4.patch
   ./configure --prefix=/usr
   make || return 1
   make prefix=$startdir/pkg/usr install

Added: gnuchess-gcc4.patch
===================================================================
--- gnuchess-gcc4.patch	                        (rev 0)
+++ gnuchess-gcc4.patch	2008-08-17 05:17:40 UTC (rev 9211)
@@ -0,0 +1,11 @@
+--- gnuchess-5.07/src/input.c.orig	2005-11-11 00:45:40.000000000 +0100
++++ gnuchess-5.07/src/input.c	2005-11-11 00:45:51.000000000 +0100
+@@ -92,7 +92,7 @@
+   fgets(inputstr, MAXSTR, stdin);
+ }
+ 
+-static pthread_t input_thread;
++pthread_t input_thread;
+ 
+ /* Mutex and condition variable for thread communication */
+ 




More information about the arch-commits mailing list