From 6e788cb0dc9ed9b5a8e28f73854d3ab868b69652 Mon Sep 17 00:00:00 2001 From: Andrew Hanushevsky Date: Mon, 11 Jun 2018 06:20:05 -0700 Subject: [PATCH] [SSI} Add Gentoo patch to a file the previous patch missed. --- tests/XrdSsiTests/XrdShMap.cc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/XrdSsiTests/XrdShMap.cc b/tests/XrdSsiTests/XrdShMap.cc index bb642ac342b..4bf1478e3cf 100644 --- a/tests/XrdSsiTests/XrdShMap.cc +++ b/tests/XrdSsiTests/XrdShMap.cc @@ -43,6 +43,14 @@ using namespace std; +/* Gentoo removed OF from their copy of zconf.h but we need it here. + See https://bugs.gentoo.org/show_bug.cgi?id=383179 for the sad history. + This patch modelled after https://trac.osgeo.org/gdal/changeset/24622 +*/ +#ifndef OF +#define OF(args) args +#endif + /******************************************************************************/ /* U n i t G l o b a l s */ /******************************************************************************/