diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-05-07 18:08:51 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-05-07 18:08:51 +0000 |
| commit | 504be628d80d738b781ef689a5c779bd0df8fb20 (patch) | |
| tree | 42782ad414b0264762f1a83592340d44accbb6bb /app-text/namazu | |
| parent | 009dd2f617ce2dd38549e26e06bde526b1dcdee5 (diff) | |
| download | baldeagleos-repo-504be628d80d738b781ef689a5c779bd0df8fb20.tar.gz baldeagleos-repo-504be628d80d738b781ef689a5c779bd0df8fb20.tar.xz baldeagleos-repo-504be628d80d738b781ef689a5c779bd0df8fb20.zip | |
Adding metadata
Diffstat (limited to 'app-text/namazu')
| -rw-r--r-- | app-text/namazu/files/namazu-configure.patch | 13 | ||||
| -rw-r--r-- | app-text/namazu/files/namazu-tests.patch | 8 | ||||
| -rw-r--r-- | app-text/namazu/files/namazu-underlinking.patch | 11 | ||||
| -rw-r--r-- | app-text/namazu/namazu-2.0.21.ebuild | 13 | ||||
| -rw-r--r-- | app-text/namazu/namazu-2.0.22_pre8.ebuild | 17 |
5 files changed, 49 insertions, 13 deletions
diff --git a/app-text/namazu/files/namazu-configure.patch b/app-text/namazu/files/namazu-configure.patch new file mode 100644 index 000000000000..02b6fcde8dc6 --- /dev/null +++ b/app-text/namazu/files/namazu-configure.patch @@ -0,0 +1,13 @@ +--- a/acinclude.m4 ++++ b/acinclude.m4 +@@ -165,7 +165,9 @@ + [AC_TRY_RUN( + changequote(<<, >>)dnl + << +-main() ++#include <stdlib.h> ++#include <string.h> ++int main(void) + { + /* Some versions of memcmp are not 8-bit clean. */ + char c0 = 0x40, c1 = 0x80, c2 = 0x81; diff --git a/app-text/namazu/files/namazu-tests.patch b/app-text/namazu/files/namazu-tests.patch new file mode 100644 index 000000000000..c79f8aade6f3 --- /dev/null +++ b/app-text/namazu/files/namazu-tests.patch @@ -0,0 +1,8 @@ +--- a/tests/Makefile.am ++++ b/tests/Makefile.am +@@ -26,3 +26,5 @@ + rm -rf test-log tmp-data tmp.* idx[0-9]* ja-idx[0-9]* + + EXTRA_DIST = $(TESTS) select-data commonfuncs ++ ++.NOTPARALLEL: 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..866e3923c180 100644 --- a/app-text/namazu/namazu-2.0.21.ebuild +++ b/app-text/namazu/namazu-2.0.21.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="7" +EAPI="8" inherit autotools elisp-common @@ -35,9 +35,12 @@ BDEPEND="nls? ( sys-devel/gettext )" PATCHES=( "${FILESDIR}"/${PN}-gentoo.patch + "${FILESDIR}"/${PN}-configure.patch "${FILESDIR}"/${PN}-emacs-27.patch "${FILESDIR}"/${PN}-perl-5.18.patch "${FILESDIR}"/${PN}-perl-5.26.patch + "${FILESDIR}"/${PN}-tests.patch + "${FILESDIR}"/${PN}-underlinking.patch "${FILESDIR}"/${P}-memmove.patch ) @@ -74,14 +77,12 @@ src_compile() { fi } -src_test() { - emake -j1 check -} - src_install() { default find "${ED}" -name '*.la' -delete || die + keepdir /var/lib/${PN}/index + if use emacs; then elisp-install ${PN} lisp/*.el* elisp-site-file-install "${FILESDIR}"/50${PN}-gentoo.el diff --git a/app-text/namazu/namazu-2.0.22_pre8.ebuild b/app-text/namazu/namazu-2.0.22_pre8.ebuild index 4c8146e3b313..d902b8bc9dbe 100644 --- a/app-text/namazu/namazu-2.0.22_pre8.ebuild +++ b/app-text/namazu/namazu-2.0.22_pre8.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="7" +EAPI="8" inherit autotools elisp-common @@ -36,7 +36,12 @@ DEPEND="${RDEPEND}" BDEPEND="nls? ( sys-devel/gettext )" S="${WORKDIR}"/${MY_P} -PATCHES=( "${FILESDIR}"/${PN}-gentoo.patch ) +PATCHES=( + "${FILESDIR}"/${PN}-gentoo.patch + "${FILESDIR}"/${PN}-configure.patch + "${FILESDIR}"/${PN}-tests.patch + "${FILESDIR}"/${PN}-underlinking.patch +) src_prepare() { default @@ -71,14 +76,12 @@ src_compile() { fi } -src_test() { - emake -j1 check -} - src_install() { default find "${ED}" -name '*.la' -delete || die + keepdir /var/lib/${PN}/index + if use emacs; then elisp-install ${PN} lisp/*.el* elisp-site-file-install "${FILESDIR}"/50${PN}-gentoo.el |
