Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Feb 2001 22:41:33 +0000
From:      bruno <bruno.schwander@technologist.com>
To:        freebsd-ports@freebsd.org
Subject:   first port and patch problems
Message-ID:  <3A8DAC9D.B78A5B61@technologist.com>

next in thread | raw e-mail | index | archive | help
Hello everybody,

I ported a little tool to FreeBSD and would like to contribute a port.
My current issue is with patch/diff. I have a valid patch file, that
applies all my changes to the original sources but apparently handles
the creation of added files in a wrong manner.

I simply did a "diff -urN src.original src > patch-aa" in my work dir;
then, when I do a "patch < patch-aa" on an original set of sources, the
files are changed correctly but new files are added in the current
directory instead of src/something. The patchfile shows filenames like

diff -urN src.old/linux_lp.h src/linux_lp.h
--- src.old/linux_lp.h  Thu Jan  1 00:00:00 1970
+++ src/linux_lp.h      Fri Feb 16 19:44:52 2001

so I assume the paths are correct in the patch file. I really am at
loss...

anyone can give me a hint here ?

thanks

bruno



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A8DAC9D.B78A5B61>