[Bug 250511] patch(1) failure: patch doesn't replace the line according to the patch file, but replaces an entirely different line instead

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Oct 21 16:06:22 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250511

            Bug ID: 250511
           Summary: patch(1) failure: patch doesn't replace the line
                    according to the patch file, but replaces an entirely
                    different line instead
           Product: Base System
           Version: 12.1-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs at FreeBSD.org
          Reporter: yuri at freebsd.org

Created attachment 218950
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=218950&action=edit
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

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list