summaryrefslogtreecommitdiffstats
path: root/office/referencer/referencer-lib_path.patch
diff options
context:
space:
mode:
author Matteo Bernardini2019-10-12 08:21:51 +0200
committer Matteo Bernardini2019-10-12 08:21:51 +0200
commitc4eaef19b5e3bdc8c4434b8361dff2b267b02b61 (patch)
tree04a00336b6792c85760bf4a372840936e279c16a /office/referencer/referencer-lib_path.patch
parentd66a0530d964c06cc3a20ccad1c8071297dedf4b (diff)
downloadslackbuilds-3436d6482132e62e4910700aa399f1c4ca817daf.tar.gz
20191012.1 global branch merge.current-20191012.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'office/referencer/referencer-lib_path.patch')
-rw-r--r--office/referencer/referencer-lib_path.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/office/referencer/referencer-lib_path.patch b/office/referencer/referencer-lib_path.patch
new file mode 100644
index 0000000000..78a1952089
--- /dev/null
+++ b/office/referencer/referencer-lib_path.patch
@@ -0,0 +1,11 @@
+--- referencer-1.2.2/src/Document.C 2014-01-27 03:43:00.000000000 +0700
++++ referencer-1.2.2_/src/Document.C 2016-11-03 16:25:00.698676538 +0700
+@@ -297,7 +297,7 @@
+
+ lib_path = lib_path->get_parent();
+ up_dir_level += "../";
+- if (lib_path == 0) {
++ if (!lib_path) {
+ doc_is_relative_to_library = false;
+ break;
+ }