Mercurial > hg > orthanc
annotate Resources/ThirdParty/patch/NOTES.txt @ 1546:17a3814fd8a1
fix patches on windows
author | jodogne |
---|---|
date | Fri, 14 Aug 2015 11:16:17 +0200 |
parents | 1c2c7e6c3a7a |
children | 5e65349c896b |
rev | line source |
---|---|
1537
fbf763bb1fa3
error detection in patches
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
1 This is a precompiled version of the "patch" standard tool for Windows |
1538
61caa39d7426
fix patch binaries
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1537
diff
changeset
|
2 (version 2.6.1). It was cross-compiled as follows under Linux thanks |
1537
fbf763bb1fa3
error detection in patches
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
3 to MinGW32: |
fbf763bb1fa3
error detection in patches
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
4 |
1538
61caa39d7426
fix patch binaries
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1537
diff
changeset
|
5 # wget ftp://ftp.gnu.org/gnu/patch/patch-2.6.1.tar.gz |
61caa39d7426
fix patch binaries
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1537
diff
changeset
|
6 # tar xvfz patch-2.6.1.tar.gz |
61caa39d7426
fix patch binaries
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1537
diff
changeset
|
7 # patch -p0 < fix-sources.patch |
61caa39d7426
fix patch binaries
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1537
diff
changeset
|
8 # cd patch-2.6.1 |
1537
fbf763bb1fa3
error detection in patches
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
9 # ./configure --host=i586-mingw32msvc |
fbf763bb1fa3
error detection in patches
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
10 # make |
fbf763bb1fa3
error detection in patches
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
11 # cd .. |
1538
61caa39d7426
fix patch binaries
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1537
diff
changeset
|
12 # cp patch-2.6.1/src/patch.exe . |
1537
fbf763bb1fa3
error detection in patches
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
13 # i586-mingw32msvc-strip ./patch.exe |
fbf763bb1fa3
error detection in patches
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
14 |
fbf763bb1fa3
error detection in patches
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
15 |
fbf763bb1fa3
error detection in patches
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
16 URL to the project: |
fbf763bb1fa3
error detection in patches
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
17 http://savannah.gnu.org/projects/patch/ |
fbf763bb1fa3
error detection in patches
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
18 |
fbf763bb1fa3
error detection in patches
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
19 License: GPLv3+ (GNU General Public License v3 or later) |
1539 | 20 |
21 Copyright (C) 1988 Larry Wall | |
22 Copyright (C) 2003, 2009 Free Software Foundation, Inc. |