summarylogtreecommitdiffstats
path: root/referencer-lib_path.patch
diff options
context:
space:
mode:
authorAskhat Bakarov2016-11-03 16:47:33 +0700
committerAskhat Bakarov2016-11-03 16:47:33 +0700
commit53eae0a9c19924be43deacd3ab043bc78c156f78 (patch)
treed17d754d8f1e6d6c7f3e3efcdda769075218377a /referencer-lib_path.patch
parentc45d74516084c23dfb2b06e658c5e02954922ecc (diff)
downloadaur-53eae0a9c19924be43deacd3ab043bc78c156f78.tar.gz
Fix compilation
Diffstat (limited to 'referencer-lib_path.patch')
-rw-r--r--referencer-lib_path.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/referencer-lib_path.patch b/referencer-lib_path.patch
new file mode 100644
index 000000000000..df0523c38543
--- /dev/null
+++ b/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;
+ }