summaryrefslogtreecommitdiff
path: root/dev-libs/pcl
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-12-30 23:46:05 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-12-30 23:46:05 +0000
commitbb262580ec0b56a32797f121e627928d103e6bb1 (patch)
treeb3b80cb753a087635c972352ce99fed1d01f286b /dev-libs/pcl
parent35e3ee5faf74dc69409f957f81a6848d4d24c49f (diff)
gentoo auto-resync : 30:12:2023 - 23:46:05
Diffstat (limited to 'dev-libs/pcl')
-rw-r--r--dev-libs/pcl/Manifest2
-rw-r--r--dev-libs/pcl/files/pcl-1.12-musl.patch20
-rw-r--r--dev-libs/pcl/pcl-1.12-r2.ebuild25
3 files changed, 47 insertions, 0 deletions
diff --git a/dev-libs/pcl/Manifest b/dev-libs/pcl/Manifest
index 088f746ac870..647e35890ba3 100644
--- a/dev-libs/pcl/Manifest
+++ b/dev-libs/pcl/Manifest
@@ -1,3 +1,5 @@
+AUX pcl-1.12-musl.patch 348 BLAKE2B 73d2842e33b1b36a66d0de427e47e46cb9534e6375d9360f596cf047247bd5fa1ab340cd2efd7026ea78da59baacdcc9801ef214ccb81eae5dcc6736ee7b0eb5 SHA512 a7f655e5e6859cd4ca6a4c0fd4b5ed13a8f3e96f3d2d1f12eec1823dfdfadfdd27756e6a64cf10987fb0a70b758f61dc6f8b9a7983892a5f207d998f0ab7d7e6
DIST pcl-1.12.tar.gz 384986 BLAKE2B f549dd9205ad12a8bd157b4e04e94e156f056e2190c25afcf3c9a0d4488d3e442f9cd3159c6ba68570bff61998b5d6b058c0cec5c57bfe00046379f09bf741ce SHA512 bf0168d8bb3bef8edc36085f6157661cc15f6587c847ed236983612e08955cd1fddcf2b95bbf6c04d275201aecc3842c2ab3679e7ebedb4f5fa9691c73771279
EBUILD pcl-1.12-r1.ebuild 439 BLAKE2B aa5e1f7c385450d113e018d5596ad9c7b83a12927ac033f4b9364e84bc20438ed222a46f41a572c726c07732cc51efa08e4cd8b541ddf0babc322a9a37caf39e SHA512 eff345f87724c9e4b82dffbe87b8e881b85aa32a6a05ee240809783dd511edbf191eca0092aa43eabd76cd10f8ea86146247a8342f53c9d38cc375e2b10112df
+EBUILD pcl-1.12-r2.ebuild 496 BLAKE2B a227c4f212204c8758406e8a6b6e3f0abc511a76e681d84eb03a0b5f873b903e7d5262b5ac14dbc1539403bec18a6ec687253c7acab1f06391db629f37a19c4a SHA512 63012ced09a3a9a35d29de4a084fd3aac51a91894f6a01e6f253bf0d062ef40c0441285e480e092c0f608ed968740cd6bca0f20531b20b11e80fd26f612e6e88
MISC metadata.xml 168 BLAKE2B 2e0e000b4c3b6ca04c12903fdbe278415c05a822623c52e9aa95cbbf3d50bcb1246b7edbda7d2f6b559af8950c6374e6e0a69b76319964cfe686bf50b0604a57 SHA512 4dcf45d1809e8390a2d8155c8ebfe0dd610203e392aeab0ccd8a10f42cc8532a4925eff32b35e7a6c35598a4efd288229034ec0732299dbd8cfa0acff705fed3
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..d44498765a22
--- /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://www.xmailserver.org/libpcl.html"
+SRC_URI="http://www.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
+}