From: "Mikle Kolyada" <zlogene@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/zathura/, app-text/zathura/files/
Date: Sat, 10 Nov 2018 23:55:38 +0000 (UTC) [thread overview]
Message-ID: <1541894134.c620bdc2b3a0872b6bc6ef0a9c624a411328db0d.zlogene@gentoo> (raw)
commit: c620bdc2b3a0872b6bc6ef0a9c624a411328db0d
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 10 23:54:43 2018 +0000
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Sat Nov 10 23:55:34 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c620bdc2
app-text/zathura: find libm properly
Closes: https://bugs.gentoo.org/669850
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
app-text/zathura/files/zathura-find-libm.patch | 26 ++++++++++++++++++++++++++
app-text/zathura/zathura-0.4.1.ebuild | 2 ++
2 files changed, 28 insertions(+)
diff --git a/app-text/zathura/files/zathura-find-libm.patch b/app-text/zathura/files/zathura-find-libm.patch
new file mode 100644
index 00000000000..4995238fb8d
--- /dev/null
+++ b/app-text/zathura/files/zathura-find-libm.patch
@@ -0,0 +1,26 @@
+From cc99b8d3491ce0cd30ba56decc33d811478bab0c Mon Sep 17 00:00:00 2001
+From: Sebastian Ramacher <sebastian@ramacher.at>
+Date: Tue, 30 Oct 2018 00:39:19 +0100
+Subject: [PATCH] Search for m instead of libm (fixes #757)
+
+Thanks to Franz Trischberger for the fix.
+---
+ meson.build | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/meson.build b/meson.build
+index f54f104..afe9ae8 100644
+--- a/meson.build
++++ b/meson.build
+@@ -36,7 +36,7 @@ dbusinterfacesdir = join_paths(datadir, 'dbus-1', 'interfaces')
+ plugindir = join_paths(get_option('libdir'), 'zathura')
+
+ # required dependencies
+-libm = cc.find_library('libm', required: false)
++libm = cc.find_library('m', required: false)
+ girara = dependency('girara-gtk3', version: '>=0.2.9')
+ glib = dependency('glib-2.0', version: '>=2.50')
+ gio = dependency('gio-unix-2.0', required: host_machine.system() != 'windows')
+--
+2.18.0
+
diff --git a/app-text/zathura/zathura-0.4.1.ebuild b/app-text/zathura/zathura-0.4.1.ebuild
index 1b9071f73e7..446cef59dfa 100644
--- a/app-text/zathura/zathura-0.4.1.ebuild
+++ b/app-text/zathura/zathura-0.4.1.ebuild
@@ -21,6 +21,8 @@ LICENSE="ZLIB"
SLOT="0"
IUSE="+magic seccomp sqlite synctex test"
+PATCHES=( "${FILESDIR}"/${PN}-find-libm.patch )
+
RDEPEND="dev-libs/appstream
>=dev-libs/girara-0.3.1
>=dev-libs/glib-2.50:2
next reply other threads:[~2018-11-10 23:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-10 23:55 Mikle Kolyada [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-01-20 3:11 [gentoo-commits] repo/gentoo:master commit in: app-text/zathura/, app-text/zathura/files/ Sam James
2024-01-21 4:02 Sam James
2024-05-31 13:41 Joonas Niilola
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1541894134.c620bdc2b3a0872b6bc6ef0a9c624a411328db0d.zlogene@gentoo \
--to=zlogene@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox