Mercurial > mxe-octave
view src/of-dicom-1-fixes.patch @ 4905:aa24b03ebb89
build-m4: Add patch for glibc >= 2.28 (bug #55214).
* src/build-m4-glibc2-28.patch: Add patch for m4 on systems with glibc >= 2.28.
* dist-files.mk: add ref to patch.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Mon, 10 Dec 2018 21:32:21 +0100 |
parents | ff17e8f333ae |
children |
line wrap: on
line source
diff -uNr a/src/isdicom.cpp b/src/isdicom.cpp --- a/src/isdicom.cpp 2018-04-08 19:19:05.638729302 -0400 +++ b/src/isdicom.cpp 2018-04-25 10:44:45.240179042 -0400 @@ -32,7 +32,7 @@ reader.SetFileName (filename.c_str ()); // gdcm::Reader.Read() will return false if the file does not exists but // also prints to stderr so we check it first. - return file_stat (filename).exists () && reader.Read (); + return octave::sys::file_stat (filename).exists () && reader.Read (); } DEFUN_DLD (isdicom, args, ,