Gentoo Archives: gentoo-commits

From: "Fabian Groffen (grobian)" <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in mail-mta/exim/files: exim-4.74-radius-db-ENV-clash.patch
Date: Tue, 01 Feb 2011 12:56:38
Message-Id: 20110201125628.6ABA920057@flycatcher.gentoo.org
1 grobian 11/02/01 12:56:28
2
3 Added: exim-4.74-radius-db-ENV-clash.patch
4 Log:
5 Build related fixes for #287426 and possibly #352265
6
7 (Portage version: 2.1.9.24/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 mail-mta/exim/files/exim-4.74-radius-db-ENV-clash.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-mta/exim/files/exim-4.74-radius-db-ENV-clash.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-mta/exim/files/exim-4.74-radius-db-ENV-clash.patch?rev=1.1&content-type=text/plain
14
15 Index: exim-4.74-radius-db-ENV-clash.patch
16 ===================================================================
17 Nasty workaround for
18 http://bugs.gentoo.org/show_bug.cgi?id=287426
19
20 --- src/auths/call_radius.c
21 +++ src/auths/call_radius.c
22 @@ -10,6 +10,16 @@
23 /* This file was originally supplied by Ian Kirk. The libradius support came
24 from Alex Kiernan. */
25
26 +/* ugly hack to work around redefinition of ENV by radiusclient.h and
27 + * db.h: define _DB_H_ so the db.h include thinks it's already included,
28 + * we can get away with it like this, since this file doesn't use any db
29 + * functions. */
30 +#ifndef _DB_H_
31 +#define _DB_H_ 1
32 +#define _DB_EXT_PROT_IN_ 1
33 +#define DB void
34 +#endif
35 +
36 #include "../exim.h"
37
38 /* This module contains functions that call the Radius authentication