Gentoo Archives: gentoo-commits

From: "Markos Chandras (hwoarang)" <hwoarang@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-irc/psybnc/files: ldflags-fix.patch
Date: Mon, 01 Nov 2010 00:15:30
Message-Id: 20101101001524.04D1D20051@flycatcher.gentoo.org
1 hwoarang 10/11/01 00:15:23
2
3 Modified: ldflags-fix.patch
4 Log:
5 Apply correct patch. Thanks to Nathan Phillip Brink (ohnobinki) <ohnobinki@××××××××××××××.net>. Bug #343139
6
7 (Portage version: 2.2.0_alpha2/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.2 net-irc/psybnc/files/ldflags-fix.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/psybnc/files/ldflags-fix.patch?rev=1.2&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/psybnc/files/ldflags-fix.patch?rev=1.2&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/psybnc/files/ldflags-fix.patch?r1=1.1&r2=1.2
15
16 Index: ldflags-fix.patch
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-irc/psybnc/files/ldflags-fix.patch,v
19 retrieving revision 1.1
20 retrieving revision 1.2
21 diff -u -r1.1 -r1.2
22 --- ldflags-fix.patch 10 Oct 2010 18:30:09 -0000 1.1
23 +++ ldflags-fix.patch 1 Nov 2010 00:15:23 -0000 1.2
24 @@ -7,6 +7,6 @@
25 fprintf(makefile,"all: $(OBJS)\n");
26 - fprintf(makefile," $(CC) -o $(TARGET) $(CFLAGS) $(OBJS) $(LIBS)\n");
27 + fprintf(makefile," $(CC) -o $(TARGET) $(CFLAGS) $(LDFLAGS) $(OBJS) $(LIBS)\n");
28 + fprintf(makefile," @strip $(TARGET)\n");
29 if(ssl==0)
30 {
31 - if(!fexists("key/psybnc.cert.pem")) /* only create, if not exist */