From d59326f205d0c5957382880c8e4448d7c9e507af Mon Sep 17 00:00:00 2001 From: Henrik Grimler Date: Fri, 31 May 2019 21:36:22 +0200 Subject: [PATCH] exiv2: add patch needed for debug build --- packages/exiv2/exiv2json.cpp.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 packages/exiv2/exiv2json.cpp.patch diff --git a/packages/exiv2/exiv2json.cpp.patch b/packages/exiv2/exiv2json.cpp.patch new file mode 100644 index 000000000..fb7a9d938 --- /dev/null +++ b/packages/exiv2/exiv2json.cpp.patch @@ -0,0 +1,11 @@ +--- ../exiv2json.cpp.orig 2019-05-31 21:32:41.319959442 +0200 ++++ ./samples/exiv2json.cpp 2019-05-31 21:33:11.399959231 +0200 +@@ -236,7 +236,7 @@ + { + Jzon::Object& fs = (Jzon::Object&) nfs; + fs.Add("path",path); +- char resolved_path[2000]; // PATH_MAX]; ++ char resolved_path[PATH_MAX]; + fs.Add("realpath",realpath(path,resolved_path)); + + struct stat buf;