pkgsrc-WIP-review archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: patch-* syntaxis
- To: Hugo Rivera <uair9%yahoo.com@localhost>
- Subject: Re: patch-* syntaxis
- From: "Jeremy C. Reed" <reed%reedmedia.net@localhost>
- Date: Sat, 17 Dec 2005 17:36:53 -0800 (PST) See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001
On Sat, 17 Dec 2005, Hugo Rivera wrote:
I'm trying to write some patch-* files but I'm not
really sure how this "diff -bu" syntax works. I've
looked for info about this but I didn't find any, so
any link and/or help is very welcome.
Copy the file you want to edit to a new file name, like:
cd work/foo-1.2.3
cp main.c main.c.orig
Then create the diff file:
diff -u main.c.orig main.c > patch-aa
Put the patch-* files in your pkgsrc patches directory.
You can manually edit the resulting file to add comments or information at
the top. We add a CVS Id tag at top to:
$NetBSD$
Change back to main directory of your package and run:
make makepatchsum
Have a look at the many examples. Or if you have any specific example and
question, please let us know.
You may want to try the pkgsrc/pkgtools/pkgdiff suite also.
Jeremy C. Reed
BSD News, BSD tutorials, BSD links
http://www.bsdnewsletter.com/
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
pkgsrc-wip-review mailing list
pkgsrc-wip-review%lists.sourceforge.net@localhost
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-review
Home |
Main Index |
Thread Index |
Old Index