Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Injected-Via-Gmane: http://gmane.org/ To: cygwin AT cygwin DOT com From: Nicholas Wourms Subject: Re: tin-1.6.2-1 patch to fix charset & dotlock issues Date: Sat, 29 Nov 2003 17:01:21 -0500 Lines: 26 Message-ID: <3FC91731.5010509@myrealbox.com> References: <20031129084409 DOT GA566507 AT skoell> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet AT sea DOT gmane DOT org User-Agent: Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en In-Reply-To: <20031129084409.GA566507@skoell> X-Enigmail-Version: 0.76.7.0 X-Enigmail-Supports: pgp-inline, pgp-mime Alexey Volkov wrote: > Hello everybody. > > Here is some kind of a [proposed] patch to fix charset(1) and > dotlocking(2) issues in the tin-1.6.2-1 > [SNIP] > diff -urbN tin-1.6.2-1/src/Makefile.in tin-1.6.2-1-patched/src/Makefile.in > --- tin-1.6.2-1/src/Makefile.in 2003-08-10 19:27:36.000000000 +0600 > +++ tin-1.6.2-1-patched/src/Makefile.in 2003-11-28 00:20:36.000000000 +0500 > @@ -65,6 +65,9 @@ > INTL_LIBS = @INTLLIBS@ > PCRE_LIBS = @PCREDIR_LIBS@ @PCREDIR_MAKE@ -L../pcre -lpcre > LIBS = $(PCRE_LIBS) $(CANLIB) @LIBS@ @INN_NNTPLIB@ $(INTL_LIBS) > +ifeq (@host_os@,cygwin) > +LIBS = $(PCRE_LIBS) $(CANLIB) @LIBS@ @INN_NNTPLIB@ $(INTL_LIBS) -lkernel32 Adding -lkernel32 is not necessary because gcc's collect2 automatically passes this as an argument to ld during the link stage when building a native cygwin binary. See the "*lib:" line after invoking `gcc -dumpspecs` to see the libraries gcc automatically links in. Cheers, Nicholas -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/