ports/devel/root/files/patch-io_io_src_TFile.cxx
Erik Jensen 7488335156 devel/root: Update to 6.28/00
- ROOT *should* build on aarch64. Some oversights were present in the
  Makefile of the previous commit

ChangeLog:	https://root.cern/doc/v628/release-notes.html
PR:		269552
2023-02-20 17:08:40 +00:00

21 lines
734 B
C++

--- io/io/src/TFile.cxx.orig 2023-02-13 23:57:29 UTC
+++ io/io/src/TFile.cxx
@@ -77,7 +77,9 @@ The structure of a directory is shown in TDirectoryFil
#include <sys/stat.h>
#ifndef WIN32
#include <unistd.h>
+#ifndef R__FBSD
#include <sys/xattr.h>
+#endif
#else
# define ssize_t int
# include <io.h>
@@ -4067,7 +4069,7 @@ TFile *TFile::Open(const char *url, Option_t *options,
TString expandedUrl(url);
gSystem->ExpandPathName(expandedUrl);
-#ifdef R__UNIX
+#if defined(R__UNIX) && !defined(R__FBSD)
// If URL is a file on an EOS FUSE mount, attempt redirection to XRootD protocol.
if (gEnv->GetValue("TFile.CrossProtocolRedirects", 1) == 1) {
TUrl fileurl(expandedUrl, /* default is file */ kTRUE);