summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <mmk@levelnine.at>2022-08-23 19:21:44 +0200
committerConrad Kostecki <conikost@gentoo.org>2022-08-31 00:57:31 +0200
commit6c01aed88eb04a5766c445cec08ff40b1e6088fa (patch)
treeb79ea425a47fd15d2ff68333d97b3b459e2691df /dev-lang/ghc
parentmedia-libs/libjpeg-turbo: remove unused patch(es) (diff)
downloadgentoo-6c01aed88eb04a5766c445cec08ff40b1e6088fa.tar.gz
gentoo-6c01aed88eb04a5766c445cec08ff40b1e6088fa.tar.bz2
gentoo-6c01aed88eb04a5766c445cec08ff40b1e6088fa.zip
dev-lang/ghc: remove unused patches
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Portage 3.0.34 / pkgdev 0.2.1 / pkgcheck 0.10.14 Closes: https://github.com/gentoo/gentoo/pull/26984 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'dev-lang/ghc')
-rw-r--r--dev-lang/ghc/files/ghc-8.10.3-C99-typo-ac270.patch12
-rw-r--r--dev-lang/ghc/files/ghc-9.0.2-modorigin.patch24
-rw-r--r--dev-lang/ghc/files/ghc-9.0.2-verbose-modunusable.patch12
3 files changed, 0 insertions, 48 deletions
diff --git a/dev-lang/ghc/files/ghc-8.10.3-C99-typo-ac270.patch b/dev-lang/ghc/files/ghc-8.10.3-C99-typo-ac270.patch
deleted file mode 100644
index 762622a07e00..000000000000
--- a/dev-lang/ghc/files/ghc-8.10.3-C99-typo-ac270.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-autoconf-2.70 does not allow macros with underscores.
---- a/aclocal.m4
-+++ b/aclocal.m4
-@@ -673,7 +673,7 @@ AC_DEFUN([FP_SET_CFLAGS_C99],
- CPPFLAGS="$$3"
- unset ac_cv_prog_cc_c99
- dnl perform detection
-- _AC_PROG_CC_C99
-+ AC_PROG_CC_C99
- fp_cc_c99="$ac_cv_prog_cc_c99"
- case "x$ac_cv_prog_cc_c99" in
- x) ;; # noop
diff --git a/dev-lang/ghc/files/ghc-9.0.2-modorigin.patch b/dev-lang/ghc/files/ghc-9.0.2-modorigin.patch
deleted file mode 100644
index 3c7053778e98..000000000000
--- a/dev-lang/ghc/files/ghc-9.0.2-modorigin.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff --git a/compiler/GHC/Unit/State.hs b/compiler/GHC/Unit/State.hs
-index cefa5e5058bf68e68aaafadad0c7874189bf8225..92b38443c8378eb69db19a40d23abca47d6acee8 100644
---- a/compiler/GHC/Unit/State.hs
-+++ b/compiler/GHC/Unit/State.hs
-@@ -224,14 +224,16 @@ fromFlag :: ModuleOrigin
- fromFlag = ModOrigin Nothing [] [] True
-
- instance Semigroup ModuleOrigin where
-- ModOrigin e res rhs f <> ModOrigin e' res' rhs' f' =
-+ x@(ModOrigin e res rhs f) <> y@(ModOrigin e' res' rhs' f') =
- ModOrigin (g e e') (res ++ res') (rhs ++ rhs') (f || f')
- where g (Just b) (Just b')
- | b == b' = Just b
-- | otherwise = panic "ModOrigin: package both exposed/hidden"
-+ | otherwise = pprPanic "ModOrigin: package both exposed/hidden" $
-+ text "x: " <> ppr x $$ text "y: " <> ppr y
- g Nothing x = x
- g x Nothing = x
-- _x <> _y = panic "ModOrigin: hidden module redefined"
-+ x <> y = pprPanic "ModOrigin: hidden module redefined" $
-+ text "x: " <> ppr x $$ text "y: " <> ppr y
-
- instance Monoid ModuleOrigin where
- mempty = ModOrigin Nothing [] [] False
diff --git a/dev-lang/ghc/files/ghc-9.0.2-verbose-modunusable.patch b/dev-lang/ghc/files/ghc-9.0.2-verbose-modunusable.patch
deleted file mode 100644
index 13d12efdc0ec..000000000000
--- a/dev-lang/ghc/files/ghc-9.0.2-verbose-modunusable.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -urN ghc-9.0.2/compiler/GHC/Unit/State.hs ghc-9.0.2-r1/compiler/GHC/Unit/State.hs
---- ghc-9.0.2/compiler/GHC/Unit/State.hs 2021-10-19 05:20:00.000000000 -0600
-+++ ghc-9.0.2-r1/compiler/GHC/Unit/State.hs 2022-02-17 01:04:05.117930250 -0700
-@@ -194,7 +194,7 @@
-
- instance Outputable ModuleOrigin where
- ppr ModHidden = text "hidden module"
-- ppr (ModUnusable _) = text "unusable module"
-+ ppr (ModUnusable reason) = text "unusable module" $$ ppr reason
- ppr (ModOrigin e res rhs f) = sep (punctuate comma (
- (case e of
- Nothing -> []