[darcs-users] darcs patch: Outsource the (optional) mmap support to bytestring-mmap.

Petr Rockai me at mornfall.net
Tue Feb 3 12:14:55 UTC 2009


> $ make api-doc
> PATH=".:$PATH" darcs changes --context | cat config.command - \
>                 | ./stringify Context context > src/Context.hs
> [ghc] .depend
> on the commandline:
>     Warning: -optdep-f is deprecated: Use -dep-makefile instead
> src/ByteStringUtils.hs:94:7:
>     Could not find module `System.IO.Posix.MMap':
>       it is a member of package bytestring-mmap-0.2.0, which is hidden
> make: *** [.depend] Error 1
that's interesting, since it is #ifdefd' in HAVE_MMAP. Maybe autoconf is
defining that for some reason? (I have not reused the USE_MMAP flag we had
previously precisely to avoid this sort of problem).


Peter Rockai | me()mornfall!net | prockai()redhat!com
 http://blog.mornfall.net | http://web.mornfall.net

"In My Egotistical Opinion, most people's C programs should be
 indented six feet downward and covered with dirt."
     -- Blair P. Houghton on the subject of C program indentation

More information about the darcs-users mailing list