diff options
author | Petr Vaněk <arkamar@gentoo.org> | 2023-12-30 22:58:57 +0100 |
---|---|---|
committer | Petr Vaněk <arkamar@gentoo.org> | 2023-12-30 23:06:54 +0100 |
commit | 1468552f35003324682d5e1d80062363bf1bb78a (patch) | |
tree | c226a36e1a50638cf44ad19433d1937c31a301a6 /dev-libs/pcl | |
parent | sci-libs/tokenizers: add QA_FLAGS_IGNORED. It's rust (diff) | |
download | gentoo-1468552f35003324682d5e1d80062363bf1bb78a.tar.gz gentoo-1468552f35003324682d5e1d80062363bf1bb78a.tar.bz2 gentoo-1468552f35003324682d5e1d80062363bf1bb78a.zip |
dev-libs/pcl: header files fix for musl
additionally, update EAPI 7 -> 8
Closes: https://bugs.gentoo.org/895060
Signed-off-by: Petr Vaněk <arkamar@gentoo.org>
Diffstat (limited to 'dev-libs/pcl')
-rw-r--r-- | dev-libs/pcl/files/pcl-1.12-musl.patch | 20 | ||||
-rw-r--r-- | dev-libs/pcl/pcl-1.12-r2.ebuild | 25 |
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-libs/pcl/files/pcl-1.12-musl.patch b/dev-libs/pcl/files/pcl-1.12-musl.patch new file mode 100644 index 000000000000..e80cf03ce780 --- /dev/null +++ b/dev-libs/pcl/files/pcl-1.12-musl.patch @@ -0,0 +1,20 @@ +Include missing header files + +Bug: https://bugs.gentoo.org/895060 + +diff --git a/pcl/pcl.c b/pcl/pcl.c +index 58d8605..313370e 100644 +--- a/pcl/pcl.c ++++ b/pcl/pcl.c +@@ -22,6 +22,8 @@ + + #include <stdio.h> + #include <stdlib.h> ++#include <string.h> ++#include <unistd.h> + #include "pcl_config.h" + #include "pcl.h" + #include "pcl_private.h" +-- +2.41.0 + diff --git a/dev-libs/pcl/pcl-1.12-r2.ebuild b/dev-libs/pcl/pcl-1.12-r2.ebuild new file mode 100644 index 000000000000..7527764b13f2 --- /dev/null +++ b/dev-libs/pcl/pcl-1.12-r2.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Portable Coroutine Library" +HOMEPAGE="http://xmailserver.org/libpcl.html" +SRC_URI="http://xmailserver.org/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0/1" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" + +PATCHES=( + "${FILESDIR}/${P}-musl.patch" +) + +src_configure() { + econf --disable-static +} + +src_install() { + default + find "${ED}" -name '*.la' -delete || die +} |