Gentoo Archives: gentoo-commits

From: "Markos Chandras (hwoarang)" <hwoarang@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-servers/lighttpd/files: lighttpd-1.4.28-detect-libev.patch
Date: Wed, 23 Feb 2011 12:16:23
Message-Id: 20110223121613.6366C20054@flycatcher.gentoo.org
1 hwoarang 11/02/23 12:16:13
2
3 Added: lighttpd-1.4.28-detect-libev.patch
4 Log:
5 Backport upstream patch to detect libev >4.0 correctly. Thanks to Stefan Bühler <lighttpd@×××××××××.de>. Bug #351371
6
7 (Portage version: 2.2.0_alpha24/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 www-servers/lighttpd/files/lighttpd-1.4.28-detect-libev.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/lighttpd/files/lighttpd-1.4.28-detect-libev.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/lighttpd/files/lighttpd-1.4.28-detect-libev.patch?rev=1.1&content-type=text/plain
14
15 Index: lighttpd-1.4.28-detect-libev.patch
16 ===================================================================
17 Index: lighttpd-1.4.28/configure.ac
18 ===================================================================
19 --- lighttpd-1.4.28.orig/configure.ac
20 +++ lighttpd-1.4.28/configure.ac
21 @@ -105,7 +105,7 @@ if test "$WITH_LIBEV" != "no"; then
22 LIBEV_LIBS="-L$WITH_LIBEV/lib -lev"
23 else
24 AC_CHECK_HEADERS([ev.h],[
25 - AC_CHECK_LIB([ev], [ev_loop], [
26 + AC_CHECK_LIB([ev], [ev_time], [
27 LIBEV_CFLAGS=""
28 LIBEV_LIBS="-lev"
29 ],[