Gentoo Archives: gentoo-commits

From: "Kevin McCarthy (signals)" <signals@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/libbsd/files: libbsd-0.2.0-move-nlist.patch libbsd-0.2.0-arc4random-prototypes.patch
Date: Tue, 22 Feb 2011 16:51:51
Message-Id: 20110222165141.7199D20057@flycatcher.gentoo.org
1 signals 11/02/22 16:51:41
2
3 Added: libbsd-0.2.0-move-nlist.patch
4 libbsd-0.2.0-arc4random-prototypes.patch
5 Log:
6 New ebuild for libbsd
7
8 (Portage version: 2.2.0_alpha24/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.1 dev-libs/libbsd/files/libbsd-0.2.0-move-nlist.patch
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libbsd/files/libbsd-0.2.0-move-nlist.patch?rev=1.1&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libbsd/files/libbsd-0.2.0-move-nlist.patch?rev=1.1&content-type=text/plain
15
16 Index: libbsd-0.2.0-move-nlist.patch
17 ===================================================================
18 Update Makefile to use bsd/nlist.h instead of nlist.h so it won't
19 conflict with dev-libs/elfutils
20
21 Patch by Kevin McCarthy <signals@g.o>
22
23 --- Makefile
24 +++ Makefile
25 @@ -65,7 +65,7 @@
26 bsd/stdlib.h \
27 bsd/readpassphrase.h \
28 bsd/unistd.h \
29 - nlist.h \
30 + bsd/nlist.h \
31 vis.h \
32 libutil.h
33
34
35
36
37 1.1 dev-libs/libbsd/files/libbsd-0.2.0-arc4random-prototypes.patch
38
39 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libbsd/files/libbsd-0.2.0-arc4random-prototypes.patch?rev=1.1&view=markup
40 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libbsd/files/libbsd-0.2.0-arc4random-prototypes.patch?rev=1.1&content-type=text/plain
41
42 Index: libbsd-0.2.0-arc4random-prototypes.patch
43 ===================================================================
44 Add missing prototypes for arc4random_buf and arc4random_uniform
45
46 Patch by Kevin McCarthy <signals@g.o>
47
48 --- include/bsd/stdlib.h
49 +++ include/bsd/stdlib.h
50 @@ -45,6 +45,8 @@
51 u_int32_t arc4random();
52 void arc4random_stir();
53 void arc4random_addrandom(u_char *dat, int datlen);
54 +void arc4random_buf(void *_buf, size_t n);
55 +u_int32_t arc4random_uniform(u_int32_t upper_bound);
56
57 int dehumanize_number(const char *str, int64_t *size);