dev-haskell/cipher-aes128: remove unused patch(es)

Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/16953
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
This commit is contained in:
Michael Mair-Keimberger
2020-08-02 13:55:43 +02:00
committed by Sergei Trofimovich
parent f0525803e4
commit f938c1dcaf

View File

@@ -1,16 +0,0 @@
diff -ru cipher-aes128-0.7.0.3.orig/Setup.hs cipher-aes128-0.7.0.3/Setup.hs
--- cipher-aes128-0.7.0.3.orig/Setup.hs 2016-08-31 01:58:48.000000000 -0400
+++ cipher-aes128-0.7.0.3/Setup.hs 2018-07-04 22:06:10.880373751 -0400
@@ -13,10 +13,8 @@
main = defaultMainWithHooks hk
where
hk = simpleUserHooks { buildHook = \pd lbi uh bf -> do
- let ccProg = Program "gcc" undefined undefined undefined
- hcProg = Program "ghc" undefined undefined undefined
- mConf = lookupProgram ccProg (withPrograms lbi)
- hcConf = lookupProgram hcProg (withPrograms lbi)
+ let mConf = lookupProgram gccProgram (withPrograms lbi)
+ hcConf = lookupProgram ghcProgram (withPrograms lbi)
err = error "Could not determine C compiler"
_cc = locationPath . programLocation . maybe err id $ mConf
hc = locationPath . programLocation . maybe err id $ hcConf