1 The patches allow for MODEL, DMD (compiler for the library) and
2 DDOC (documentation generator) to be overriden on the command line.
3 The patch to gzio.c adds the missing errno.h include, to make the code portable:
4 http://d.puremagic.com/issues/show_bug.cgi?id=5463
5 --- dmd2/src/dmd/posix.mak
6 +++ dmd2/src/dmd/posix.mak
15 ## See: http://developer.apple.com/documentation/developertools/conceptual/cross_development/Using/chapter_3_section_2.html#//apple_ref/doc/uid/20002000-1114311-BABGCAAB
16 --- dmd2/src/druntime/posix.mak
17 +++ dmd2/src/druntime/posix.mak
31 DFLAGS=-m$(MODEL) -O -release -inline -nofloat -w -d -Isrc -Iimport -property
32 UDFLAGS=-m$(MODEL) -O -release -nofloat -w -d -Isrc -Iimport -property
33 --- dmd2/src/phobos/etc/c/zlib/gzio.c
34 +++ dmd2/src/phobos/etc/c/zlib/gzio.c
43 --- dmd2/src/phobos/posix.mak
44 +++ dmd2/src/phobos/posix.mak
47 # Variable defined in an OS-dependent manner (see below)
56 ifeq ($(OS),win32wine)
62 ifeq ($(OS),win32remote)
63 - DMD = ssh 206.125.170.138 "cd code/dmd/phobos && dmd"
64 + DMD ?= ssh 206.125.170.138 "cd code/dmd/phobos && dmd"
65 CC = ssh 206.125.170.138 "cd code/dmd/phobos && dmc"
75 # Set DDOC, the documentation generator
79 # Set LIB, the ultimate target
80 ifeq (,$(findstring win,$(OS)))