[BUG] patch fails for porper path resolution

John Spencer maillist-busybox at barfooze.de
Wed Jul 20 20:39:44 UTC 2011


the attached patch fails to generate the proper pathname with -p1

with -p1 it translates libssh-0.5.0//include/libssh/libssh.h to 
//include/libssh/libssh.h
and
libssh-0.5.0/include/libssh/libssh.h to /include/libssh/libssh.h

both should obviously translate to include/libssh/libssh.h without 
leading slashes.

used busybox was 1.18.4
used libssh was 0.5.0

thanks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libssh.patch
Type: text/x-patch
Size: 429 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20110720/b4263ff8/attachment.bin>


More information about the busybox mailing list