[arch-commits] Commit in eboard/trunk (PKGBUILD gcc-4.4.patch)

Andrea Scarpino andrea at archlinux.org
Mon Jan 18 04:48:23 EST 2010


    Date: Monday, January 18, 2010 @ 04:48:23
  Author: andrea
Revision: 63674

upgpkg: eboard 1.1.1-4
    libpng rebuild

Added:
  eboard/trunk/gcc-4.4.patch
Modified:
  eboard/trunk/PKGBUILD

---------------+
 PKGBUILD      |   19 ++++++++++++++-----
 gcc-4.4.patch |   11 +++++++++++
 2 files changed, 25 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-01-18 09:48:13 UTC (rev 63673)
+++ PKGBUILD	2010-01-18 09:48:23 UTC (rev 63674)
@@ -1,10 +1,11 @@
 # $Id$
-# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Maintainer:
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
 # Contributor: Jason Chu <jason at archlinux.org>
 
 pkgname=eboard
 pkgver=1.1.1
-pkgrel=3
+pkgrel=4
 pkgdesc="A chess interface to ICS and chess engines"
 url="http://www.bergo.eng.br/eboard/"
 arch=('i686' 'x86_64')
@@ -12,14 +13,19 @@
 makedepends=('perl')
 license=('GPL')
 source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2
-	'eboard.desktop' 'eboard.png')
+	'eboard.desktop'
+	'eboard.png'
+	'gcc-4.4.patch')
 md5sums=('03dcdaa2bc85218b1b18c4bee276fea7'
 	'9c933f467c8482624fa9f9e56901b456'
-	'2cf1bd8f4623be7540c0f2386baf355e')
+	'2cf1bd8f4623be7540c0f2386baf355e'
+	'0a4e70bcda6aaf06f4290cfbea730114')
 
 build() {
    cd ${srcdir}/$pkgname-$pkgver
 
+   patch -Np0 -i ${srcdir}/gcc-4.4.patch
+
    ./configure --prefix=/usr --man-prefix=/usr/share/man
    make || return 1
    make DESTDIR=${pkgdir} install
@@ -30,4 +36,7 @@
    install -m644 ${srcdir}/eboard.png \
      ${pkgdir}/usr/share/pixmaps || return 1
 }
-
+md5sums=('03dcdaa2bc85218b1b18c4bee276fea7'
+         '9c933f467c8482624fa9f9e56901b456'
+         '2cf1bd8f4623be7540c0f2386baf355e'
+         '0a4e70bcda6aaf06f4290cfbea730114')

Added: gcc-4.4.patch
===================================================================
--- gcc-4.4.patch	                        (rev 0)
+++ gcc-4.4.patch	2010-01-18 09:48:23 UTC (rev 63674)
@@ -0,0 +1,11 @@
+--- ntext.cc
++++ ntext.cc
+@@ -244,7 +244,7 @@
+     return;
+   }
+ 
+-  p = strchr(text, '\n');
++  p = strchr((char *)text, '\n');
+   if (p!=NULL) {
+     *p = 0;
+     i = strlen(text);



More information about the arch-commits mailing list