Author: tommat                       Date: Tue Jun 30 09:04:27 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix building on new gcc

---- Files affected:
packages/clisp:
   clisp.spec (1.58 -> 1.59) , clisp-gcc4.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/clisp/clisp.spec
diff -u packages/clisp/clisp.spec:1.58 packages/clisp/clisp.spec:1.59
--- packages/clisp/clisp.spec:1.58      Mon May  4 00:47:45 2009
+++ packages/clisp/clisp.spec   Tue Jun 30 11:04:22 2009
@@ -17,6 +17,7 @@
 # Source0-md5: 8fa89bb13e865fc7c7150b82682f35af
 Patch0:                %{name}-shell.patch
 Patch1:                %{name}-alpha.patch
+Patch2:                %{name}-gcc4.patch
 URL:           http://clisp.cons.org/
 BuildRequires: ffcall-devel
 BuildRequires: gettext-devel
@@ -80,6 +81,7 @@
 %setup -q
 %patch0 -p1
 #%patch1 -p1
+%patch2 -p1
 
 # changing default -O to optflags causes memory fault on amd64
 # - so something is broken... code or compiler
@@ -163,6 +165,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.59  2009/06/30 09:04:22  tommat
+- fix building on new gcc
+
 Revision 1.58  2009/05/03 22:47:45  hawk
 - release 6
 

================================================================
Index: packages/clisp/clisp-gcc4.patch
diff -u /dev/null packages/clisp/clisp-gcc4.patch:1.1
--- /dev/null   Tue Jun 30 11:04:27 2009
+++ packages/clisp/clisp-gcc4.patch     Tue Jun 30 11:04:22 2009
@@ -0,0 +1,11 @@
+--- clisp-2.47/src/time.d.orig 2008-07-22 19:10:25.000000000 +0200
++++ clisp-2.47/src/time.d      2009-06-30 10:53:19.000000000 +0200
+@@ -302,7 +302,7 @@
+  #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
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/clisp/clisp.spec?r1=1.58&r2=1.59&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to