[arch-commits] Commit in ccscript3/trunk (PKGBUILD ccscript3-1.1.7-gcc44.patch)

Giovanni Scafora giovanni at archlinux.org
Mon Jul 6 02:20:00 UTC 2009


    Date: Sunday, July 5, 2009 @ 22:20:00
  Author: giovanni
Revision: 44984

upgpkg: ccscript3 1.1.7-1
    commoncpp2 rebuild

Added:
  ccscript3/trunk/ccscript3-1.1.7-gcc44.patch
Modified:
  ccscript3/trunk/PKGBUILD

-----------------------------+
 PKGBUILD                    |   16 ++++++++++------
 ccscript3-1.1.7-gcc44.patch |   21 +++++++++++++++++++++
 2 files changed, 31 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-07-05 23:33:45 UTC (rev 44983)
+++ PKGBUILD	2009-07-06 02:20:00 UTC (rev 44984)
@@ -3,21 +3,25 @@
 # Contributor: John Proctor <jproctor at prium.net>
 
 pkgname=ccscript3
-pkgver=1.1.0
+pkgver=1.1.7
 pkgrel=1
 pkgdesc="GNU ccScript"
 arch=('i686' 'x86_64')
 url="http://www.gnu.org/software/ccscript"
 license=('GPL2')
-depends=('commoncpp2')
+depends=('commoncpp2' 'unixodbc')
+makedepends=('pkgconfig')
 replaces=('ccscript')
 options=('!libtool')
-source=(http://downloads.sourceforge.net/sourceforge/gnutelephony/$pkgname-$pkgver.tar.gz)
-md5sums=('cee1b87d146d2abb82379f5c65d22f3b')
+source=(ftp://ftp.gnu.org/pub/gnu/ccscript/$pkgname-$pkgver.tar.gz
+        ccscript3-1.1.7-gcc44.patch)
+md5sums=('126435f25568e88f0e5daf189dc0c847'
+         'afdebdbcf835ee584a2a1c8eeddb0fdc')
 
 build() {
-  cd $startdir/src/$pkgname-$pkgver
+  cd ${srcdir}/${pkgname}-${pkgver}
+  patch -Np1 -i ${srcdir}/ccscript3-1.1.7-gcc44.patch || return 1
   ./configure --prefix=/usr
   make || return 1
-  make DESTDIR=$startdir/pkg install
+  make DESTDIR=${pkgdir} install
 }

Added: ccscript3-1.1.7-gcc44.patch
===================================================================
--- ccscript3-1.1.7-gcc44.patch	                        (rev 0)
+++ ccscript3-1.1.7-gcc44.patch	2009-07-06 02:20:00 UTC (rev 44984)
@@ -0,0 +1,21 @@
+--- a/optional/odbc/thread.cpp	2009-07-06 03:56:14.000000000 -0700
++++ b/optional/odbc/thread.cpp	2009-07-06 03:56:14.000000000 -0700
+@@ -64,7 +64,7 @@
+ 	SQLCHAR errmsg[128];
+ 	SQLSMALLINT mlen, col, cols;
+ #if ODBCVER >= 0x0300 && !defined(__ppc__)
+-	SQLINTEGER rowcnt;
++	long int rowcnt;
+ #else
+ 	long int rowcnt;
+ #endif
+--- a/src/script3.h	2007-08-11 04:39:53.000000000 -0700
++++ b/src/script3.h	2009-07-06 04:10:28.000000000 -0700
+@@ -40,6 +40,7 @@
+  * @short Threaded step execute scripting engine framework.
+  **/
+ 
++#include <cstdlib>
+ 
+ #ifndef	CCXX_SCRIPT3_H_
+ #define	CCXX_SCRIPT3_H_




More information about the arch-commits mailing list