diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-lang/whitespace/files | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-lang/whitespace/files')
-rw-r--r-- | dev-lang/whitespace/files/whitespace-0.4-ghc-7.10.patch | 37 | ||||
-rw-r--r-- | dev-lang/whitespace/files/whitespace-cabal.patch | 24 |
2 files changed, 61 insertions, 0 deletions
diff --git a/dev-lang/whitespace/files/whitespace-0.4-ghc-7.10.patch b/dev-lang/whitespace/files/whitespace-0.4-ghc-7.10.patch new file mode 100644 index 000000000000..6ee31f4e66e3 --- /dev/null +++ b/dev-lang/whitespace/files/whitespace-0.4-ghc-7.10.patch @@ -0,0 +1,37 @@ +diff --git a/VM.hs b/VM.hs +index 8ef93ce..e8113a0 100644 +--- a/VM.hs ++++ b/VM.hs +@@ -1,7 +1,7 @@ + module VM where + +-import Array +-import IO ++import Data.Array ++import System.IO + import System.Random + + {- Stack machine for running whitespace programs -} +diff --git a/main.hs b/main.hs +index 83c60b7..a22ff15 100644 +--- a/main.hs ++++ b/main.hs +@@ -26,7 +26,7 @@ import Input + import VM + import Tokens + +-import System(getArgs) ++import System.Environment (getArgs) + + main :: IO () + main = do +diff --git a/whitespace.cabal b/whitespace.cabal +index 95ae434..e57ac58 100644 +--- a/whitespace.cabal ++++ b/whitespace.cabal +@@ -15,4 +15,4 @@ Extra-Source-Files: VM.hs Tokens.hs Input.hs + + Executable wspace + Main-is: main.hs +- Build-Depends: haskell98, random ++ Build-Depends: base, array, random diff --git a/dev-lang/whitespace/files/whitespace-cabal.patch b/dev-lang/whitespace/files/whitespace-cabal.patch new file mode 100644 index 000000000000..f686d8c4851d --- /dev/null +++ b/dev-lang/whitespace/files/whitespace-cabal.patch @@ -0,0 +1,24 @@ +diff -u -N WSpace/Setup.lhs WSpace.patched/Setup.lhs +--- WSpace/Setup.lhs 1970-01-01 01:00:00.000000000 +0100 ++++ WSpace.patched/Setup.lhs 2013-08-09 01:14:00.415264165 +0200 +@@ -0,0 +1,3 @@ ++#!/usr/bin/env runhaskell ++> import Distribution.Simple ++> main = defaultMain +diff -u -N WSpace/WSpace.cabal WSpace.patched/WSpace.cabal +--- WSpace/WSpace.cabal 1970-01-01 01:00:00.000000000 +0100 ++++ WSpace.patched/WSpace.cabal 2013-08-09 01:44:19.129339177 +0200 +@@ -0,0 +1,10 @@ ++name: WSpace ++version: 0.3 ++synopsis: Whitespace implementation in Haskell. ++category: Language ++Build-Type: Simple ++cabal-version: >= 1.2 ++ ++Executable wspace ++ Main-Is: main.hs ++ Build-Depends: haskell98 +Common subdirectories: WSpace/docs and WSpace.patched/docs +Common subdirectories: WSpace/emacs and WSpace.patched/emacs +Common subdirectories: WSpace/examples and WSpace.patched/examples |