]> git.pld-linux.org Git - packages/bigloo.git/commitdiff
- bigloo-gcc4.patch: removed lvalue cast
authorqrczak <qrczak@pld-linux.org>
Fri, 13 May 2005 13:53:23 +0000 (13:53 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- Release 2

Changed files:
    bigloo-gcc4.patch -> 1.1
    bigloo.spec -> 1.12

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

diff --git a/bigloo-gcc4.patch b/bigloo-gcc4.patch
new file mode 100644 (file)
index 0000000..81635cf
--- /dev/null
@@ -0,0 +1,11 @@
+--- bigloo2.6b/runtime/Clib/cdate.c~   2003-11-17 10:38:53.000000000 +0100
++++ bigloo2.6b/runtime/Clib/cdate.c    2005-05-13 15:43:36.237984495 +0200
+@@ -115,7 +115,7 @@
+    struct tm *t;
+    char *s;
+-   t = gmtime( &((time_t)sec) );
++   t = gmtime( (time_t *)&sec );
+    s = asctime( t );
+    return string_to_bstring_len( s, (int)strlen( s ) - 1 );
index c76ded79a9cfafeb2fd0b41639d8c073338d0107..b8ab19c23e521ef6bf0bb8cd43d0cc58d912c485 100644 (file)
@@ -2,12 +2,13 @@ Summary:      Bigloo is compiler for the Scheme programming language
 Summary(pl):   Bigloo - kompilator jêzyka programowania Scheme
 Name:          bigloo
 Version:       2.6b
-Release:       1
+Release:       2
 License:       see README file
 Group:         Development/Languages
 Source0:       ftp://ftp-sop.inria.fr/mimosa/fp/Bigloo/%{name}%{version}.tar.gz
 # Source0-md5: bbb788e70fafe2191f1da87c6fdb3f01
 Patch0:                %{name}-install.patch
+Patch1:                %{name}-gcc4.patch
 URL:           http://www-sop.inria.fr/mimosa/fp/Bigloo/
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -24,6 +25,7 @@ Scheme i w C. Daje szybkie i ma
 %prep
 %setup -q -n %{name}%{version}
 %patch0 -p1
+%patch1 -p1
 
 %build
 ./configure \
This page took 0.064675 seconds and 4 git commands to generate.