changeset 1547:5e65349c896b

notes about patch.exe
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 14 Aug 2015 11:26:44 +0200
parents 17a3814fd8a1
children e9325f3ac496
files Resources/ThirdParty/patch/NOTES.txt Resources/ThirdParty/patch/fix-sources.patch
diffstat 2 files changed, 8 insertions(+), 28 deletions(-) [+]
line wrap: on
line diff
--- a/Resources/ThirdParty/patch/NOTES.txt	Fri Aug 14 11:16:17 2015 +0200
+++ b/Resources/ThirdParty/patch/NOTES.txt	Fri Aug 14 11:26:44 2015 +0200
@@ -1,22 +1,15 @@
 This is a precompiled version of the "patch" standard tool for Windows
-(version 2.6.1). It was cross-compiled as follows under Linux thanks
-to MinGW32:
+(version 2.5). It was compiled using the MSYS framework.
 
-# wget ftp://ftp.gnu.org/gnu/patch/patch-2.6.1.tar.gz
-# tar xvfz patch-2.6.1.tar.gz
-# patch -p0 < fix-sources.patch 
-# cd patch-2.6.1
-# ./configure --host=i586-mingw32msvc
-# make
-# cd ..
-# cp patch-2.6.1/src/patch.exe .
-# i586-mingw32msvc-strip ./patch.exe 
+The binaries originate from the "Git for Windows 1.9.5" package
+(https://msysgit.github.io/). I was unable to find the build
+instructions.
 
 
-URL to the project:
+URL to the upstream project:
 http://savannah.gnu.org/projects/patch/
 
-License: GPLv3+ (GNU General Public License v3 or later)
+License of patch 2.5: GPLv2 (GNU General Public License v2)
 
-Copyright (C) 1988 Larry Wall
-Copyright (C) 2003, 2009 Free Software Foundation, Inc.
+Copyright (C) 1988 Larry Wall "with lots o' patches by Paul Eggert"
+Copyright (C) 1997 Free Software Foundation, Inc.
--- a/Resources/ThirdParty/patch/fix-sources.patch	Fri Aug 14 11:16:17 2015 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
---- patch-2.6.1.orig/src/patch.c	2009-12-30 13:56:30.000000000 +0100
-+++ patch-2.6.1/src/patch.c	2015-08-13 16:46:23.886129878 +0200
-@@ -415,8 +415,10 @@
- 				    quotearg (outname));
- 			  if (geteuid () != instat.st_gid)
- 			    {
-+#if !defined(_WIN32)
- 			      /* Fails if we are not in group instat.st_gid.  */
- 			      chown (outname, -1, instat.st_gid);
-+#endif
- 			    }
- 			  /* FIXME: There may be other attributes to preserve.  */
- 			}