Gentoo Archives: gentoo-commits

From: "Ulrich Mueller (ulm)" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/clens/files: clens-0.7.0-no-arc4random.patch
Date: Fri, 04 Oct 2013 18:01:09
Message-Id: 20131004180106.0CE1820034@flycatcher.gentoo.org
1 ulm 13/10/04 18:01:05
2
3 Added: clens-0.7.0-no-arc4random.patch
4 Log:
5 Initial import. This is a convenience library used by app-editors/mg. Ebuild contributed by me.
6
7 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 9433907D693FB5B8!)
8
9 Revision Changes Path
10 1.1 dev-libs/clens/files/clens-0.7.0-no-arc4random.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/clens/files/clens-0.7.0-no-arc4random.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/clens/files/clens-0.7.0-no-arc4random.patch?rev=1.1&content-type=text/plain
14
15 Index: clens-0.7.0-no-arc4random.patch
16 ===================================================================
17 Disable arc4random_buf and arc4random_uniform. These functions would
18 need libbsd as dependency for the arc4random function, but they are
19 already included in newer versions of that library.
20
21 --- clens-0.7.0-orig/include/clens/clens.h
22 +++ clens-0.7.0/include/clens/clens.h
23 @@ -73,8 +73,6 @@
24 #include <stdlib.h>
25 #define NO_UTIL_H
26
27 -#define NEED_ARC4RANDOM_BUF
28 -#define NEED_ARC4RANDOM_UNIFORM
29 #define NEED_STRNVIS
30 #define NEED_STRNUNVIS
31 #define NEED_STRLCAT