Re: How to apply patch?

From: Jason Tishler <jason(at)tishler(dot)net>
To: Andrew Klimov <and_k_98(at)yahoo(dot)com>
Cc: pgsql-cygwin(at)postgresql(dot)org
Subject: Re: How to apply patch?
Date: 2003-01-16 18:09:07
Message-ID: 20030116180907.GC820@tishler.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin

Andrew,

On Thu, Jan 16, 2003 at 08:47:52AM -0800, Andrew Klimov wrote:
> Jason, many thanks to you for patch and comments!

You are welcome.

> But,I'm not a cygwin "guru".So, how to apply the tcl.patch?I have
> placed it to /usr/src/postgresql-7.3.1 and then run:
>
> patch -p1 < tcl.patch. And this gives me:

Since the patch is against CVS, you need to supply the -p0 option:

$ cd /usr/src/postgresql-7.3.1/src
$ patch -p0 </usr/src/postgresql-7.3.1/tcl.patch
patching file interfaces/libpgtcl/Makefile
patching file makefiles/Makefile.win
patching file pl/tcl/Makefile
Hunk #1 succeeded at 40 (offset -3 lines).
patching file pl/tcl/pltcl.c

> My Question : should I place tclConfig.sh (and tkConfig.sh) which is
> originally in /cygwin/lib directory to /cygwin/usr/lib directory?

No. The /lib and /usr/lib directories are actually the same (e.g.,
C:\cygwin\lib) but appear to be two due to a mount point:

$ mount
C:\cygwin on / type system (binmode)
**> C:\cygwin\lib on /usr/lib type system (binmode) <**
...

Jason

--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6

In response to

Browse pgsql-cygwin by date

  From Date Subject
Next Message King_Henree@yahoo.com 2003-01-16 18:56:03 Determining which DML is used most???
Previous Message Andrew Klimov 2003-01-16 16:47:52 How to apply patch?