diff -urN /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/hs-hashed-storage/Portfile devel/hs-hashed-storage/Portfile
old
|
new
|
|
3 | 3 | PortSystem 1.0 |
4 | 4 | |
5 | 5 | PortGroup haskell 1.0 |
6 | | haskell.setup hashed-storage 0.4.7 |
| 6 | haskell.setup hashed-storage 0.4.11 |
7 | 7 | maintainers gwright |
8 | 8 | platforms darwin |
9 | 9 | |
… |
… |
|
18 | 18 | a plain filesystem tree and an indexed plain tree (where the \ |
19 | 19 | index maintains hashes of the plain files and directories). |
20 | 20 | |
21 | | checksums md5 357688675e348eee8c3c60058635f907 \ |
22 | | sha1 dc732b95ea3f454d870544012093fd203dd214fd \ |
23 | | rmd160 07d11934511f0cb2731faea7f3158067377e4c96 |
| 21 | patchfiles patch-mmap-0.5 |
| 22 | |
| 23 | checksums md5 2b779e9668479c2361a2bdb8ea7233eb \ |
| 24 | sha1 f5d42e0c84503421076e9c4e35f7d419db6699f2 \ |
| 25 | rmd160 5ba098205c23ae41fa6f783a46b15c0f35e553dd |
24 | 26 | |
25 | 27 | depends_lib port:ghc \ |
26 | 28 | port:hs-binary \ |
diff -urN /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/hs-hashed-storage/files/patch-mmap-0.5 devel/hs-hashed-storage/files/patch-mmap-0.5
old
|
new
|
|
| 1 | --- hashed-storage.cabal.orig 2010-06-18 10:03:43.000000000 -0700 |
| 2 | +++ hashed-storage.cabal 2010-06-18 10:03:59.000000000 -0700 |
| 3 | @@ -73,7 +73,7 @@ |
| 4 | dataenc, |
| 5 | binary, |
| 6 | zlib, |
| 7 | - mmap >= 0.4 && < 0.5 |
| 8 | + mmap >= 0.5 && < 0.6 |
| 9 | |
| 10 | c-sources: Bundled/sha2.c |
| 11 | |
| 12 | --- Storage/Hashed/Index.hs.orig 2010-06-18 10:05:43.000000000 -0700 |
| 13 | +++ Storage/Hashed/Index.hs 2010-06-18 10:06:12.000000000 -0700 |
| 14 | @@ -213,8 +213,8 @@ |
| 15 | if req_size > 0 then fromIntegral req_size else act_size |
| 16 | case size of |
| 17 | 0 -> return (castForeignPtr nullForeignPtr, size) |
| 18 | - _ -> do (x, _) <- mmapFileForeignPtr indexpath |
| 19 | - ReadWrite (Just (0, size + size_magic)) |
| 20 | + _ -> do (x, _, _) <- mmapFileForeignPtr indexpath |
| 21 | + ReadWriteEx (Just (0, size + size_magic)) |
| 22 | return (x, size) |
| 23 | |
| 24 | data IndexM m = Index { mmap :: (ForeignPtr ()) |