You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-haskell/hsql-odbc/files/hsql-odbc-1.8.2-cabal22.patch

14 lines
435 B

--- a/Setup.lhs
+++ b/Setup.lhs
@@ -3,5 +3,10 @@
\begin{code}
+{-# LANGUAGE CPP #-}
import Distribution.Simple(defaultMainWithHooks ,simpleUserHooks ,preConf)
import Distribution.Simple.Setup(ConfigFlags)
+#if MIN_VERSION_Cabal(2,2,0)
+import Distribution.PackageDescription.PrettyPrint(writeHookedBuildInfo)
+#else
import Distribution.PackageDescription.Parse(writeHookedBuildInfo)
+#endif
import Distribution.PackageDescription