Add a recipe on how to recompile perl
[msysgit.git] / share / msysGit / dmake.patch
blobf21af3a0d895aacb7bb4c72a06eed1d502de5382
1 This patch contains minimal fixups to compile dmake in msysGit
3 If you want to build dmake from scratch, you need to get the source first:
5 cvs -d :pserver:anoncvs@anoncvs.services.openoffice.org:/cvs co dmake
7 Then pply this patch, and do
9 ./configure --prefix=/ && make &&
10 cp -R dmake.exe startup /bin/
12 (make install installs startup/ to /share/, but somehow dmake.exe does
13 not pick up on that.)
15 Index: configure
16 ===================================================================
17 RCS file: /cvs/tools/dmake/configure,v
18 retrieving revision 1.22
19 diff -u -r1.22 configure
20 --- configure 3 Jul 2007 11:29:09 -0000 1.22
21 +++ configure 18 Sep 2007 14:57:24 -0000
22 @@ -4045,7 +4045,7 @@
23 OS_VERSION=cygwin
24 CASE_INSENSITIVE_FS=true
26 - "MINGW")
27 + *"MINGW"*)
28 OS_VERSION=mingw
29 OS_TYPE=winnt
30 BUILDINFO="Windows / MinGW"
31 Index: quit.c
32 ===================================================================
33 RCS file: /cvs/tools/dmake/quit.c,v
34 retrieving revision 1.6
35 diff -u -r1.6 quit.c
36 --- quit.c 18 Jan 2007 09:32:09 -0000 1.6
37 +++ quit.c 18 Sep 2007 14:57:24 -0000
38 @@ -32,6 +32,10 @@
39 * first time. */
42 +#ifdef __MINGW32__
43 +#define SIGQUIT -1
44 +#endif
46 PUBLIC void
47 Quit( sig )/*
48 ======== Error or quit */