From owner-freebsd-questions@FreeBSD.ORG Wed May 18 09:46:02 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A4C816A4CE for ; Wed, 18 May 2005 09:46:02 +0000 (GMT) Received: from mx2.fujixerox.co.jp (mx2.fujixerox.co.jp [192.26.96.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D5E743DA9 for ; Wed, 18 May 2005 09:46:01 +0000 (GMT) (envelope-from Qiang.Xu@fujixerox.com) Received: from isvw2.fujixerox.co.jp ([129.249.27.132]) by mx2.fujixerox.co.jp (8.11.6p2a/3.7W) with ESMTP id j4I9jxm16357; Wed, 18 May 2005 18:46:00 +0900 (JST) Received: from ms1.fujixerox.co.jp (isvw2 [129.249.27.132]) by isvw2.fujixerox.co.jp (8.11.6p2a/3.7W) with ESMTP id j4I9jps25620; Wed, 18 May 2005 18:45:51 +0900 (JST) Received: from sgpaphq-smtp01.fujixerox.com ([13.198.8.73]) by ms1.fujixerox.co.jp (8.11.6p2a/3.7W) with ESMTP id j4I9jua08205; Wed, 18 May 2005 18:45:56 +0900 (JST) Received: from 10.198.8.10 by sgpaphq-smtp01.fujixerox.com with ESMTP id 50522531116409536; Wed, 18 May 2005 17:45:36 +0800 Received: from localhost (localhost [127.0.0.1]) by localhost.sgp.fujixerox.com (Postfix) with SMTP id B14AB1D93F; Wed, 18 May 2005 17:38:56 +0800 (SGT) Received: from sess.xssc.sgp.xerox.com (unknown [13.198.33.122]) by imss.sgp.fujixerox.com (Postfix) with ESMTP id 326831D93F; Wed, 18 May 2005 17:38:52 +0800 (SGT) From: Xu Qiang To: Giorgos Keramidas , Xu Qiang Date: Wed, 18 May 2005 17:48:20 +0800 X-Sent-Folder-Path: Sent Items X-Mailer: Oracle Connector for Outlook 9.0.4 60130 (9.0.2711) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-Id: <20050518093852.326831D93F@imss.sgp.fujixerox.com> cc: freebsd-questions@freebsd.org cc: Ted Mittelstaedt Subject: RE: The availability of socketbits.h? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 May 2005 09:46:02 -0000 Giorgos Keramidas wrote: > That should be easy. You'll need two directory hierarchies: > = > * One with the unchanged, "vendor" version of the code, i.e. an > extracted copy of the tarballs you got from sourceforge. > = > * One with the fixed version that builds and runs fine on your > system. = > = > Assuming that you have the tarballs of mlrate-1.1.0 and nngs-1.1.14 > that you got from sourceforge under /tmp/nngs/vendor/mlrate-1.1.0 and > /tmp/nngs/vendor/nngs-1.1.14 respectively, you can copy these > directories recursively to /tmp/nngs/local: > = > # mkdir -p /tmp/nngs/local > # cd /tmp/nngs/vendor > # cp -Rp mlrate-1.10 nngs-1.1.14 /tmp/nngs/local > = > Then you can make all the changes you need to /tmp/nngs/local and see > all the changes of mlrate or nngs in one patchfile with: > = > # cd /tmp/nngs > # diff -ruN vendor/mlrate* local/mlrate* > /tmp/nngs/mlrate.patch > # less /tmp/nngs/mlrate.patch > = > # cd /tmp/nngs > # diff -ruN vendor/nngs* local/nngs* > /tmp/nngs/nngs.patch > # less /tmp/nngs/nngs.patch Thanks for the direction. I will try to do a summary of changes needed into= a number of .patch files. = Regards, Xu Qiang