From owner-freebsd-questions Sat Sep 4 0:51:45 1999 Delivered-To: freebsd-questions@freebsd.org Received: from studentmail.liu.se (student.liu.se [130.236.230.10]) by hub.freebsd.org (Postfix) with ESMTP id 41F201504A for ; Sat, 4 Sep 1999 00:51:37 -0700 (PDT) (envelope-from johpe159@student.liu.se) Received: from student.liu.se (b152.ryd.student.liu.se [130.236.233.152]) by studentmail.liu.se (Postfix) with ESMTP id 981AD507FB for ; Sat, 4 Sep 1999 09:51:09 +0200 (MET DST) Message-ID: <37D0CF5F.5452F1E9@student.liu.se> Date: Sat, 04 Sep 1999 09:50:55 +0200 From: Johan Pettersson X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.9 i686) X-Accept-Language: en MIME-Version: 1.0 To: "freebsd-questions@FreeBSD.ORG" Subject: patch Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi! I did some patches this morning chflags.32stable.patch and profil.patch. I did something like this 1, patch < patchfile 2, File to patch: /usr/src/sys/kern/patchfile And got following output ************************************************************************* >Hmm... Looks like a unified diff to me... >(Patch is indented 4 spaces.) >The text leading up to this was: >-------------------------- >|-----BEGIN PGP SIGNED MESSAGE----- >| >| Index: kern_exec.c >| =================================================================== >| RCS file: /home/imp/FreeBSD/CVS/src/sys/kern/kern_exec.c,v >| retrieving revision 1.99 >| retrieving revision 1.100 >| diff -u -r1.99 -r1.100 >| --- kern_exec.c 1999/04/27 11:15:55 1.99 >| +++ kern_exec.c 1999/08/11 20:35:38 1.100 >-------------------------- >File to patch: /usr/src/sys/kern/kern_exec.c >Patching file /usr/src/sys/kern/kern_exec.c using Plan A... >Hunk #1 failed at 228. >1 out of 1 hunks failed--saving rejects to /usr/src/sys/kern/kern_exec.c.rej >Hmm... Ignoring the trailing garbage. done *************************************************************************** Did it work or ? Do I have to rebuild the kernel after a patch ? //Thx Johan PS sorry for the mail got so big! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message