cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: libssh2 patch 10/17

From: Behnam Rashidian <BRashidian_at_zeugmasystems.com>
Date: Thu, 19 Oct 2006 09:43:18 -0700

I get this error...yes I should update my libCurl to the one from CVS, I
totally forgot about doing that. Thanks

[]$ patch -p0 < libssh2_patch.txt
can't find file to patch at input line 18
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|? .gdb_history
|? cURL
|? compile
|? libssh2_patch.txt
|? libssh2_patch.zip
|? makePatch.sh
|? rc.conf
|? lib/sftp.c
|? lib/sftp.h
|? src/.gdb_history
|Index: configure.ac
|===================================================================
|RCS file: /cvsroot/curl/curl/configure.ac,v
|retrieving revision 1.207
|diff -u -r1.207 configure.ac
|--- configure.ac 16 Oct 2006 08:30:56 -0000 1.207
|+++ configure.ac 17 Oct 2006 22:18:02 -0000
--------------------------
File to patch:

-----Original Message-----
From: curl-library-bounces_at_cool.haxx.se
[mailto:curl-library-bounces_at_cool.haxx.se] On Behalf Of James Housley
Sent: Thursday, October 19, 2006 9:01 AM
To: libcurl development
Subject: Re: libssh2 patch 10/17

On Oct 19, 2006, at 11:50 AM, Behnam Rashidian wrote:

> Hi, great patch but please tell me how to apply the libssh2_patch.txt
> file. I have been reading the man pages for patch command but still
> haven't figured it out. So any replies to this thread would save me
> time.
>

patch -p0 < libssh2_patch.txt

That is all that is needed to apply the patch. Since you are building
from CVS just follow the instructions in CVS-INFO

> For those who are trying to build the libSSH2 library, after you
> configure you have to add the -I to /src/Makefile line 11 /usr/
> include so it should look like this:
>

Should build without modifications after running ./configure . At
least it does for me.

Jim

--
/"\   ASCII Ribbon Campaign  .
\ / - NO HTML/RTF in e-mail  .
  X  - NO Word docs in e-mail .
/ \ -----------------------------------------------------------------
jeh@FreeBSD.org      http://www.FreeBSD.org     The Power to Serve
jim@TheHousleys.Net  http://www.TheHousleys.net
---------------------------------------------------------------------
Fortune Not Found:
Abort, Retry, Ignore?
Received on 2006-10-19