From 87f37a073fb5c2e1f6ebc780e60cdbdd2c583860 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 28 Feb 2023 04:02:51 +0000 Subject: gentoo auto-resync : 28:02:2023 - 04:02:51 --- sys-libs/Manifest.gz | Bin 14735 -> 14740 bytes sys-libs/libnbd/Manifest | 2 +- sys-libs/libnbd/libnbd-1.14.1.ebuild | 4 +- sys-libs/libnvme/Manifest | 3 +- .../files/libnvme-1.3-configure-clang-16.patch | 32 +++++++++ sys-libs/libnvme/libnvme-1.3-r1.ebuild | 75 +++++++++++++++++++++ sys-libs/libnvme/libnvme-1.3.ebuild | 71 ------------------- sys-libs/libraw1394/Manifest | 2 +- sys-libs/libraw1394/libraw1394-2.1.2-r1.ebuild | 4 +- 9 files changed, 115 insertions(+), 78 deletions(-) create mode 100644 sys-libs/libnvme/files/libnvme-1.3-configure-clang-16.patch create mode 100644 sys-libs/libnvme/libnvme-1.3-r1.ebuild delete mode 100644 sys-libs/libnvme/libnvme-1.3.ebuild (limited to 'sys-libs') diff --git a/sys-libs/Manifest.gz b/sys-libs/Manifest.gz index afade18378e5..9d56f8834910 100644 Binary files a/sys-libs/Manifest.gz and b/sys-libs/Manifest.gz differ diff --git a/sys-libs/libnbd/Manifest b/sys-libs/libnbd/Manifest index d96396cde57a..bd3c6cd6a146 100644 --- a/sys-libs/libnbd/Manifest +++ b/sys-libs/libnbd/Manifest @@ -1,3 +1,3 @@ DIST libnbd-1.14.1.tar.gz 1257547 BLAKE2B 4c2fc02abc1d069b23fb8cc52b3359f10ebd23f2bc8cb359274a4fc2781413445d64ca1013b3123dff090d359a0e28076aa410220a05b155f95320238d1b99ee SHA512 9d95cf7a66926d00ec9aacfc6d04f2dc885ccfed07c78f1e6693190dd14132d30d6d1ff7d46e46007732a8a20a9fbf648775bc0b3371ad49eff4ce1e44e47209 -EBUILD libnbd-1.14.1.ebuild 1306 BLAKE2B f95bc20800dbc01d14e2f4b4528fec21b103d6d0beaa5e11ffe66e5c0d1941efe24d47e715017adfefb3fcd120d4276c03c6e7e6c39361389a82fcc4b820f8ab SHA512 ec848b855c4435a6e56d7a67fb53f1f3e435d44b64e42f11a02faf9df1a168b617b6156d4cc16b92c30f755949f1c4ea0142a235c6f130efbf6bae2a2d12c4a8 +EBUILD libnbd-1.14.1.ebuild 1313 BLAKE2B 5a5afc9e3f48dc8f6ab1a8b60b55ce64886bceff880b1097fa5621bd8cbbeef282e1537a650416013715b50e730cf0993e86a4bdf50a4f1584f742788ccfb027 SHA512 8cda658514ede7b3059cb0e060b249ec7fcb70d7e186ef09200fe8a508389be64691027538a81edef32927f5ed0a72700c8c71bac994d141e72996cae618f749 MISC metadata.xml 585 BLAKE2B fa66d575f70295ce9f0a22beb303e6dcb89777b736f91b01bf6a275f4a8121987b516a8537de45f271d3aa98826faba63968d7939f28eb78c8cb3b450ceba7c4 SHA512 cb83950e8f78ecfe2f26aa22ad98fe0b0a27b26363128bfb3abd70a26520a5dff191cea8b2b44061df7e75762f4d4f66f661cdac4c279d4ad553f733019c422f diff --git a/sys-libs/libnbd/libnbd-1.14.1.ebuild b/sys-libs/libnbd/libnbd-1.14.1.ebuild index c04df177ecc6..b2cb9e3aba76 100644 --- a/sys-libs/libnbd/libnbd-1.14.1.ebuild +++ b/sys-libs/libnbd/libnbd-1.14.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -11,7 +11,7 @@ SRC_URI="https://download.libguestfs.org/libnbd/$(ver_cut 1-2)-stable/${P}.tar.g LICENSE="LGPL-2.1+" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 ~sparc ~x86" IUSE="fuse gnutls uri-support test" RESTRICT="!test? ( test )" diff --git a/sys-libs/libnvme/Manifest b/sys-libs/libnvme/Manifest index f54629271ae1..288f8fd2fafb 100644 --- a/sys-libs/libnvme/Manifest +++ b/sys-libs/libnvme/Manifest @@ -1,5 +1,6 @@ +AUX libnvme-1.3-configure-clang-16.patch 1332 BLAKE2B 701a941236c5fd644722086d58d7b5ce15d81f8cdc17ea4d2cb79efd743acf54990da83c81c8a8ef74822b3d1e51e70eb02a4a25a07a74404a307d564f56dc37 SHA512 a100ab3232b0a1bee74dbe0d4893d3819c4e3f4b741da740240431cabf72c4ccb411fca6a19f44ecf5e64bdbfd2f470b4c436c57b1a573dfea14e575a3dbd44f DIST libnvme-1.2.tar.gz 484397 BLAKE2B ae6b1c3aa8f45594219470059cfc8982674433772f89faab1659811d860036f8af89bbcb383db37e96b763188935d2c1ecaa5176b8140bba50f8ea226e989a06 SHA512 f50517838cd1df3cdd123afdb67870633e9e484bf84dba70b784d7e86ecb355b96ba9d6a1cffb96b35444da7870dfe21c54b69701b5fe5b515319280db4a84e4 DIST libnvme-1.3.tar.gz 499870 BLAKE2B 5a019c12829890a0fe0b5e6aec5fbd009fc3bd6dfe7e81f61731292f4ea8b03044e7625491479350c399cc8cd5bc023e02cc9e93f1eba38f4c747667e84cfb24 SHA512 c874b29b73e55be842f71e74a226a76fcd50dfa72e2be100f0437bc83e740cd146b6d2f2cdaa940c11c3d8c48ff2c065ac0e8a83d4d0dde743edf4179f328670 EBUILD libnvme-1.2-r1.ebuild 1192 BLAKE2B dd05f5d1fba9e50117b24d66fea37d05d1a9d1f900206e419f3f3ce76e3f0868639aa2aadf597507767f726fa5c59376e9d51d6bcd1067d62e24b12069e1baae SHA512 b56d7690c6b71d75b27436d36a0f47dee76b8c3951374aaf58cf4794b687b6fa02b2dbe5936c8fa76390a65c1463842ad2290d4fb4b37f3601644705c3d49971 -EBUILD libnvme-1.3.ebuild 1297 BLAKE2B 132ff3046fceadf990f06b9f2ea436305a2d67ceaa2dabcfe21a123c492a75992d520a093b678beafa84588c4879f58f00ee2e343c6dec24c11f1b98e585ca0c SHA512 bc8efc3097489df37a30c4b20a5d8eaaad0aa07e85134d846f690a6046c7b2ada230acfd8ecdef11426292650f0306ed5875424ef4b385ac608b01966dc9ccf7 +EBUILD libnvme-1.3-r1.ebuild 1355 BLAKE2B 75d8ad6027f6f491b7e488c6814a15689d987faee3e9aab76f2809356e33ef0946faf36a8e97561f8479e29fac974d8f8086d95b6cd5511c5162a487f723ceca SHA512 4c4d3edf0bff68516f32b14af4197e137fde15b344d88a88a8bf8c51171a8dab2cdc40f1c1f65007ba64ae484b213b90fa94fdcb66b3a6753c7b78be15813d85 MISC metadata.xml 509 BLAKE2B b128b0b3ca70400e116d80d860fdff08e664786346fae94bba179d366b4ef74e078f1ecfdf3dbcc00500c2d0f614a68f2fc1282eba18011ad18cdf7b1710f6a4 SHA512 bd2555619a141e44fff2aa101d7adbf0c52543dd9034149dd3b05210542bc329aa957326f42b6695d65140c19e3b791176b8b7428252ec127a0b938c790bfbd3 diff --git a/sys-libs/libnvme/files/libnvme-1.3-configure-clang-16.patch b/sys-libs/libnvme/files/libnvme-1.3-configure-clang-16.patch new file mode 100644 index 000000000000..b7954a996272 --- /dev/null +++ b/sys-libs/libnvme/files/libnvme-1.3-configure-clang-16.patch @@ -0,0 +1,32 @@ +https://github.com/linux-nvme/libnvme/commit/ddfb3ba036f9df2737c165b27f9b458dd83a7df8 + +From ddfb3ba036f9df2737c165b27f9b458dd83a7df8 Mon Sep 17 00:00:00 2001 +From: Tomas Bzatek +Date: Tue, 31 Jan 2023 23:27:53 +0100 +Subject: [PATCH] build: Fix nss code snippet includes + +With hardened distribution CFLAGS the meson code snippet wouldn't compile: + +Compiler stderr: + .build/meson-private/tmpy2z1t5q4/testfile.c: In function 'main': + .build/meson-private/tmpy2z1t5q4/testfile.c:2:30: error: storage size of 'hints' isn't known + 2 | struct addrinfo hints, *result; + | ^~~~~ + .build/meson-private/tmpy2z1t5q4/testfile.c:3:21: warning: implicit declaration of function 'getaddrinfo' [-Wimplicit-function-declaration] + 3 | return getaddrinfo(argv[1], argv[2], &hints, &result); + | ^~~~~~~~~~~ +--- a/meson.build ++++ b/meson.build +@@ -199,7 +199,10 @@ conf.set10( + conf.set( + 'HAVE_LIBNSS', + cc.links( +- '''int main(int argc, char **argv) { ++ '''#include ++ #include ++ #include ++ int main(int argc, char **argv) { + struct addrinfo hints, *result; + return getaddrinfo(argv[1], argv[2], &hints, &result); + } + diff --git a/sys-libs/libnvme/libnvme-1.3-r1.ebuild b/sys-libs/libnvme/libnvme-1.3-r1.ebuild new file mode 100644 index 000000000000..fe8743ba86d6 --- /dev/null +++ b/sys-libs/libnvme/libnvme-1.3-r1.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) +inherit python-r1 meson + +DESCRIPTION="C Library for NVM Express on Linux" +HOMEPAGE="https://github.com/linux-nvme/libnvme" +LICENSE="LGPL-2.1+" +SLOT="0" +IUSE="dbus python ssl +uuid" + +SRC_URI="https://github.com/linux-nvme/libnvme/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86" + +DEPEND=" + dev-libs/json-c:= + dbus? ( sys-apps/dbus:= ) + python? ( ${PYTHON_DEPS} ) + ssl? ( >=dev-libs/openssl-1.1:= ) + uuid? ( sys-apps/util-linux:= ) +" +RDEPEND="${DEPEND}" + +BDEPEND=" + dev-lang/swig +" + +REQUIRED_USE=" + python? ( ${PYTHON_REQUIRED_USE} ) +" + +PATCHES=( + "${FILESDIR}"/${P}-configure-clang-16.patch +) + +src_configure() { + local emesonargs=( + -Dpython=false + $(meson_feature ssl openssl) + $(meson_feature dbus libdbus) + $(meson_use python) + ) + meson_src_configure +} + +python_compile() { + local emesonargs=( + -Dpython=true + ) + meson_src_configure --reconfigure + meson_src_compile +} + +src_compile() { + meson_src_compile + + if use python; then + python_copy_sources + python_foreach_impl python_compile + fi +} + +python_install() { + meson_src_install + use python && python_optimize +} + +src_install() { + use python && python_foreach_impl python_install + + meson_src_install +} diff --git a/sys-libs/libnvme/libnvme-1.3.ebuild b/sys-libs/libnvme/libnvme-1.3.ebuild deleted file mode 100644 index aaed25b8d4b8..000000000000 --- a/sys-libs/libnvme/libnvme-1.3.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9..11} ) -inherit python-r1 meson - -DESCRIPTION="C Library for NVM Express on Linux" -HOMEPAGE="https://github.com/linux-nvme/libnvme" -LICENSE="LGPL-2.1+" -SLOT="0" -IUSE="dbus python ssl +uuid" - -SRC_URI="https://github.com/linux-nvme/libnvme/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" -KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86" - -DEPEND=" - dev-libs/json-c:= - dbus? ( sys-apps/dbus:= ) - python? ( ${PYTHON_DEPS} ) - ssl? ( >=dev-libs/openssl-1.1:= ) - uuid? ( sys-apps/util-linux:= ) -" -RDEPEND="${DEPEND}" - -BDEPEND=" - dev-lang/swig -" - -REQUIRED_USE=" - python? ( ${PYTHON_REQUIRED_USE} ) -" - -src_configure() { - local emesonargs=( - -Dpython=false - $(meson_feature ssl openssl) - $(meson_feature dbus libdbus) - $(meson_use python) - ) - meson_src_configure -} - -python_compile() { - local emesonargs=( - -Dpython=true - ) - meson_src_configure --reconfigure - meson_src_compile -} - -src_compile() { - meson_src_compile - - if use python; then - python_copy_sources - python_foreach_impl python_compile - fi -} - -python_install() { - meson_src_install - use python && python_optimize -} - -src_install() { - use python && python_foreach_impl python_install - - meson_src_install -} diff --git a/sys-libs/libraw1394/Manifest b/sys-libs/libraw1394/Manifest index 114c6703ceaf..1d053131a8e0 100644 --- a/sys-libs/libraw1394/Manifest +++ b/sys-libs/libraw1394/Manifest @@ -1,3 +1,3 @@ DIST libraw1394-2.1.2.tar.xz 313120 BLAKE2B 73addee88d2463ecebc4a0bca14d8f4c285c8e7060e3ded49bacbb818049e436bdaf98bde26469ec03e1baf196f67fec59e90201347f34a5810b8704108c8d7f SHA512 1ef38961b747c4ebb18d823a4c38d5bf019f8bd0ac55547838d153b1899b91ae0ff56f5b6732e309d6975b55725d1ce989917ffcf605cf64f7d33624f54f0567 -EBUILD libraw1394-2.1.2-r1.ebuild 610 BLAKE2B d4300dc3688aa36c6d685ebd739535a2312b8f71a042b3a0b8ddd5f3d0272966b7cb993151c44cafa6615eb50a433c7fbb3dbbb1aec05cc03784066e088a5ff4 SHA512 5a164a9f9b2840a909ed0a9a80f86dba3cdcdf8a9cdb9369cfe439e245c0cec8d6685cead269c1ddaaa26cf1b1107267bbcc9e07cf98b46e6c9c924ebf36ee6e +EBUILD libraw1394-2.1.2-r1.ebuild 616 BLAKE2B 1b55da82049e60bef0e9e0fbe7df2b747e5532cc752e56d5463ac0ff9f2a6a73f549a0aa0c6f2545ca563313349b48685a3886937345dc68477684777f835850 SHA512 3cf5cc066101930344b6908af519943b6d97059fca80574c537be35fe78e57f3733a47cf57780f5ace0efce357fd6ac86527e556000c3c7c3a9e06cbd3ba381c MISC metadata.xml 254 BLAKE2B f3a9f843cf94243d1129711770df727fcdc8808bca829ef784819cab6f5410dfa463cfed85182f8228c7de796a674dd602653ad3ef817a62c0c3e7198b23befe SHA512 b9fcd3084a7e197f6138e1ce8b0eff99c4c203c37a7d5c40de207040ba1501ef0e5b2f4e00216a567037bcd6d3394fdec6ff587484c9ba2fca9d04f431733b7c diff --git a/sys-libs/libraw1394/libraw1394-2.1.2-r1.ebuild b/sys-libs/libraw1394/libraw1394-2.1.2-r1.ebuild index b35f736ed3e3..0773d8c80817 100644 --- a/sys-libs/libraw1394/libraw1394-2.1.2-r1.ebuild +++ b/sys-libs/libraw1394/libraw1394-2.1.2-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,7 +11,7 @@ SRC_URI="https://www.kernel.org/pub/linux/libs/ieee1394/${P}.tar.xz" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86" IUSE="" multilib_src_configure() { -- cgit v1.2.3