(Not sure the first announcement made it - Sorry if you get this twice) Fellow FreeBSD developers; As many of you may have noticed as of r246074 we have a new version of patch(1) in the tree! The brief history is this: - Larry Wall developed the first patch(1) implementation which was taken by the FSF and greatly enhanced into what today is GNU patch. - FreeBSD has been using an early version of GNU patch (2.1) and made some relatively small enhancements on it. Two of the files in FreeBSD are under the GPL. -OpenBSD took a very old version of patch (2.0) and started from there. The GPL'd files were replaced with PD or otherwise unrestricted versions. - The OpenBSD version was ported to DragonFly BSD and after further enhancements the DF version was also adopted by NetBSD. I took the DragonFly version and back-ported some of the changes that we had in the FreeBSD version. As a result the new "BSD patch" that is available as an option in the tree covers most of the functionality of the patch in FreeBSD with two exceptions: -I and -S. Both options seem to be obsolete and don't seem to be used in ports. Furthermore GNU and BSD patch already uses -I to ignore white spaces. The new version is expected to be a complete replacement for our previous GNU patch but has only been lightly tested. Please test extensively, report bugs, and submit patches. We would love to use the new patch by default in 10.0 but only testing will let us know when it's ready. Special thanks to: Christoph Mallon - for porting the perforce diff support. Gabor Kovesdan - for doing the import since he has experience bringing these jewels into tree :). Enjoy! Pedro. On 01/29/2013 12:03, Gabor Kovesdan wrote: > Author: gabor > Date: Tue Jan 29 17:03:18 2013 > New Revision: 246074 > URL: http://svnweb.freebsd.org/changeset/base/246074 > > Log: > - Add a BSD-licensed patch, ported by Pedro F. Giffuni (pfg) from > DragonflyBSD and install it as bsdpatch. WITH_BSD_PATCH makes it > default and installs GNU patch as gnupatch. > > Submitted by: pfg > Obtained from: The DragonflyBSD Project > > Added: > head/tools/build/options/WITH_BSD_PATCH (contents, props changed) > head/usr.bin/patch/ > head/usr.bin/patch/Makefile (contents, props changed) > head/usr.bin/patch/backupfile.c (contents, props changed) > head/usr.bin/patch/backupfile.h (contents, props changed) > head/usr.bin/patch/common.h (contents, props changed) > head/usr.bin/patch/inp.c (contents, props changed) > head/usr.bin/patch/inp.h (contents, props changed) > head/usr.bin/patch/mkpath.c (contents, props changed) > head/usr.bin/patch/patch.1 (contents, props changed) > head/usr.bin/patch/patch.c (contents, props changed) > head/usr.bin/patch/pathnames.h (contents, props changed) > head/usr.bin/patch/pch.c (contents, props changed) > head/usr.bin/patch/pch.h (contents, props changed) > head/usr.bin/patch/util.c (contents, props changed) > head/usr.bin/patch/util.h (contents, props changed) > Modified: > head/UPDATING > head/gnu/usr.bin/patch/Makefile > head/share/mk/bsd.own.mk > head/usr.bin/Makefile >Received on Tue Jan 29 2013 - 17:42:33 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:34 UTC