public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in mail-mta/exim/files: exim-4.74-radius-db-ENV-clash.patch
@ 2011-02-01 12:56 Fabian Groffen (grobian)
  0 siblings, 0 replies; only message in thread
From: Fabian Groffen (grobian) @ 2011-02-01 12:56 UTC (permalink / raw
  To: gentoo-commits

grobian     11/02/01 12:56:28

  Added:                exim-4.74-radius-db-ENV-clash.patch
  Log:
  Build related fixes for #287426 and possibly #352265
  
  (Portage version: 2.1.9.24/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  mail-mta/exim/files/exim-4.74-radius-db-ENV-clash.patch

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
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

Index: exim-4.74-radius-db-ENV-clash.patch
===================================================================
Nasty workaround for
http://bugs.gentoo.org/show_bug.cgi?id=287426

--- src/auths/call_radius.c
+++ src/auths/call_radius.c
@@ -10,6 +10,16 @@
 /* This file was originally supplied by Ian Kirk. The libradius support came
 from Alex Kiernan. */
 
+/* ugly hack to work around redefinition of ENV by radiusclient.h and
+ * db.h: define _DB_H_ so the db.h include thinks it's already included,
+ * we can get away with it like this, since this file doesn't use any db
+ * functions. */
+#ifndef _DB_H_
+#define _DB_H_ 1
+#define _DB_EXT_PROT_IN_ 1
+#define DB void
+#endif
+
 #include "../exim.h"
 
 /* This module contains functions that call the Radius authentication






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-02-01 12:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-01 12:56 [gentoo-commits] gentoo-x86 commit in mail-mta/exim/files: exim-4.74-radius-db-ENV-clash.patch Fabian Groffen (grobian)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox