Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jan 1998 11:17:56 -0600
From:      "Scot W. Hetzel" <hetzels@westbend.net>
To:        <freebsd-ports@FreeBSD.ORG>
Subject:   Patch Problem
Message-ID:  <001a01bd22a2$b01d52c0$c3e0d9cf@admin.westbend.net>

next in thread | raw e-mail | index | archive | help
I made a patch for a port I created, but when I tried to apply the patch to
the original sources it didn't work as it was patching the wrong Makefile.

The problem:

Directories in "port.cat":

-rwxrwxr-- Makefile
drwxrwxr-x myport
drwxrwxr-x myport.orig
-rwxrwxr-- myport.orig.tgz

I create the patch as follows:

diff -ruN myport.orig myport > myport.diff

I then do

mv myport myport.new
mv myport.orig myport
patch < myport.diff

Patch creates 2 *.rej files (Makefile.rej, Makefile.orig.rej) in the
"port.cat" directory.

How do I create a patch that will work correctly?

Scot





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001a01bd22a2$b01d52c0$c3e0d9cf>