summaryrefslogtreecommitdiffstats
path: root/office/referencer/referencer-lib_path.patch
diff options
context:
space:
mode:
author Matteo Bernardini2018-10-18 19:05:41 +0200
committer Matteo Bernardini2018-10-18 19:05:41 +0200
commitc9326a596337c38df416f18a270832c42dda5c1e (patch)
treec5e9723b5e84014de3da1d7711e2c3a1ac811c68 /office/referencer/referencer-lib_path.patch
parente508b015d1f32339a2049795d646af143139eb87 (diff)
downloadslackbuilds-current-20181018.1.tar.gz
20181018.1 global branch merge.current-20181018.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;
+ }