diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2017-08-20 17:07:34 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2017-08-20 17:08:12 +0100 |
commit | b02ce91481184fcf5dfd4339241802f9f5edb433 (patch) | |
tree | 5adde56a9ada3a23482773680310d18567d48289 /app-forensics | |
parent | app-vim/cream: remove maintainer. (diff) | |
download | gentoo-b02ce91481184fcf5dfd4339241802f9f5edb433.tar.gz gentoo-b02ce91481184fcf5dfd4339241802f9f5edb433.tar.bz2 gentoo-b02ce91481184fcf5dfd4339241802f9f5edb433.zip |
app-forensics/quickfuzz: tweak for derive-2.6
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'app-forensics')
-rw-r--r-- | app-forensics/quickfuzz/files/quickfuzz-0.1_p20160920-derive-2.6.patch | 21 | ||||
-rw-r--r-- | app-forensics/quickfuzz/quickfuzz-0.1_p20160920.ebuild | 1 |
2 files changed, 22 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 + diff --git a/app-forensics/quickfuzz/quickfuzz-0.1_p20160920.ebuild b/app-forensics/quickfuzz/quickfuzz-0.1_p20160920.ebuild index a7532da69adc..b16b564b392b 100644 --- a/app-forensics/quickfuzz/quickfuzz-0.1_p20160920.ebuild +++ b/app-forensics/quickfuzz/quickfuzz-0.1_p20160920.ebuild @@ -98,6 +98,7 @@ DEPEND="${RDEPEND} PATCHES=( "${FILESDIR}"/${P}-ghc-8.0.2_rc1.patch "${FILESDIR}"/${P}-directory-1.3.patch + "${FILESDIR}"/${P}-derive-2.6.patch ) # $1 - target tarball name (not including extension) |