Gentoo Archives: gentoo-commits

From: "Joshua Kinard (kumba)" <kumba@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-boot/dvhtool/files: dvhtool-1.0.1-debian-xopen_source.diff dvhtool-1.0.1-debian-warn_type_guess.diff
Date: Sun, 01 Mar 2009 22:37:12
Message-Id: E1LduHW-0005I1-Df@stork.gentoo.org
1 kumba 09/03/01 22:37:10
2
3 Added: dvhtool-1.0.1-debian-xopen_source.diff
4 dvhtool-1.0.1-debian-warn_type_guess.diff
5 Log:
6 Add two new patches from Debian, fix up some QA issues, and add ~amd64 to KEYWORDS.
7 (Portage version: 2.1.6.7/cvs/Linux mips64)
8
9 Revision Changes Path
10 1.1 sys-boot/dvhtool/files/dvhtool-1.0.1-debian-xopen_source.diff
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-boot/dvhtool/files/dvhtool-1.0.1-debian-xopen_source.diff?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-boot/dvhtool/files/dvhtool-1.0.1-debian-xopen_source.diff?rev=1.1&content-type=text/plain
14
15 Index: dvhtool-1.0.1-debian-xopen_source.diff
16 ===================================================================
17 diff --git a/dvhlib.c b/dvhlib.c
18 --- a/dvhlib.c
19 +++ b/dvhlib.c
20 @@ -1,6 +1,7 @@
21 /*
22 * Disk Volume Header Library
23 */
24 +#define _XOPEN_SOURCE 500
25 #include <stdio.h>
26 #include <stdlib.h>
27 #include <string.h>
28
29
30
31 1.1 sys-boot/dvhtool/files/dvhtool-1.0.1-debian-warn_type_guess.diff
32
33 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-boot/dvhtool/files/dvhtool-1.0.1-debian-warn_type_guess.diff?rev=1.1&view=markup
34 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-boot/dvhtool/files/dvhtool-1.0.1-debian-warn_type_guess.diff?rev=1.1&content-type=text/plain
35
36 Index: dvhtool-1.0.1-debian-warn_type_guess.diff
37 ===================================================================
38 --- a/dvhlib.h
39 +++ b/dvhlib.h
40 @@ -3,7 +3,8 @@ #include "config.h"
41 #ifdef HAVE_INTTYPES_H
42 #include <inttypes.h>
43 #else
44 -typedef unsigned int uint32_t; /* A guess ... */
45 + #warning Guessing type of uint32_t
46 + typedef unsigned int uint32_t; /* A guess ... */
47 #endif
48
49 #include "dvh.h"