summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Kriegner <dominik.kriegner@gmail.com>2017-10-04 18:15:24 +0200
committerPatrice Clement <monsieurp@gentoo.org>2017-10-05 22:58:11 +0200
commitc763e82d69d7dae94b05347e5668a4a6a87077ac (patch)
tree98c24b3e63a28d132a61570a26515db59648b53a /app-text/referencer/files
parentapp-admin/logrotate: Adds postinstall message for running systems using systemd (diff)
downloadgentoo-c763e82d69d7dae94b05347e5668a4a6a87077ac.tar.gz
gentoo-c763e82d69d7dae94b05347e5668a4a6a87077ac.tar.bz2
gentoo-c763e82d69d7dae94b05347e5668a4a6a87077ac.zip
app-text/referencer: fix bug 601174.
* Update ebuild to EAPI version 6. * Pdd patch to fix a compile error. * Move from the fdo-mime to xdg-utils eclass, as suggested by repoman. Closes: https://bugs.gentoo.org/601174 Closes: https://github.com/gentoo/gentoo/pull/5859 Package-Manager: Portage-2.3.10, Repoman-2.3.3
Diffstat (limited to 'app-text/referencer/files')
-rw-r--r--app-text/referencer/files/referencer-1.2.2-lib_path.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/app-text/referencer/files/referencer-1.2.2-lib_path.patch b/app-text/referencer/files/referencer-1.2.2-lib_path.patch
new file mode 100644
index 000000000000..220b47d8b488
--- /dev/null
+++ b/app-text/referencer/files/referencer-1.2.2-lib_path.patch
@@ -0,0 +1,21 @@
+From: Dominik Kriegner <dominik.kriegner@gmail.com>
+Date: Tue, 29 Nov 2016 09:56:00 +0000
+Subject: [PATCH] fix build issue
+Patch's original author is Askhat Bakarov on arch
+https://aur.archlinux.org/cgit/aur.git/commit/?h=referencer&id=961f2b5e4b286f27f610e5267465c63021b8a50f
+
+Project-Bug-URL: https://bugs.launchpad.net/referencer/+bug/1645639
+Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=601174
+merged upstream: http://bazaar.launchpad.net/~referencer-devs/referencer/trunk/revision/939
+
+--- a/src/Document.C 2014-01-27 03:43:00.000000000 +0700
++++ b/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;
+ }