commit 53b63fde8704318faec5bb5ab9c91ed344580920
Author: Jan RÄ™korajski <[email protected]>
Date:   Fri May 31 12:08:49 2013 +0200

    - tell Cabal to use ld.bfd
    - rel 4

 ghc-use-ld.bfd.patch | 11 +++++++++++
 ghc.spec             |  4 +++-
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/ghc.spec b/ghc.spec
index c08a5c1..5b52463 100644
--- a/ghc.spec
+++ b/ghc.spec
@@ -18,7 +18,7 @@ Summary:      Glasgow Haskell Compilation system
 Summary(pl.UTF-8):     System kompilacji Glasgow Haskell
 Name:          ghc
 Version:       7.6.3
-Release:       3
+Release:       4
 License:       BSD-like w/o adv. clause
 Group:         Development/Languages
 Source0:       
http://haskell.org/ghc/dist/%{version}/%{name}-%{version}-src.tar.bz2
@@ -32,6 +32,7 @@ Source4:      
http://haskell.org/ghc/dist/%{version}/%{name}-%{version}-x86_64-unknow
 Patch0:                %{name}-pld.patch
 Patch1:                %{name}-pkgdir.patch
 Patch2:                %{name}-winpaths.patch
+Patch3:                %{name}-use-ld.bfd.patch
 URL:           http://haskell.org/ghc/
 BuildRequires: OpenAL-devel
 BuildRequires: OpenGL-GLU-devel
@@ -145,6 +146,7 @@ mv %{name}-%{version} binsrc
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 %build
 # use ld.bfd
diff --git a/ghc-use-ld.bfd.patch b/ghc-use-ld.bfd.patch
new file mode 100644
index 0000000..3501462
--- /dev/null
+++ b/ghc-use-ld.bfd.patch
@@ -0,0 +1,11 @@
+--- ghc-7.6.3/libraries/Cabal/Cabal/Distribution/Simple/Program/Builtin.hs~    
2013-04-18 23:32:04.000000000 +0200
++++ ghc-7.6.3/libraries/Cabal/Cabal/Distribution/Simple/Program/Builtin.hs     
2013-05-31 11:01:32.228834060 +0200
+@@ -255,7 +255,7 @@
+ greencardProgram = simpleProgram "greencard"
+ 
+ ldProgram :: Program
+-ldProgram = simpleProgram "ld"
++ldProgram = simpleProgram "ld.bfd"
+ 
+ tarProgram :: Program
+ tarProgram = simpleProgram "tar"
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ghc.git/commitdiff/53b63fde8704318faec5bb5ab9c91ed344580920

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

Reply via email to