Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-wireless/hostapd/files: hostapd-2.1-Fix-nt_password_hash-build.patch
Date: Thu, 01 May 2014 01:22:47
Message-Id: 20140501012244.B67AD2004C@flycatcher.gentoo.org
1 vapier 14/05/01 01:22:44
2
3 Added: hostapd-2.1-Fix-nt_password_hash-build.patch
4 Log:
5 Add fix from upstream for missing -lrt linkage.
6
7 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key D2E96200)
8
9 Revision Changes Path
10 1.1 net-wireless/hostapd/files/hostapd-2.1-Fix-nt_password_hash-build.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/files/hostapd-2.1-Fix-nt_password_hash-build.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hostapd/files/hostapd-2.1-Fix-nt_password_hash-build.patch?rev=1.1&content-type=text/plain
14
15 Index: hostapd-2.1-Fix-nt_password_hash-build.patch
16 ===================================================================
17 fix from upstream git repo
18
19 From 9aab81145a6ce26272b198419d288a0417e683c5 Mon Sep 17 00:00:00 2001
20 From: Jouni Malinen <j@××.fi>
21 Date: Sat, 15 Feb 2014 11:49:09 +0200
22 Subject: [PATCH] Fix nt_password_hash build
23
24 This needs librt on some systems for clock_gettime().
25
26 Signed-off-by: Jouni Malinen <j@××.fi>
27 ---
28 hostapd/Makefile | 1 +
29 1 file changed, 1 insertion(+)
30
31 diff --git a/hostapd/Makefile b/hostapd/Makefile
32 index 5fd6481..ef093e5 100644
33 --- a/hostapd/Makefile
34 +++ b/hostapd/Makefile
35 @@ -95,6 +95,7 @@ ifeq ($(CONFIG_ELOOP), eloop)
36 LIBS += -lrt
37 LIBS_c += -lrt
38 LIBS_h += -lrt
39 +LIBS_n += -lrt
40 endif
41
42 OBJS += ../src/utils/common.o
43 --
44 1.9.2