On Thu, 30 Aug 2001, adam wrote:

> i hate to ask this.. but i can not seem to figure how to apply patches to the 
>blackbox source tree. i have looked through the patch man page, and could not figure 
>it out. any help is appreciated. thanks.

>From my rarely-updated FAQ
(http://www.reedmedia.net/misc/blackbox/faq.html#patches2)

First change to your Blackbox compile directory. For a normal (an
unzipped, untarred format, plain text) patch: 

patch -p0 < name.patch

Or for a gzip patch do : 

gzip -cd name.patch.gz | patch -p0

The -p0 could be -p1 or -p2 or even greater, this option just strips parts
of the paths of the filenames defined in the patch
file. For example. if path is /src/Window.cc 

-p0 : blackbox/src/Window.cc
-p1 : src/Window.cc
-p2 : Window.cc

(If -p0 patch complains it cannot find filename, try -p1 etc.) Then make
and optionally make install.

  Jeremy C. Reed
....................................................
     BSD software, documentation, resources, news...
     http://bsd.reedmedia.net/

Reply via email to