summaryrefslogtreecommitdiffstats
path: root/office/referencer/referencer-lib_path.patch
diff options
context:
space:
mode:
author Matteo Bernardini2018-07-18 17:28:12 +0200
committer Matteo Bernardini2018-07-18 17:28:12 +0200
commit3eb693602be9a059bfa02fee66fb2d04894e58c1 (patch)
tree0cbd5eb85e6a2182f25850fa5bab9c852b256eb3 /office/referencer/referencer-lib_path.patch
parent296ae062cf9db17716afa30ab06ad00f1d768fb9 (diff)
downloadslackbuilds-current-20180718.1.tar.gz
20180718.1 global branch merge.current-20180718.1
Happy 25th anniversary, Slackware! 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;
+ }