From: | "Gilles Dartiguelongue (eva)" <eva@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in www-apache/mod_dnssd/files: mod_dnssd-0.6-ldflags.patch |
Date: | Sun, 03 May 2009 10:48:10 |
Message-Id: | E1M0ZEu-0008O8-4U@stork.gentoo.org |
1 | eva 09/05/03 10:48:08 |
2 | |
3 | Added: mod_dnssd-0.6-ldflags.patch |
4 | Log: |
5 | Bump to 0.6. Fix linking, bug #266433. |
6 | (Portage version: 2.2_rc31/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 www-apache/mod_dnssd/files/mod_dnssd-0.6-ldflags.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_dnssd/files/mod_dnssd-0.6-ldflags.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_dnssd/files/mod_dnssd-0.6-ldflags.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: mod_dnssd-0.6-ldflags.patch |
15 | =================================================================== |
16 | --- |
17 | Respect LDFLAGS and properly use LIBS to avoid missing symbols at runtime. |
18 | |
19 | --- a/src/Makefile.in 2009-01-22 17:42:02.000000000 +0100 |
20 | +++ b/src/Makefile.in 2009-04-16 22:26:17.092709780 +0200 |
21 | @@ -16,13 +16,13 @@ |
22 | |
23 | APXS=@APXS@ |
24 | APACHECTL=@APACHECTL@ |
25 | -LIBS=-Wl,"@LIBS@" @AVAHI_LIBS@ |
26 | +LIBS="@LIBS@" @AVAHI_LIBS@ |
27 | CFLAGS=-Wc,"@CFLAGS@" @AVAHI_CFLAGS@ |
28 | |
29 | all: mod_dnssd.la |
30 | |
31 | mod_dnssd.la: @srcdir@/mod_dnssd.c |
32 | - $(APXS) -c $(CFLAGS) $(LIBS) @srcdir@/mod_dnssd.c |
33 | + $(APXS) -c $(CFLAGS) -Wl,$(LDFLAGS) @srcdir@/mod_dnssd.c $(LIBS) |
34 | |
35 | install: all |
36 | $(APXS) -i -a mod_dnssd.la |