<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test/gnu/usr.bin/patch, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/'/>
<updated>2013-09-03T20:03:10Z</updated>
<entry>
<title>Remove our hacked GNU patch.</title>
<updated>2013-09-03T20:03:10Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2013-09-03T20:03:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=d3e23b57a1df39e659c46092668d7716fe8d17ad'/>
<id>urn:sha1:d3e23b57a1df39e659c46092668d7716fe8d17ad</id>
<content type='text'>
The old (2.1) GNU patch has outlived its days.  The major
local changes have been moved into the less restrictedly
licensed patch(1) we adopted in usr.bin/ .

A much newer version of GNU patch is available in the
ports tree (devel/patch).

Disconnect from the build and remove.
</content>
</entry>
<entry>
<title>Drop build option switch for the older GNU patch.</title>
<updated>2013-08-29T00:38:24Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2013-08-29T00:38:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=4b97b38825df466178637edccba8c684233feca8'/>
<id>urn:sha1:4b97b38825df466178637edccba8c684233feca8</id>
<content type='text'>
As promised, drop the option to make the older GNU patch
the default.

GNU patch is still being built but something drastic may
happen to it to it before Release.
</content>
</entry>
<entry>
<title>Make the BSD-licensed patch the default.</title>
<updated>2013-07-26T21:25:18Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2013-07-26T21:25:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=21244d522787c25ce4187cbd9b523e266b6ca8c6'/>
<id>urn:sha1:21244d522787c25ce4187cbd9b523e266b6ca8c6</id>
<content type='text'>
The BSD-licensed patch(1) command has matured and it's behaviour
can be considered equivalent to the older version of GNU patch
in the tree.

The switch has been extensively tested [1] and only two ports
presented regressions, which have since been fixed.

For convenience a new WITH_GNU_PATCH option is available,
but it will likely be removed in the near future.

PR:		176313
Approved by:	portmgr
</content>
</entry>
<entry>
<title>Properly handle input lines containing NUL characters such that pgets()</title>
<updated>2013-07-02T17:17:42Z</updated>
<author>
<name>David E. O'Brien</name>
<email>obrien@FreeBSD.org</email>
</author>
<published>2013-07-02T17:17:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=a559a5a94fc7d293c70329b023cd17a19a66978f'/>
<id>urn:sha1:a559a5a94fc7d293c70329b023cd17a19a66978f</id>
<content type='text'>
accurately fills the read buffer.

Callers of pgets() still mis-process the buffer contents if the read line
contains NUL characters, but this at least makes pgets() accurate.
</content>
</entry>
<entry>
<title>Make it so that 'patch &lt; FUBAR' and 'patch -i FUBAR' operate the same.</title>
<updated>2013-07-02T17:09:57Z</updated>
<author>
<name>David E. O'Brien</name>
<email>obrien@FreeBSD.org</email>
</author>
<published>2013-07-02T17:09:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=07b3f0f7db7ec4cc407a26f20b9f545c92a571e3'/>
<id>urn:sha1:07b3f0f7db7ec4cc407a26f20b9f545c92a571e3</id>
<content type='text'>
The former makes a copy of stdin, but was not accurately putting the
content of stdin into a temp file.  This lead to the undercounting
the number of lines in hunks containing NUL characters when reading
from stdin.  Thus resulting in "unexpected end of file in patch" errors.
</content>
</entry>
<entry>
<title>- Add a BSD-licensed patch, ported by Pedro F. Giffuni (pfg) from</title>
<updated>2013-01-29T17:03:18Z</updated>
<author>
<name>Gabor Kovesdan</name>
<email>gabor@FreeBSD.org</email>
</author>
<published>2013-01-29T17:03:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=2dd076b84bb1129d0a62b886a4e736a9344b3376'/>
<id>urn:sha1:2dd076b84bb1129d0a62b886a4e736a9344b3376</id>
<content type='text'>
  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
</content>
</entry>
<entry>
<title>The buffer returned by fgenln is not a "C" string and might not be NUL</title>
<updated>2009-09-16T19:53:29Z</updated>
<author>
<name>Stephane E. Potvin</name>
<email>sepotvin@FreeBSD.org</email>
</author>
<published>2009-09-16T19:53:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=68961d1200a9cb6bf3619f292a56b2ea35a048ae'/>
<id>urn:sha1:68961d1200a9cb6bf3619f292a56b2ea35a048ae</id>
<content type='text'>
terminated. Make sure that it is before using it.

Reviewed by:	marck@
MFC after:	3 days
</content>
</entry>
<entry>
<title>Add support for diffs generated by Perforce.</title>
<updated>2009-08-23T12:23:24Z</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2009-08-23T12:23:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=69eb6d71d0c17236b77a4a3e2eff4078edf2b25e'/>
<id>urn:sha1:69eb6d71d0c17236b77a4a3e2eff4078edf2b25e</id>
<content type='text'>
It basically picks the filenames from the "====" line and strips off the
# revision number.
</content>
</entry>
<entry>
<title>Change the internal buffer used to store input lines from a static buffer</title>
<updated>2009-05-08T02:18:46Z</updated>
<author>
<name>Stephane E. Potvin</name>
<email>sepotvin@FreeBSD.org</email>
</author>
<published>2009-05-08T02:18:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=9ab20e104c725eb316253051ac826d1b5a8d8423'/>
<id>urn:sha1:9ab20e104c725eb316253051ac826d1b5a8d8423</id>
<content type='text'>
to a dynamically allocated one in order to support input lines of
arbitrary length.

Approved by:	kan (mentor)
MFC after:	1 month
</content>
</entry>
<entry>
<title>Get rid of a spurious "the".</title>
<updated>2004-03-18T20:36:14Z</updated>
<author>
<name>Daniel Harris</name>
<email>dannyboy@FreeBSD.org</email>
</author>
<published>2004-03-18T20:36:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=f7593c8b32fa7a1c8d3bad0f0ed3b6e506745405'/>
<id>urn:sha1:f7593c8b32fa7a1c8d3bad0f0ed3b6e506745405</id>
<content type='text'>
PR:		64081
Submitted by:	Chris Pepper &lt;pepper@reppep.com&gt;
MFC after:	1 day
</content>
</entry>
</feed>
