]> git.pld-linux.org Git - packages/clisp.git/commitdiff
- fix building on new gcc
authortommat <tommat@pld-linux.org>
Tue, 30 Jun 2009 09:04:22 +0000 (09:04 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    clisp-gcc4.patch -> 1.1
    clisp.spec -> 1.59

clisp-gcc4.patch [new file with mode: 0644]
clisp.spec

diff --git a/clisp-gcc4.patch b/clisp-gcc4.patch
new file mode 100644 (file)
index 0000000..c8a9845
--- /dev/null
@@ -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
index e4c078c801cef1206b5cd33fbba3cc727b2ed5f1..94b1815b950568b2a6ec223dcdf742c3104e4429 100644 (file)
@@ -16,6 +16,7 @@ Source0:      http://dl.sourceforge.net/clisp/%{name}-%{version}.tar.bz2
 # 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
@@ -79,6 +80,7 @@ software livre, distribuído sob os termos da GNU GPL.
 %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
This page took 0.120877 seconds and 4 git commands to generate.