Gentoo Archives: gentoo-commits

From: "Christoph Mende (angelos)" <angelos@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-sound/audio-entropyd/files: audio-entropyd-1.0.1-uclibc.patch
Date: Tue, 22 Jan 2008 12:22:48
Message-Id: E1JHI9N-0004Pa-J2@stork.gentoo.org
1 angelos 08/01/22 12:22:45
2
3 Added: audio-entropyd-1.0.1-uclibc.patch
4 Log:
5 Work around compilation failures on uclibc
6 (Portage version: 2.1.4)
7
8 Revision Changes Path
9 1.1 media-sound/audio-entropyd/files/audio-entropyd-1.0.1-uclibc.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/audio-entropyd/files/audio-entropyd-1.0.1-uclibc.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/audio-entropyd/files/audio-entropyd-1.0.1-uclibc.patch?rev=1.1&content-type=text/plain
13
14 Index: audio-entropyd-1.0.1-uclibc.patch
15 ===================================================================
16 --- audio-entropyd-1.0.1.orig/error.c 2008-01-22 09:50:28 +0000
17 +++ audio-entropyd-1.0.1/error.c 2008-01-22 09:53:51 +0000
18 @@ -9,13 +9,13 @@
19 #include <signal.h>
20 #include <syslog.h>
21 #include <regex.h>
22 -#if defined(__GLIBC__)
23 +#if defined(__GLIBC__) && !defined(__UCLIBC__)
24 #include <execinfo.h>
25 #endif
26
27 void print_trace(void)
28 {
29 -#if defined(__GLIBC__)
30 +#if defined(__GLIBC__) && !defined(__UCLIBC__)
31 void *array[MAX_BACKTRACE_LENGTH];
32 size_t size;
33
34 @@ -39,7 +39,7 @@
35 printf("\n\n\nDebug information:\n");
36 if (errno) fprintf(stderr, "errno: %d=%s (if applicable)\n", errno, strerror(errno));
37
38 -#if defined(__GLIBC__)
39 +#if defined(__GLIBC__) && !defined(__UCLIBC__)
40 print_trace();
41 #endif
42
43
44
45
46 --
47 gentoo-commits@l.g.o mailing list