rpms/kaya/devel kaya-0.5.1-ghc.patch,NONE,1.1 kaya.spec,1.4,1.5

Jochen Schmitt s4504kr at fedoraproject.org
Tue Mar 3 18:15:55 UTC 2009


Author: s4504kr

Update of /cvs/extras/rpms/kaya/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv23675

Modified Files:
	kaya.spec 
Added Files:
	kaya-0.5.1-ghc.patch 
Log Message:
Fix ghc-6.10 relelated issues

kaya-0.5.1-ghc.patch:

--- NEW FILE kaya-0.5.1-ghc.patch ---
diff -up kaya-0.5.1/compiler/REPL.hs.ghc kaya-0.5.1/compiler/REPL.hs
--- kaya-0.5.1/compiler/REPL.hs.ghc	2009-03-03 19:01:07.000000000 +0100
+++ kaya-0.5.1/compiler/REPL.hs	2009-03-03 19:01:45.000000000 +0100
@@ -32,7 +32,7 @@ import List
 import CForeign
 import Ptr
 import IO
-import System.Console.Readline
+import System.Console.Editline.Readline
 import System.Directory
 
 foreign import ccall "repl_load.h" interp_load :: Ptr CChar -> IO ()


Index: kaya.spec
===================================================================
RCS file: /cvs/extras/rpms/kaya/devel/kaya.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- kaya.spec	25 Feb 2009 10:15:09 -0000	1.4
+++ kaya.spec	3 Mar 2009 18:15:25 -0000	1.5
@@ -4,7 +4,7 @@
 
 Name:		kaya
 Version:	0.5.1
-Release:	2%{?dist}
+Release:	3%{?dist}
 Summary:	A Statically typed, imperative programming-language
 
 Group:		Development/Languages
@@ -13,6 +13,7 @@
 Source0:	http://kayalang.org/src/%{name}-%{version}.tgz
 Patch1:		kaya-0.5.1-tst.patch
 Patch2:		kaya-0.5.0-conf.patch
+Patch3:		kaya-0.5.1-ghc.patch
 
 #
 # ghc is not supported on alpha and ppc64
@@ -22,11 +23,12 @@
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  autoconf
-BuildRequires:	ghc, gc-devel, happy, zlib-devel, gnutls-devel
+BuildRequires:	ghc >= 6.10.0, gc-devel, happy, zlib-devel, gnutls-devel
 BuildRequires:  libgcrypt-devel, pcre-devel
 BuildRequires:	postgresql-devel, mysql-devel, sqlite-devel
 BuildRequires:  gd-devel, SDL-devel, mesa-libGL-devel
 BuildRequires:  ncurses-devel, freeglut-devel
+BuildRequires:	libtool
 
 %description
 Kaya is a compiled statically typed (ie, types are checked at compile time)
@@ -52,6 +54,7 @@
 %setup -q
 %patch1 -p1
 %patch2 -p1 
+%patch3 -p1
 
 %build
 autoconf
@@ -95,7 +98,10 @@
 %doc examples/ docs/
 
 %changelog
-* Wed Feb 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.5.1-2
+* Tue Mar  3 2009 Jochen Schmitt <Jochen herr-schmitt de> 0.5.1-3
+- Fix ghc-6.10 releated issues
+
+* Wed Feb 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> 0.5.1-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 
 * Mon Aug  4 2008 Jochen Schmitt <Jochen herr-schmitt de> 0.5.1-1




More information about the fedora-extras-commits mailing list