Skip to content
Permalink
Browse files

xrootd: Add patch for missing <utility> include

  • Loading branch information
cjones051073 committed Apr 7, 2019
1 parent 2c7c5ea commit bbaf752561bc15b0f618fa67eef98db1114994a0
Showing with 19 additions and 1 deletion.
  1. +7 −1 science/xrootd/Portfile
  2. +12 −0 science/xrootd/files/XrdClBuffer-include-utility.patch
@@ -9,7 +9,7 @@ PortGroup legacysupport 1.0

github.setup xrootd xrootd 4.9.1 v
version ${github.version}
revision 2
revision 3

livecheck.version ${version}
livecheck.type regex
@@ -51,6 +51,12 @@ default_variants +ssl +readline +kerberos

cmake.out_of_source yes

patch.pre_args -p1

# Temporary fix for missing <utility> include
# https://github.com/xrootd/xrootd/pull/958
patchfiles-append XrdClBuffer-include-utility.patch

# Force a compatible compiler
compiler.blacklist-append *gcc* {clang < 900} macports-clang-3.3 macports-clang-3.4 \
macports-clang-3.7 macports-clang-4.0 macports-clang-3.9 \
@@ -0,0 +1,12 @@
diff --git a/src/XrdCl/XrdClBuffer.hh b/src/XrdCl/XrdClBuffer.hh
index fbd035a6..4f437d3a 100644
--- a/src/XrdCl/XrdClBuffer.hh
+++ b/src/XrdCl/XrdClBuffer.hh
@@ -24,6 +24,7 @@
#include <new>
#include <cstring>
#include <string>
+#include <utility>

namespace XrdCl
{

0 comments on commit bbaf752

Please sign in to comment.
You can’t perform that action at this time.