summaryrefslogtreecommitdiff
path: root/app-forensics/quickfuzz/files/quickfuzz-0.1_p20160920-derive-2.6.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-forensics/quickfuzz/files/quickfuzz-0.1_p20160920-derive-2.6.patch
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'app-forensics/quickfuzz/files/quickfuzz-0.1_p20160920-derive-2.6.patch')
-rw-r--r--app-forensics/quickfuzz/files/quickfuzz-0.1_p20160920-derive-2.6.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/app-forensics/quickfuzz/files/quickfuzz-0.1_p20160920-derive-2.6.patch b/app-forensics/quickfuzz/files/quickfuzz-0.1_p20160920-derive-2.6.patch
new file mode 100644
index 000000000000..6e0f25636b6a
--- /dev/null
+++ b/app-forensics/quickfuzz/files/quickfuzz-0.1_p20160920-derive-2.6.patch
@@ -0,0 +1,21 @@
+diff --git a/src/DeriveShow.hs b/src/DeriveShow.hs
+index c11dd03..40cc205 100644
+--- a/src/DeriveShow.hs
++++ b/src/DeriveShow.hs
+@@ -1,5 +1,5 @@
+ {-# LANGUAGE TemplateHaskell #-}
++{-# LANGUAGE StandaloneDeriving #-}
+ module DeriveShow where
+
+-import Data.Derive.Show
+ import Data.DeriveTH
+@@ -12,3 +12,2 @@ isArbInsName = isinsName ''Show
+ devShow :: Name -> Q [Dec]
+-devShow = megaderive (derive makeShow) isArbInsName
+-
++devShow = megaderive (\n -> [d| deriving instance Show $(return (ConT n)) |]) isArbInsName
+--- a/QuickFuzz.cabal
++++ b/QuickFuzz.cabal
+@@ -75,0 +75,1 @@ executable QuickFuzz
++ default-extensions: StandaloneDeriving
+