Bug 250511 - patch(1) failure: patch doesn't replace the line according to the patch file, but replaces an entirely different line instead
Summary: patch(1) failure: patch doesn't replace the line according to the patch file,...
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 12.1-STABLE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-21 16:06 UTC by Yuri Victorovich
Modified: 2020-10-21 16:07 UTC (History)
0 users

See Also:


Attachments
patch-Makefile.am (221 bytes, patch)
2020-10-21 16:06 UTC, Yuri Victorovich
no flags Details | Diff
Makefile.am (501 bytes, text/plain)
2020-10-21 16:07 UTC, Yuri Victorovich
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer 2020-10-21 16:06:21 UTC
Created attachment 218950 [details]
patch-Makefile.am

The attached patch file is supposed to replace one line with another line in the attached Makefile.am:
> @@ -1,4 +1,4 @@
> -SUBDIRS = lib src lv2 tests
> +SUBDIRS = lib src lv2
> 
>  AUTOMAKE_OPTIONS = 1.9 dist-bzip2 no-dist-gzip
>  ACLOCAL_AMFLAGS = -I m4 -Wno-portability

Instead, it leaves that line intact and replaces an entirely different line:
> $ diff Makefile.am.orig Makefile.am
> 9c9
> < endif
> ---
> > SUBDIRS = lib src lv2
Comment 1 Yuri Victorovich freebsd_committer 2020-10-21 16:07:14 UTC
Created attachment 218951 [details]
Makefile.am