Todd Slater wrote:
On Tue, 17 Jun 2003 02:07:20 +0200 Frank de Lange <frank@unternet.org> wrote:
Todd Slater wrote:
This is great, Frank! How does one apply the patch? Todd
First, take a chicken...
Well, no, skip the chicken, get the CVS version of Dillo instead (see the Dillo website for how to do this). Go to the base directory (/usr/src/dillo-cvs/dillo or something like that), and apply the patch using something like zcat name_of_gzipped_patch_file|patch -p1. If everything went allright, you now have a patched version of Dillo.
So: get CVS version of Dillo get patch cd /to/where/you/put/dillo zcat /where/you/put/dillo-20030615-tabs.patch.gz | patch -p1
./autogen.sh (this rebuilds the auto*tools files) ./configure (with the usual options like --prefix=, etc) (if you want to DISABLE tabs, use --disable-tabs after configure) make su -c 'make uninstall && make install'
But, err, you already knew that, or you would not be subscribed to a developers list, right?
It is late, I should sleep now.
Go'Natt//Frank
I was looking forward to the chicken!
I thought that's what I was supposed to do; however, I get this:
[todd@clevername dillo]$ zcat ../dillo-20030615-tabs.patch.gz | patch -p1 patching file ChangeLog can't find file to patch at input line 21 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -pruN dillo/configure dillot/configure |--- dillo/configure 2003-05-26 14:08:02.000000000 +0200 |+++ dillot/configure 2003-06-13 19:38:12.000000000 +0200 -------------------------- File to patch:
Do I need to specify the file, or is something else wrong?
BTW, I'm in the dillo directory when I do this, not the src directory. Correct?
Sorry for being such a bonehead!
Todd
You need to run ./autogen.sh on the CVS version of Dillo first (this creates the configure file, and other files), or just skip this file (and the others it might complain about). I might remove the 'generated' files from the next version of the patch - which will result in people asking why they do not get the new configure options (because they forgot to run ./autogen.sh after applying the patch...) Cheers//Frank -- WWWWW ________________________ ## o o\ / Frank de Lange \ }# \| / +46-734352015 \ \ `--| _/ <Hacker for Hire> \ `---' \ +31-640037120 / \ frank@unternet.org / `------------------------' [ "Omnis enim res, quae dando non deficit, dum habetur et non datur, nondum habetur, quomodo habenda est." ]