remove old patch

This commit is contained in:
Ricky Elrod 2014-04-10 17:14:32 -04:00
parent dde0a44edb
commit 83c503ea73
2 changed files with 2 additions and 20 deletions

View File

@ -8,7 +8,6 @@ Summary: Parser for JavaScript
License: BSD
URL: http://hackage.haskell.org/package/%{pkg_name}
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
Patch0: language-javascript-0.5.8-add-BangPatterns.patch
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
@ -18,9 +17,9 @@ BuildRequires: ghc-blaze-builder-devel
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-containers-devel
BuildRequires: ghc-mtl-devel
BuildRequires: ghc-utf8-light-devel
BuildRequires: ghc-utf8-string-devel
BuildRequires: happy
BuildRequires: alex
# End cabal-rpm deps
%description
@ -41,7 +40,6 @@ the Haskell %{pkg_name} library.
%prep
%setup -q -n %{pkg_name}-%{version}
%patch0 -p1 -b .orig
%build
@ -71,6 +69,7 @@ the Haskell %{pkg_name} library.
%changelog
* Thu Apr 10 2014 Ricky Elrod <codeblock@fedoraproject.org> - 0.5.12-1
- Latest upstream release.
- Remove old patch.
* Mon Jan 20 2014 Ricky Elrod <codeblock@fedoraproject.org> - 0.5.8-5
- Another rebuild.

View File

@ -1,17 +0,0 @@
# Author : Erik de Castro Lopo <erikd@mega-nerd.com>
# Description : Fix compiler error on big endian systems
Upstream ships a haskell source file that was generated by the alex lexer
generator and that file requires the BangPatterns pragma on big endian
systems.
# Date : Sun, 22 Apr 2012 13:24:38 +1000
Index: haskell-language-javascript-0.4.10/src/Language/JavaScript/Parser/Lexer.hs
===================================================================
--- haskell-language-javascript-0.4.10.orig/src/Language/JavaScript/Parser/Lexer.hs 2012-03-09 06:56:23.000000000 +1100
+++ haskell-language-javascript-0.4.10/src/Language/JavaScript/Parser/Lexer.hs 2012-04-22 13:03:07.000000000 +1000
@@ -1,4 +1,4 @@
-{-# LANGUAGE CPP,MagicHash #-}
+{-# LANGUAGE CPP,MagicHash,BangPatterns #-}
{-# LINE 1 "src-dev/Language/JavaScript/Parser/Lexer.x" #-}