summaryrefslogtreecommitdiffstats
path: root/office/referencer/referencer-lib_path.patch
diff options
context:
space:
mode:
author Matteo Bernardini2021-03-27 10:25:10 +0100
committer Matteo Bernardini2021-03-27 10:25:10 +0100
commit2fba1c878b57d3afa631b9369518be5d21221c09 (patch)
treedce412a05dfeb7fbb53d24c934a732c3b522ad0f /office/referencer/referencer-lib_path.patch
parentf4c325577c3399f98410adb164155c38bb8ed86a (diff)
downloadslackbuilds-48bab66300e88b0be402c496b866a7ca90e7d8e7.tar.gz
20210327.1 global branch merge.current-20210327.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;
+ }