drop %ghc_arches_with_ghci
This commit is contained in:
parent
289f1a987f
commit
adcc58afdc
@ -11,7 +11,6 @@ Summary: Efficient Arrays
|
||||
License: BSD
|
||||
Url: https://hackage.haskell.org/package/%{pkg_name}
|
||||
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
||||
Patch1: vector-debian-no_ann_without_ghci.patch
|
||||
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-rpm-macros
|
||||
@ -39,10 +38,6 @@ This package provides the Haskell %{pkg_name} library development files.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{pkg_name}-%{version}
|
||||
# Monad.hs fails on ppc too
|
||||
%ifnarch %(echo %{ghc_arches_with_ghci} | sed -e s/ppc//)
|
||||
%patch1 -p1 -b .orig
|
||||
%endif
|
||||
|
||||
|
||||
%build
|
||||
|
||||
@ -1,24 +0,0 @@
|
||||
http://hackage.haskell.org/trac/ghc/ticket/4268
|
||||
|
||||
--- haskell-vector-0.9.1.orig/Data/Vector/Fusion/Stream/Monadic.hs 2012-02-10 23:48:51.000000000 +0100
|
||||
+++ haskell-vector-0.9.1/Data/Vector/Fusion/Stream/Monadic.hs 2012-02-10 23:49:04.000000000 +0100
|
||||
@@ -94,15 +94,19 @@
|
||||
import Data.Word ( Word8, Word16, Word32, Word, Word64 )
|
||||
|
||||
#if __GLASGOW_HASKELL__ >= 700
|
||||
+#if 0
|
||||
import GHC.Exts ( SpecConstrAnnotation(..) )
|
||||
#endif
|
||||
+#endif
|
||||
|
||||
#include "vector.h"
|
||||
|
||||
data SPEC = SPEC | SPEC2
|
||||
#if __GLASGOW_HASKELL__ >= 700
|
||||
+#if 0
|
||||
{-# ANN type SPEC ForceSpecConstr #-}
|
||||
#endif
|
||||
+#endif
|
||||
|
||||
emptyStream :: String
|
||||
{-# NOINLINE emptyStream #-}
|
||||
Loading…
Reference in New Issue
Block a user