summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2017-02-16 21:47:26 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2017-02-16 21:57:12 +0000
commit812682bcec8310c15b12f0000af537350ff77525 (patch)
tree01d5924e2c4b473fef37b9692d1f22e60c680ee8 /app-forensics
parentdev-haskell/glib: bump up to 0.13.4.1 (diff)
downloadgentoo-812682bcec8310c15b12f0000af537350ff77525.tar.gz
gentoo-812682bcec8310c15b12f0000af537350ff77525.tar.bz2
gentoo-812682bcec8310c15b12f0000af537350ff77525.zip
app-forensics/quickfuzz: tweak for ghc-8.0.2
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'app-forensics')
-rw-r--r--app-forensics/quickfuzz/files/quickfuzz-0.1_p20160920-directory-1.3.patch9
-rw-r--r--app-forensics/quickfuzz/files/quickfuzz-0.1_p20160920-ghc-8.0.2_rc1.patch8
-rw-r--r--app-forensics/quickfuzz/quickfuzz-0.1_p20160920.ebuild7
3 files changed, 23 insertions, 1 deletions
diff --git a/app-forensics/quickfuzz/files/quickfuzz-0.1_p20160920-directory-1.3.patch b/app-forensics/quickfuzz/files/quickfuzz-0.1_p20160920-directory-1.3.patch
new file mode 100644
index 00000000000..34e92089b53
--- /dev/null
+++ b/app-forensics/quickfuzz/files/quickfuzz-0.1_p20160920-directory-1.3.patch
@@ -0,0 +1,9 @@
+diff --git a/src/Check.hs b/src/Check.hs
+index b38a56a..246bf24 100644
+--- a/src/Check.hs
++++ b/src/Check.hs
+@@ -23,3 +23,3 @@ import System.Posix.Env
+ import System.Exit
+-import System.Directory
++import System.Directory hiding (getFileSize)
+ import System.IO.Unsafe
diff --git a/app-forensics/quickfuzz/files/quickfuzz-0.1_p20160920-ghc-8.0.2_rc1.patch b/app-forensics/quickfuzz/files/quickfuzz-0.1_p20160920-ghc-8.0.2_rc1.patch
new file mode 100644
index 00000000000..0e8abbd9d79
--- /dev/null
+++ b/app-forensics/quickfuzz/files/quickfuzz-0.1_p20160920-ghc-8.0.2_rc1.patch
@@ -0,0 +1,8 @@
+diff --git a/src/Midi.hs b/src/Midi.hs
+index 2b7a359..8c4eacc 100644
+--- a/src/Midi.hs
++++ b/src/Midi.hs
+@@ -1,2 +1,2 @@
+-{-# LANGUAGE TemplateHaskell, FlexibleInstances#-}
++{-# LANGUAGE TemplateHaskell, FlexibleInstances, OverlappingInstances #-}
+
diff --git a/app-forensics/quickfuzz/quickfuzz-0.1_p20160920.ebuild b/app-forensics/quickfuzz/quickfuzz-0.1_p20160920.ebuild
index a32bca2ee67..a4e592300ba 100644
--- a/app-forensics/quickfuzz/quickfuzz-0.1_p20160920.ebuild
+++ b/app-forensics/quickfuzz/quickfuzz-0.1_p20160920.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -96,6 +96,11 @@ DEPEND="${RDEPEND}
>=dev-haskell/cabal-1.18.1.3
"
+PATCHES=(
+ "${FILESDIR}"/${P}-ghc-8.0.2_rc1.patch
+ "${FILESDIR}"/${P}-directory-1.3.patch
+)
+
# $1 - target tarball name (not including extension)
make_snapshot() {
ln -s "${S}" "${WORKDIR}"/"$1" || die