Hi,

I believe there might be a mistake in the kdegraphics instructions in
the SVN book:

[/tmp]$ tar xf /src/kdegraphics-3.5.0.tar.bz2 
[/tmp]$ cp /src/post-3.5.0-kdegraphics-CAN-2005-3193.diff .
[/tmp]$ cd kdegraphics-3.5.0/
[/tmp/kdegraphics-3.5.0]$ patch -Np0 \
        -i ../../../../post-3.5.0-kdegraphics-CAN-2005-3193.diff \
        -d kpdf/xpdf/xpdf
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: kpdf/xpdf/xpdf/JBIG2Stream.cc
|===================================================================
|--- kpdf/xpdf/xpdf/JBIG2Stream.cc      (revision 481099)
|+++ kpdf/xpdf/xpdf/JBIG2Stream.cc      (revision 488715)
--------------------------
File to patch: ^C
[/tmp/kdegraphics-3.5.0]$ patch -Np0 -i 
../post-3.5.0-kdegraphics-CAN-2005-3193.diff                        
patching file kpdf/xpdf/xpdf/JBIG2Stream.cc
patching file kpdf/xpdf/xpdf/Stream.cc
patching file kpdf/xpdf/xpdf/Stream.h
patching file kpdf/xpdf/xpdf/JPXStream.cc
patching file kpdf/xpdf/goo/gmem.c
[/tmp/kdegraphics-3.5.0]$ 

So, it looks like we don't need to cd to kpdf/xpdf/xpdf first. A cursory
look at the patch seems to indicate so. Maybe the patch was updated
without notice?

-- 
Miguel Bazdresch
http://thewizardstower.org/
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to