[arch-commits] Commit in clisp/trunk (PKGBUILD clisp-2.47-cpp.patch)

Allan McRae allan at archlinux.org
Fri Jun 19 00:25:17 EDT 2009


    Date: Friday, June 19, 2009 @ 00:25:16
  Author: allan
Revision: 42950

upgpkg: clisp 2.47-2
    readline rebuild, patch for glibc-2.10

Added:
  clisp/trunk/clisp-2.47-cpp.patch
Modified:
  clisp/trunk/PKGBUILD

----------------------+
 PKGBUILD             |    7 +++++--
 clisp-2.47-cpp.patch |   13 +++++++++++++
 2 files changed, 18 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-06-19 04:15:47 UTC (rev 42949)
+++ PKGBUILD	2009-06-19 04:25:16 UTC (rev 42950)
@@ -11,11 +11,14 @@
 provides=('common-lisp')
 makedepends=('ffcall')
 options=('!makeflags')
-source=(http://downloads.sourceforge.net/sourceforge/clisp/clisp-${pkgver}.tar.bz2)
-md5sums=('8fa89bb13e865fc7c7150b82682f35af')
+source=(http://downloads.sourceforge.net/sourceforge/clisp/clisp-${pkgver}.tar.bz2
+        clisp-2.47-cpp.patch)
+md5sums=('8fa89bb13e865fc7c7150b82682f35af'
+         'c7b706135ca640cc088a4ecc68177d0f')
 
 build() {
   cd $srcdir/${pkgname}-${pkgver}
+  patch -Np1 -i $srcdir/clisp-2.47-cpp.patch
   unset CFLAGS CXXFLAGS
   ./configure --prefix=/usr --with-readline --with-ffcall src
   cd src

Added: clisp-2.47-cpp.patch
===================================================================
--- clisp-2.47-cpp.patch	                        (rev 0)
+++ clisp-2.47-cpp.patch	2009-06-19 04:25:16 UTC (rev 42950)
@@ -0,0 +1,13 @@
+diff -up clisp-2.47/modules/libsvm/svm.cpp clisp-2.47/modules/libsvm/svm
+diff -up clisp-2.47/src/time.d.cpp clisp-2.47/src/time.d
+--- clisp-2.47/src/time.d.cpp	2009-03-01 20:14:24.000000000 +0100
++++ clisp-2.47/src/time.d	2009-03-01 20:14:46.000000000 +0100
+@@ -302,7 +302,7 @@ global object internal_time_to_I (const 
+  #ifdef TIME_WIN32
+   return L2_to_I(tp->dwHighDateTime,tp->dwLowDateTime);
+  #endif
+-#elif TIME_METHOD = 1
++#elif TIME_METHOD == 1
+   return UL_to_I(*tp);
+ #else
+ #error internal_time_to_I: invalid TIME_METHOD



More information about the arch-commits mailing list