Re: Question about a patch

2008-01-03 Thread Valerio Daelli
 Just send in the 'diff -Nur' output, but make a note in your PR
 that the filename has been changed.  The committer will be able to
 make it all right in CVS.


Thanks a lot for your help.
Bye

Valerio Daelli
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Question about a patch

2008-01-02 Thread Valerio Daelli
Hi

I am about to send a patch about a port. I would like to move a file
of the port, located in the
'files/' directory. Basically the file now is called netdisco.sh.in
and I would like to call it
netdisco.in.
If I use a normal 'diff -ruN' command to generate the patch, after I
apply the patch
the new file is created but the old file (netdisco.sh.in) is still
there, with zero size.
I wonder if I should generate a shar archive for this port instead of a patch.
Sorry if this question is so simple.
Bye

Valerio Daelli
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Question about a patch

2008-01-02 Thread Beech Rintoul
On Wednesday 02 January 2008, Valerio Daelli said:
 Hi

 I am about to send a patch about a port. I would like to move a
 file of the port, located in the
 'files/' directory. Basically the file now is called netdisco.sh.in
 and I would like to call it
 netdisco.in.
 If I use a normal 'diff -ruN' command to generate the patch, after
 I apply the patch
 the new file is created but the old file (netdisco.sh.in) is still
 there, with zero size.
 I wonder if I should generate a shar archive for this port instead
 of a patch. Sorry if this question is so simple.
 Bye

 Valerio Daelli

That's normal. A unified diff is the preferred way. Whoever commits it 
will remove the file. You might make mention of the file in the 
comments just to be nice :-)

Beech


-- 
---
Beech Rintoul - FreeBSD Developer - [EMAIL PROTECTED]
/\   ASCII Ribbon Campaign  | FreeBSD Since 4.x
\ / - NO HTML/RTF in e-mail   | http://www.freebsd.org
 X  - NO Word docs in e-mail | Latest Release:
/ \  - http://www.FreeBSD.org/releases/6.2R/announce.html
---



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Question about a patch

2008-01-02 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Valerio Daelli wrote:
 Hi
 
 I am about to send a patch about a port. I would like to move a file
 of the port, located in the
 'files/' directory. Basically the file now is called netdisco.sh.in
 and I would like to call it
 netdisco.in.
 If I use a normal 'diff -ruN' command to generate the patch, after I
 apply the patch
 the new file is created but the old file (netdisco.sh.in) is still
 there, with zero size.
 I wonder if I should generate a shar archive for this port instead of a patch.
 Sorry if this question is so simple.


Just send in the 'diff -Nur' output, but make a note in your PR
that the filename has been changed.  The committer will be able to
make it all right in CVS.

Cheers,

Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHe78R8Mjk52CukIwRCMHAAKCDaQvbVkhCLBDw/Eb3yfKviT6dQgCeK3Bi
SIR3eFVV5Cn37PLMvST4JoI=
=5+GC
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Question about multipath patch for FreeBSD

2004-04-09 Thread hugle
Hello all.
I've just patched my kernel with option MULTIPATH
http://www.dsm.fordham.edu/~tanzer/multipath/mpath-48S.tgz

patch -p0  /usr/src/mpath/mpath-diff-sys
patch -p0  /usr/src/mpath/mpath-diff-route
patch -p0  /usr/src/mpath/mpath-diff-netstat
patch -p0  /usr/src/mpath/mpath-diff-man

#here made a backup of files ;)
cp /usr/include/net/route.h /home/hugle/multipath/route.h
cp /usr/include/net/if_var.h /home/hugle/multipath/if_var.h

cp /usr/src/sys/net/route.h /usr/include/net/route.h
cp /usr/src/sys/net/if_var.h /usr/include/net/if_var.h

did config
make depend

and while doing make
i get this error:
cast-qual  -fformat-extensions -ansi  -nostdinc -I- -I. -I../.. -I../../../include 
-I../../contrib/dev/acpica -I../../contrib/ipfilter  -D_KERNEL -include opt_global.h  
-mpreferred-stack-boundary=2  ../../netinet/if_ether.c
../../netinet/if_ether.c: In function `arplookup':
../../netinet/if_ether.c:923: too few arguments to function `rtrequest'
*** Error code 1

Stop in /usr/src/sys/compile/MULTIPATH.

can someone help me?
I've cvsupeed with RELENG_4 today on 2004-4-09
-- 
Best regards,Hugle


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]