Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Oct 2020 16:06:21 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 250511] patch(1) failure: patch doesn't replace the line according to the patch file, but replaces an entirely different line instead
Message-ID:  <bug-250511-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

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@FreeBSD.org
          Reporter: yuri@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.

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-250511-227>