Mercurial > hg > orthanc
annotate Resources/ThirdParty/patch/NOTES.txt @ 1538:61caa39d7426
fix patch binaries
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 13 Aug 2015 16:51:30 +0200 |
parents | fbf763bb1fa3 |
children | 1c2c7e6c3a7a |
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) |