Bug 186984 - bsdpatch(1) fails to apply patch when compiling FreeBSD 8.3 (aka '-b .orig' issue)
Summary: bsdpatch(1) fails to apply patch when compiling FreeBSD 8.3 (aka '-b .orig' i...
Status: Closed Overcome By Events
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 1.0-CURRENT
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-23 19:00 UTC by David Naylor
Modified: 2016-02-08 04:49 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Naylor freebsd_committer freebsd_triage 2014-02-23 19:00:00 UTC
On a fresh checkout of the source code to FreeBSD 8.3 (under /home/freebsd/8.3/src), I get the following compilation error:

patch -s -b .orig -o context.c < /home/freebsd/8.3/src/gnu/usr.bin/diff/context.c.diff /home/freebsd/8.3/src/gnu/usr.bin/diff/../../../contrib/diff/src/context.c
  I can't seem to find a patch in there anywhere.
*** Error code 2

Fix: 

Remove the '-b .orig' parameter.
How-To-Repeat: Checkout 8.3 source code and run the above command.
Comment 1 David Naylor freebsd_committer freebsd_triage 2016-02-08 04:49:39 UTC
FreeBSD 8.x has reached EOL.