summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncan Coutts <dcoutts@gentoo.org>2007-12-20 13:48:35 +0000
committerDuncan Coutts <dcoutts@gentoo.org>2007-12-20 13:48:35 +0000
commit5ae033a7c16754c732b5683d404f51470f90ca6e (patch)
treefe2ab6adea81e8d47d1e81f6baf5ef396c6f73bf /dev-util/darcs/files
parentUse configure patch to make build faster (diff)
downloadgentoo-2-5ae033a7c16754c732b5683d404f51470f90ca6e.tar.gz
gentoo-2-5ae033a7c16754c732b5683d404f51470f90ca6e.tar.bz2
gentoo-2-5ae033a7c16754c732b5683d404f51470f90ca6e.zip
New version compatible with ghc-6.8. Mark older one as not working with ghc-6.8.
(Portage version: 2.1.3.19)
Diffstat (limited to 'dev-util/darcs/files')
-rw-r--r--dev-util/darcs/files/darcs-1.1.0pre1-ghc68.patch38
-rw-r--r--dev-util/darcs/files/digest-darcs-1.1.0_pre13
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-util/darcs/files/darcs-1.1.0pre1-ghc68.patch b/dev-util/darcs/files/darcs-1.1.0pre1-ghc68.patch
new file mode 100644
index 000000000000..b4d2d51f6421
--- /dev/null
+++ b/dev-util/darcs/files/darcs-1.1.0pre1-ghc68.patch
@@ -0,0 +1,38 @@
+diff -ur darcs-1.1.0pre1.orig/aclocal.m4 darcs-1.1.0pre1/aclocal.m4
+--- darcs-1.1.0pre1.orig/aclocal.m4 2007-12-13 23:20:50.000000000 +1000
++++ darcs-1.1.0pre1/aclocal.m4 2007-12-13 23:21:18.000000000 +1000
+@@ -447,6 +447,20 @@
+ openFd :: Int -> Maybe FDType -> FilePath -> IOMode -> Bool -> Bool -> IO Handle
+ openFd fd x y z a b = GHC.Handle.openFd fd x b y z a
+ ]]),
++AC_MSG_RESULT([okay])
++IMPORT_WORKAROUND([
++import qualified GHC.Handle ( fdToHandle' )
++import System.IO ( Handle, IOMode )
++import System.Posix.Internals ( FDType )
++import qualified GHC.IOBase ( FD )
++])
++CODE_WORKAROUND([[
++ {-
++ Work around change in the GHC.Handle.fdToHandle' API.
++ -}
++openFd :: GHC.IOBase.FD -> Maybe FDType -> FilePath -> IOMode -> Bool -> Bool -> IO Handle
++openFd fd x y z a b = GHC.Handle.fdToHandle' fd x b y z a
++]]),
+ AC_MSG_RESULT([failed])
+ AC_MSG_ERROR([Couldnt figure out how to call GHC.Handle.openFd!])
+ )
+Only in darcs-1.1.0pre1/: aclocal.m4~
+diff -ur darcs-1.1.0pre1.orig/autoconf.mk.in darcs-1.1.0pre1/autoconf.mk.in
+--- darcs-1.1.0pre1.orig/autoconf.mk.in 2007-12-13 23:20:50.000000000 +1000
++++ darcs-1.1.0pre1/autoconf.mk.in 2007-12-13 23:21:07.000000000 +1000
+@@ -22,7 +22,7 @@
+ OPTCCFLAGS := $(addprefix -optc,$(CFLAGS) $(CPPFLAGS))
+ LDFLAGS := @LDFLAGS@ @LIBS@
+ OPTLLDFLAGS := $(addprefix -optl,$(LDFLAGS))
+-GHCFLAGS := -cpp @GHCFLAGS@
++GHCFLAGS := -package containers -cpp @GHCFLAGS@
+ HAVE_CURSES := @HAVE_CURSES@
+ HAVE_LIBCURL := @HAVE_LIBCURL@
+ HAVE_MAPI := @HAVE_MAPI@
+Only in darcs-1.1.0pre1/: autoconf.mk.in~
diff --git a/dev-util/darcs/files/digest-darcs-1.1.0_pre1 b/dev-util/darcs/files/digest-darcs-1.1.0_pre1
new file mode 100644
index 000000000000..32ea383dc983
--- /dev/null
+++ b/dev-util/darcs/files/digest-darcs-1.1.0_pre1
@@ -0,0 +1,3 @@
+MD5 36b4b0b238a21593fddff5e40cfe0da2 darcs-1.1.0pre1.tar.gz 1116180
+RMD160 4269f61695045e85f2b74eb124221c1e0ac449d6 darcs-1.1.0pre1.tar.gz 1116180
+SHA256 4c0cc05d251af94c86664bc2e4cdae7bf2a6cf10fcef2ebf5329b593d661a2f0 darcs-1.1.0pre1.tar.gz 1116180