head 1.4; access; symbols pkgsrc-2021Q4:1.3.0.110 pkgsrc-2021Q4-base:1.3 pkgsrc-2021Q3:1.3.0.108 pkgsrc-2021Q3-base:1.3 pkgsrc-2021Q2:1.3.0.106 pkgsrc-2021Q2-base:1.3 pkgsrc-2021Q1:1.3.0.104 pkgsrc-2021Q1-base:1.3 pkgsrc-2020Q4:1.3.0.102 pkgsrc-2020Q4-base:1.3 pkgsrc-2020Q3:1.3.0.100 pkgsrc-2020Q3-base:1.3 pkgsrc-2020Q2:1.3.0.96 pkgsrc-2020Q2-base:1.3 pkgsrc-2020Q1:1.3.0.76 pkgsrc-2020Q1-base:1.3 pkgsrc-2019Q4:1.3.0.98 pkgsrc-2019Q4-base:1.3 pkgsrc-2019Q3:1.3.0.94 pkgsrc-2019Q3-base:1.3 pkgsrc-2019Q2:1.3.0.92 pkgsrc-2019Q2-base:1.3 pkgsrc-2019Q1:1.3.0.90 pkgsrc-2019Q1-base:1.3 pkgsrc-2018Q4:1.3.0.88 pkgsrc-2018Q4-base:1.3 pkgsrc-2018Q3:1.3.0.86 pkgsrc-2018Q3-base:1.3 pkgsrc-2018Q2:1.3.0.84 pkgsrc-2018Q2-base:1.3 pkgsrc-2018Q1:1.3.0.82 pkgsrc-2018Q1-base:1.3 pkgsrc-2017Q4:1.3.0.80 pkgsrc-2017Q4-base:1.3 pkgsrc-2017Q3:1.3.0.78 pkgsrc-2017Q3-base:1.3 pkgsrc-2017Q2:1.3.0.74 pkgsrc-2017Q2-base:1.3 pkgsrc-2017Q1:1.3.0.72 pkgsrc-2017Q1-base:1.3 pkgsrc-2016Q4:1.3.0.70 pkgsrc-2016Q4-base:1.3 pkgsrc-2016Q3:1.3.0.68 pkgsrc-2016Q3-base:1.3 pkgsrc-2016Q2:1.3.0.66 pkgsrc-2016Q2-base:1.3 pkgsrc-2016Q1:1.3.0.64 pkgsrc-2016Q1-base:1.3 pkgsrc-2015Q4:1.3.0.62 pkgsrc-2015Q4-base:1.3 pkgsrc-2015Q3:1.3.0.60 pkgsrc-2015Q3-base:1.3 pkgsrc-2015Q2:1.3.0.58 pkgsrc-2015Q2-base:1.3 pkgsrc-2015Q1:1.3.0.56 pkgsrc-2015Q1-base:1.3 pkgsrc-2014Q4:1.3.0.54 pkgsrc-2014Q4-base:1.3 pkgsrc-2014Q3:1.3.0.52 pkgsrc-2014Q3-base:1.3 pkgsrc-2014Q2:1.3.0.50 pkgsrc-2014Q2-base:1.3 pkgsrc-2014Q1:1.3.0.48 pkgsrc-2014Q1-base:1.3 pkgsrc-2013Q4:1.3.0.46 pkgsrc-2013Q4-base:1.3 pkgsrc-2013Q3:1.3.0.44 pkgsrc-2013Q3-base:1.3 pkgsrc-2013Q2:1.3.0.42 pkgsrc-2013Q2-base:1.3 pkgsrc-2013Q1:1.3.0.40 pkgsrc-2013Q1-base:1.3 pkgsrc-2012Q4:1.3.0.38 pkgsrc-2012Q4-base:1.3 pkgsrc-2012Q3:1.3.0.36 pkgsrc-2012Q3-base:1.3 pkgsrc-2012Q2:1.3.0.34 pkgsrc-2012Q2-base:1.3 pkgsrc-2012Q1:1.3.0.32 pkgsrc-2012Q1-base:1.3 pkgsrc-2011Q4:1.3.0.30 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q3:1.3.0.28 pkgsrc-2011Q3-base:1.3 pkgsrc-2011Q2:1.3.0.26 pkgsrc-2011Q2-base:1.3 pkgsrc-2011Q1:1.3.0.24 pkgsrc-2011Q1-base:1.3 pkgsrc-2010Q4:1.3.0.22 pkgsrc-2010Q4-base:1.3 pkgsrc-2010Q3:1.3.0.20 pkgsrc-2010Q3-base:1.3 pkgsrc-2010Q2:1.3.0.18 pkgsrc-2010Q2-base:1.3 pkgsrc-2010Q1:1.3.0.16 pkgsrc-2010Q1-base:1.3 pkgsrc-2009Q4:1.3.0.14 pkgsrc-2009Q4-base:1.3 pkgsrc-2009Q3:1.3.0.12 pkgsrc-2009Q3-base:1.3 pkgsrc-2009Q2:1.3.0.10 pkgsrc-2009Q2-base:1.3 pkgsrc-2009Q1:1.3.0.8 pkgsrc-2009Q1-base:1.3 pkgsrc-2008Q4:1.3.0.6 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.3.0.4 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.2 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.2.0.6 pkgsrc-2008Q2-base:1.2 cwrapper:1.2.0.4 pkgsrc-2008Q1:1.2.0.2 pkgsrc-2008Q1-base:1.2 pkgsrc-2007Q4:1.1.0.8 pkgsrc-2007Q4-base:1.1 pkgsrc-2007Q3:1.1.0.6 pkgsrc-2007Q3-base:1.1 pkgsrc-2007Q2:1.1.0.4 pkgsrc-2007Q2-base:1.1 pkgsrc-2007Q1:1.1.0.2 pkgsrc-2007Q1-base:1.1; locks; strict; comment @# @; 1.4 date 2022.02.14.14.45.09; author pho; state dead; branches; next 1.3; commitid UzlANL0y6l6PYAsD; 1.3 date 2008.07.20.00.38.44; author kristerw; state Exp; branches; next 1.2; 1.2 date 2008.03.17.15.59.05; author kristerw; state Exp; branches; next 1.1; 1.1 date 2007.03.24.17.58.04; author kristerw; state Exp; branches; next ; desc @@ 1.4 log @Update to darcs-2.16.4 The list of changes since 2.0.2 is too long to paste here: https://hackage.haskell.org/package/darcs-2.16.4/changelog @ text @$NetBSD: patch-ab,v 1.3 2008/07/20 00:38:44 kristerw Exp $ --- configure.orig 2008-07-19 18:07:30.000000000 +0200 +++ configure 2008-07-19 18:07:59.000000000 +0200 @@@@ -7355,7 +7355,7 @@@@ fi - if test "$with_curl_pipelining" == "yes"; then + if test "$with_curl_pipelining" = "yes"; then { echo "$as_me:$LINENO: checking for libcurl pipelining" >&5 echo $ECHO_N "checking for libcurl pipelining... $ECHO_C" >&6; } let vernum=0x0`$CURL_CONFIG --vernum` @@@@ -7398,7 +7398,7 @@@@ fi -if test "$with_libwww" == "yes"; then +if test "$with_libwww" = "yes"; then { echo "$as_me:$LINENO: checking for libwww" >&5 echo $ECHO_N "checking for libwww... $ECHO_C" >&6; } if eval libwww-config --version 2>/dev/null >/dev/null; then @ 1.3 log @Update darcs to 2.0.2. Changes since 1.0.9 includes * New Feature: Include patch count in darcs --version, for example, 2.0.1 (+ 32 patches) (David Roundy) * New Feature: darcs put --no-set-default and --set-default (Nicolas Pouillard) * UI changes: --extended-help is now called --overview, no more --verify-hash, no more send --unified (David Roundy, Eric Kow) * New Feature: Check for and repair patches which remove non-empty files (issue815, David Roundy) * New Feature: darcs trackdown --set-scripts-executable (Reinier Lamers) * User Experience: Make darcs changes --interactive behave more like other interactive commands (Eric Kow) * New Feature: Colorize added and removed lines, if the environment variable DARCS_DO_COLOR_LINES=True (Nicolas Pouillard) * New Feature: --remote-repodir flag to allow separate default repositories for push, pull and send (issue792, Eric Kow) * New Feature: darcs changes --count (David Roundy) * New Feature: Add a 'show authors' command (Eric Kow) * New Feature: New DARCS_PATCHES, DARCS_FILES and DARCS_PATCHES_XML environment variables are made available for the posthook system, allowing for more easier options to to integrate darcs with other systems. (David Roundy, Mark Stosberg) * New Feature: Automatically create the the global cache if we define we want to use it. (David Roundy, Trent Buck) and numerous performance improvements and bugfixes. @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Update darcs to version 1.0.9. Changes in this release consists mostly of minor bug fixes. @ text @d3 20 a22 25 Patch needed for GHC 6.8. From FreeBSD ports. --- aclocal.m4.orig 2007-06-16 19:12:11.000000000 +0200 +++ aclocal.m4 2008-01-04 19:37:37.000000000 +0100 @@@@ -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!]) ) @ 1.1 log @Make darcs compile when using GHC 6.6. Bump PKGREVISION. @ text @d3 1 a3 1 Patch needed for GHC 6.6. d5 23 a27 52 --- Lcs.lhs.orig 2006-06-16 20:59:28.000000000 +0200 +++ Lcs.lhs 2007-02-25 22:12:31.000000000 +0100 @@@@ -358,7 +358,8 @@@@ -- | goto next unchanged line, return the given line if unchanged nextUnchanged :: BSTArray s -> Int -> ST s Int nextUnchanged c i = do - if i == (aLen c) + 1 then return i + len <- aLenM c + if i == len + 1 then return i else do b <- readArray c i if b then nextUnchanged c (i+1) else return i @@@@ -367,7 +368,8 @@@@ -- behind the last line skipOneUnChanged :: BSTArray s -> Int -> ST s Int skipOneUnChanged c i = do - if i == (aLen c) + 1 then return i + len <- aLenM c + if i == len + 1 then return i else do b <- readArray c i if not b then return (i+1) else skipOneUnChanged c (i+1) @@@@ -381,8 +383,9 @@@@ -- | goto next changed line, return the given line if changed nextChanged :: BSTArray s -> Int -> ST s (Maybe Int) -nextChanged c i = - if i <= aLen c +nextChanged c i = do + len <- aLenM c + if i <= len then do b <- readArray c i if not b then nextChanged c (i+1) else return $ Just i @@@@ -430,8 +433,17 @@@@ initP :: [PackedString] -> PArray initP a = listArray (0, length a) (nilPS:a) +#if __GLASGOW_HASKELL__ > 604 +aLen :: (IArray a e) => a Int e -> Int +aLen a = snd $ bounds a +aLenM :: (MArray a e m) => a Int e -> m Int +aLenM a = getBounds a >>= return . snd +#else aLen :: HasBounds a => a Int e -> Int aLen a = snd $ bounds a +aLenM :: (HasBounds a, Monad m) => a Int e -> m Int +aLenM = return . snd . bounds +#endif \end{code} \begin{code} @