1 |
commit: 6c01aed88eb04a5766c445cec08ff40b1e6088fa |
2 |
Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at> |
3 |
AuthorDate: Tue Aug 23 17:21:44 2022 +0000 |
4 |
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 30 22:57:31 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c01aed8 |
7 |
|
8 |
dev-lang/ghc: remove unused patches |
9 |
|
10 |
Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at> |
11 |
Portage 3.0.34 / pkgdev 0.2.1 / pkgcheck 0.10.14 |
12 |
Closes: https://github.com/gentoo/gentoo/pull/26984 |
13 |
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> |
14 |
|
15 |
dev-lang/ghc/files/ghc-8.10.3-C99-typo-ac270.patch | 12 ----------- |
16 |
dev-lang/ghc/files/ghc-9.0.2-modorigin.patch | 24 ---------------------- |
17 |
.../ghc/files/ghc-9.0.2-verbose-modunusable.patch | 12 ----------- |
18 |
3 files changed, 48 deletions(-) |
19 |
|
20 |
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 |
21 |
deleted file mode 100644 |
22 |
index 762622a07e00..000000000000 |
23 |
--- a/dev-lang/ghc/files/ghc-8.10.3-C99-typo-ac270.patch |
24 |
+++ /dev/null |
25 |
@@ -1,12 +0,0 @@ |
26 |
-autoconf-2.70 does not allow macros with underscores. |
27 |
---- a/aclocal.m4 |
28 |
-+++ b/aclocal.m4 |
29 |
-@@ -673,7 +673,7 @@ AC_DEFUN([FP_SET_CFLAGS_C99], |
30 |
- CPPFLAGS="$$3" |
31 |
- unset ac_cv_prog_cc_c99 |
32 |
- dnl perform detection |
33 |
-- _AC_PROG_CC_C99 |
34 |
-+ AC_PROG_CC_C99 |
35 |
- fp_cc_c99="$ac_cv_prog_cc_c99" |
36 |
- case "x$ac_cv_prog_cc_c99" in |
37 |
- x) ;; # noop |
38 |
|
39 |
diff --git a/dev-lang/ghc/files/ghc-9.0.2-modorigin.patch b/dev-lang/ghc/files/ghc-9.0.2-modorigin.patch |
40 |
deleted file mode 100644 |
41 |
index 3c7053778e98..000000000000 |
42 |
--- a/dev-lang/ghc/files/ghc-9.0.2-modorigin.patch |
43 |
+++ /dev/null |
44 |
@@ -1,24 +0,0 @@ |
45 |
-diff --git a/compiler/GHC/Unit/State.hs b/compiler/GHC/Unit/State.hs |
46 |
-index cefa5e5058bf68e68aaafadad0c7874189bf8225..92b38443c8378eb69db19a40d23abca47d6acee8 100644 |
47 |
---- a/compiler/GHC/Unit/State.hs |
48 |
-+++ b/compiler/GHC/Unit/State.hs |
49 |
-@@ -224,14 +224,16 @@ fromFlag :: ModuleOrigin |
50 |
- fromFlag = ModOrigin Nothing [] [] True |
51 |
- |
52 |
- instance Semigroup ModuleOrigin where |
53 |
-- ModOrigin e res rhs f <> ModOrigin e' res' rhs' f' = |
54 |
-+ x@(ModOrigin e res rhs f) <> y@(ModOrigin e' res' rhs' f') = |
55 |
- ModOrigin (g e e') (res ++ res') (rhs ++ rhs') (f || f') |
56 |
- where g (Just b) (Just b') |
57 |
- | b == b' = Just b |
58 |
-- | otherwise = panic "ModOrigin: package both exposed/hidden" |
59 |
-+ | otherwise = pprPanic "ModOrigin: package both exposed/hidden" $ |
60 |
-+ text "x: " <> ppr x $$ text "y: " <> ppr y |
61 |
- g Nothing x = x |
62 |
- g x Nothing = x |
63 |
-- _x <> _y = panic "ModOrigin: hidden module redefined" |
64 |
-+ x <> y = pprPanic "ModOrigin: hidden module redefined" $ |
65 |
-+ text "x: " <> ppr x $$ text "y: " <> ppr y |
66 |
- |
67 |
- instance Monoid ModuleOrigin where |
68 |
- mempty = ModOrigin Nothing [] [] False |
69 |
|
70 |
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 |
71 |
deleted file mode 100644 |
72 |
index 13d12efdc0ec..000000000000 |
73 |
--- a/dev-lang/ghc/files/ghc-9.0.2-verbose-modunusable.patch |
74 |
+++ /dev/null |
75 |
@@ -1,12 +0,0 @@ |
76 |
-diff -urN ghc-9.0.2/compiler/GHC/Unit/State.hs ghc-9.0.2-r1/compiler/GHC/Unit/State.hs |
77 |
---- ghc-9.0.2/compiler/GHC/Unit/State.hs 2021-10-19 05:20:00.000000000 -0600 |
78 |
-+++ ghc-9.0.2-r1/compiler/GHC/Unit/State.hs 2022-02-17 01:04:05.117930250 -0700 |
79 |
-@@ -194,7 +194,7 @@ |
80 |
- |
81 |
- instance Outputable ModuleOrigin where |
82 |
- ppr ModHidden = text "hidden module" |
83 |
-- ppr (ModUnusable _) = text "unusable module" |
84 |
-+ ppr (ModUnusable reason) = text "unusable module" $$ ppr reason |
85 |
- ppr (ModOrigin e res rhs f) = sep (punctuate comma ( |
86 |
- (case e of |
87 |
- Nothing -> [] |