diff options
author | Akinori Hattori <hattya@gentoo.org> | 2024-05-07 21:31:12 +0900 |
---|---|---|
committer | Akinori Hattori <hattya@gentoo.org> | 2024-05-07 21:37:51 +0900 |
commit | 1f2448146af74f910ee39d069de31aa1d14763fb (patch) | |
tree | 62b40bca8aaab1ef0055c0feba8d622b1687b1f8 /app-text/namazu | |
parent | dev-python/btrfs: add v14.1 (diff) | |
download | gentoo-1f2448146af74f910ee39d069de31aa1d14763fb.tar.gz gentoo-1f2448146af74f910ee39d069de31aa1d14763fb.tar.bz2 gentoo-1f2448146af74f910ee39d069de31aa1d14763fb.zip |
app-text/namazu: fix build with Clang
Closes: https://bugs.gentoo.org/871450
Signed-off-by: Akinori Hattori <hattya@gentoo.org>
Diffstat (limited to 'app-text/namazu')
-rw-r--r-- | app-text/namazu/files/namazu-underlinking.patch | 11 | ||||
-rw-r--r-- | app-text/namazu/namazu-2.0.21.ebuild | 3 | ||||
-rw-r--r-- | app-text/namazu/namazu-2.0.22_pre8.ebuild | 7 |
3 files changed, 18 insertions, 3 deletions
diff --git a/app-text/namazu/files/namazu-underlinking.patch b/app-text/namazu/files/namazu-underlinking.patch new file mode 100644 index 000000000000..04af7c21d998 --- /dev/null +++ b/app-text/namazu/files/namazu-underlinking.patch @@ -0,0 +1,11 @@ +--- a/nmz/Makefile.am ++++ b/nmz/Makefile.am +@@ -47,7 +47,7 @@ + nmzversion.c + + libnmz_la_DEPENDENCIES = @NMZ_LIBOBJS@ +-libnmz_la_LIBADD = @LTLIBINTL@ ++libnmz_la_LIBADD = @LTLIBINTL@ @NMZ_LIBOBJS@ + libnmz_la_LDFLAGS = -version-info $(LTVERSION) + + nmzversion.c: nmzversion.c.in diff --git a/app-text/namazu/namazu-2.0.21.ebuild b/app-text/namazu/namazu-2.0.21.ebuild index ef46e76118df..be73f786452f 100644 --- a/app-text/namazu/namazu-2.0.21.ebuild +++ b/app-text/namazu/namazu-2.0.21.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="7" @@ -38,6 +38,7 @@ PATCHES=( "${FILESDIR}"/${PN}-emacs-27.patch "${FILESDIR}"/${PN}-perl-5.18.patch "${FILESDIR}"/${PN}-perl-5.26.patch + "${FILESDIR}"/${PN}-underlinking.patch "${FILESDIR}"/${P}-memmove.patch ) diff --git a/app-text/namazu/namazu-2.0.22_pre8.ebuild b/app-text/namazu/namazu-2.0.22_pre8.ebuild index 4c8146e3b313..6dab831697ff 100644 --- a/app-text/namazu/namazu-2.0.22_pre8.ebuild +++ b/app-text/namazu/namazu-2.0.22_pre8.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="7" @@ -36,7 +36,10 @@ DEPEND="${RDEPEND}" BDEPEND="nls? ( sys-devel/gettext )" S="${WORKDIR}"/${MY_P} -PATCHES=( "${FILESDIR}"/${PN}-gentoo.patch ) +PATCHES=( + "${FILESDIR}"/${PN}-gentoo.patch + "${FILESDIR}"/${PN}-underlinking.patch +) src_prepare() { default |