[gentoo-commits] repo/gentoo:master commit in: sys-fs/progsreiserfs/
commit: d035a27fd1d552693045ad91bb8768cdf730a32b Author: Eli Schwartz gentoo org> AuthorDate: Mon Nov 18 02:36:34 2024 + Commit: Eli Schwartz gentoo org> CommitDate: Mon Nov 18 04:14:08 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d035a27f sys-fs/progsreiserfs: mark as LTO-unsafe on musl It fails with linker errors due to including a code copy of a manky old libintl. Happens because for some inexplicable reason, packages which genuinely need the full power and flexibility of GNU libintl, can only rely on dev-libs/libintl on *non* linux operating systems, even though it was very much intended upstream to be useful and usable on musl systems. glibc, obviously, works fine. Signed-off-by: Eli Schwartz gentoo.org> sys-fs/progsreiserfs/progsreiserfs-0.3.1_rc8-r1.ebuild | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys-fs/progsreiserfs/progsreiserfs-0.3.1_rc8-r1.ebuild b/sys-fs/progsreiserfs/progsreiserfs-0.3.1_rc8-r1.ebuild index 096e9f38d020..4610a15a2756 100644 --- a/sys-fs/progsreiserfs/progsreiserfs-0.3.1_rc8-r1.ebuild +++ b/sys-fs/progsreiserfs/progsreiserfs-0.3.1_rc8-r1.ebuild @@ -39,6 +39,9 @@ src_prepare() { src_configure() { filter-lfs-flags + # bundled libintl gets used because dev-libs/libintl isn't an option on musl + # and fails to LTO: undefined reference to `__argz_count' + use elibc_glibc && filter-lto econf \ $(use_enable static-libs static) \
[gentoo-commits] repo/gentoo:master commit in: sys-fs/progsreiserfs/
commit: d141ca1ef656e8204e40fb49ba80feb5cf49dc33 Author: Andreas K. Hüttel gentoo org> AuthorDate: Wed Oct 30 21:21:25 2024 + Commit: Andreas K. Hüttel gentoo org> CommitDate: Wed Oct 30 21:21:25 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d141ca1e sys-fs/progsreiserfs: drop 0.3.1_rc8 Bug: https://bugs.gentoo.org/898616 Signed-off-by: Andreas K. Hüttel gentoo.org> .../progsreiserfs/progsreiserfs-0.3.1_rc8.ebuild | 66 -- 1 file changed, 66 deletions(-) diff --git a/sys-fs/progsreiserfs/progsreiserfs-0.3.1_rc8.ebuild b/sys-fs/progsreiserfs/progsreiserfs-0.3.1_rc8.ebuild deleted file mode 100644 index 491a39d0e011.. --- a/sys-fs/progsreiserfs/progsreiserfs-0.3.1_rc8.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit flag-o-matic libtool - -MY_P=${PN}-${PV/_/-} - -DESCRIPTION="Library for accessing and manipulating reiserfs partitions" -HOMEPAGE="http://reiserfs.linux.kiev.ua/"; -SRC_URI="http://reiserfs.linux.kiev.ua/snapshots/${MY_P}.tar.gz"; -S="${WORKDIR}"/${MY_P} - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~mips ppc ~ppc64 ~riscv ~sparc x86" -IUSE="debug examples nls static-libs" - -DEPEND=" - sys-apps/util-linux - nls? ( - sys-devel/gettext - virtual/libintl - ) -" - -PATCHES=( - "${FILESDIR}"/${P}-autotools.patch -) - -src_prepare() { - default - - elibtoolize -} - -src_configure() { - filter-lfs-flags - - econf \ - $(use_enable static-libs static) \ - --disable-Werror \ - $(use_enable nls) \ - $(use_enable debug) -} - -src_install() { - default - - if use examples; then - docinto examples - dodoc demos/*.c - fi - - find "${ED}" -name '*.la' -delete || die - - rm -r "${ED}"/usr/{sbin,share/man} || die -} - -pkg_postinst() { - ewarn "progsreiserfs has been proven dangerous in the past, generating bad" - ewarn "partitions and destroying data on resize/cpfs operations." - ewarn "Because of this, we do NOT provide their binaries, but only their" - ewarn "libraries instead, as these are needed for other applications." -}
[gentoo-commits] repo/gentoo:master commit in: sys-fs/progsreiserfs/
commit: 29cdf8c2611a938db37fe4a6e0de9b82a819b110 Author: Sam James gentoo org> AuthorDate: Tue Jun 25 06:42:12 2024 + Commit: Sam James gentoo org> CommitDate: Tue Jun 25 06:42:12 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29cdf8c2 sys-fs/progsreiserfs: Stabilize 0.3.1_rc8-r1 ppc, #934879 Signed-off-by: Sam James gentoo.org> sys-fs/progsreiserfs/progsreiserfs-0.3.1_rc8-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-fs/progsreiserfs/progsreiserfs-0.3.1_rc8-r1.ebuild b/sys-fs/progsreiserfs/progsreiserfs-0.3.1_rc8-r1.ebuild index da63902e5374..4a708ff932ae 100644 --- a/sys-fs/progsreiserfs/progsreiserfs-0.3.1_rc8-r1.ebuild +++ b/sys-fs/progsreiserfs/progsreiserfs-0.3.1_rc8-r1.ebuild @@ -14,7 +14,7 @@ S="${WORKDIR}"/${MY_P} LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc x86" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~riscv ~sparc x86" IUSE="debug examples nls static-libs" DEPEND="
[gentoo-commits] repo/gentoo:master commit in: sys-fs/progsreiserfs/
commit: 4e05fa7f34c90b092f79709c9a35ced873aee56e Author: Sam James gentoo org> AuthorDate: Tue Jun 25 06:42:11 2024 + Commit: Sam James gentoo org> CommitDate: Tue Jun 25 06:42:11 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e05fa7f sys-fs/progsreiserfs: Stabilize 0.3.1_rc8-r1 amd64, #934879 Signed-off-by: Sam James gentoo.org> sys-fs/progsreiserfs/progsreiserfs-0.3.1_rc8-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-fs/progsreiserfs/progsreiserfs-0.3.1_rc8-r1.ebuild b/sys-fs/progsreiserfs/progsreiserfs-0.3.1_rc8-r1.ebuild index 22a91f767ed9..da63902e5374 100644 --- a/sys-fs/progsreiserfs/progsreiserfs-0.3.1_rc8-r1.ebuild +++ b/sys-fs/progsreiserfs/progsreiserfs-0.3.1_rc8-r1.ebuild @@ -14,7 +14,7 @@ S="${WORKDIR}"/${MY_P} LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc x86" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc x86" IUSE="debug examples nls static-libs" DEPEND="
[gentoo-commits] repo/gentoo:master commit in: sys-fs/progsreiserfs/
commit: 4227e942b9c23b49d8c6a0e11149afcf4732f394 Author: Sam James gentoo org> AuthorDate: Tue Jun 25 04:39:32 2024 + Commit: Sam James gentoo org> CommitDate: Tue Jun 25 04:39:32 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4227e942 sys-fs/progsreiserfs: Stabilize 0.3.1_rc8-r1 x86, #934879 Signed-off-by: Sam James gentoo.org> sys-fs/progsreiserfs/progsreiserfs-0.3.1_rc8-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-fs/progsreiserfs/progsreiserfs-0.3.1_rc8-r1.ebuild b/sys-fs/progsreiserfs/progsreiserfs-0.3.1_rc8-r1.ebuild index 7032c07d8a37..22a91f767ed9 100644 --- a/sys-fs/progsreiserfs/progsreiserfs-0.3.1_rc8-r1.ebuild +++ b/sys-fs/progsreiserfs/progsreiserfs-0.3.1_rc8-r1.ebuild @@ -14,7 +14,7 @@ S="${WORKDIR}"/${MY_P} LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc x86" IUSE="debug examples nls static-libs" DEPEND="
[gentoo-commits] repo/gentoo:master commit in: sys-fs/progsreiserfs/files/, sys-fs/progsreiserfs/
commit: b33711289c1fcb2b12f9bc2ffe77a5ebabee0a71 Author: Brahmajit Das gmail com> AuthorDate: Tue Jun 13 05:30:44 2023 + Commit: Sam James gentoo org> CommitDate: Thu May 9 01:29:42 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3371128 sys-fs/progsreiserfs: Fix error call to undeclared function _getopt_internal Closes: https://bugs.gentoo.org/898616 Signed-off-by: Brahmajit Das gmail.com> Closes: https://github.com/gentoo/gentoo/pull/31410 Signed-off-by: Sam James gentoo.org> ...iserfs-0.3.1_rc8-musl-getopt_internal-fix.patch | 36 .../progsreiserfs-0.3.1_rc8-r1.ebuild | 67 ++ 2 files changed, 103 insertions(+) diff --git a/sys-fs/progsreiserfs/files/progsreiserfs-0.3.1_rc8-musl-getopt_internal-fix.patch b/sys-fs/progsreiserfs/files/progsreiserfs-0.3.1_rc8-musl-getopt_internal-fix.patch new file mode 100644 index ..06ba7e357a55 --- /dev/null +++ b/sys-fs/progsreiserfs/files/progsreiserfs-0.3.1_rc8-musl-getopt_internal-fix.patch @@ -0,0 +1,36 @@ +Bug: https://bugs.gentoo.org/898616 +From: Brahmajit Das +Date: Tue, 13 Jun 2023 05:23:45 + +Subject: [PATCH] getopt1.c: wrap the getopt_long and getopt_long_only + functions around include directive + +The header guard HAVE_GETOPT_LONG_ONLY can be used to check if the +functions are available or not, as the functions getopt_long and +getopt_long_only defined in getopt1.c uses the function _getopt_internal +which is glibc specific and cannot be used on other libc systems (for +example musl). +Hence we're wrapping those two functions with this include guard. + +Bug: https://bugs.gentoo.org/898616 +Signed-off-by: Brahmajit Das +--- a/progsreiserfs/libmisc/getopt1.c b/progsreiserfs/libmisc/getopt1.c +@@ -63,6 +63,7 @@ + #define NULL 0 + #endif + ++#ifndef HAVE_GETOPT_LONG_ONLY + int + getopt_long(argc, argv, options, long_options, opt_index) +int argc; +@@ -89,6 +90,7 @@ int + { + return _getopt_internal(argc, argv, options, long_options, opt_index, 1); + } ++#endif + + #endif /* Not ELIDE_CODE. */ + +-- +2.41.0 + diff --git a/sys-fs/progsreiserfs/progsreiserfs-0.3.1_rc8-r1.ebuild b/sys-fs/progsreiserfs/progsreiserfs-0.3.1_rc8-r1.ebuild new file mode 100644 index ..e7fe27e0eefc --- /dev/null +++ b/sys-fs/progsreiserfs/progsreiserfs-0.3.1_rc8-r1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit flag-o-matic libtool + +MY_P=${PN}-${PV/_/-} + +DESCRIPTION="Library for accessing and manipulating reiserfs partitions" +HOMEPAGE="http://reiserfs.linux.kiev.ua/"; +SRC_URI="http://reiserfs.linux.kiev.ua/snapshots/${MY_P}.tar.gz"; +S="${WORKDIR}"/${MY_P} + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="debug examples nls static-libs" + +DEPEND=" + sys-apps/util-linux + nls? ( + sys-devel/gettext + virtual/libintl + ) +" + +PATCHES=( + "${FILESDIR}"/${P}-autotools.patch + "${FILESDIR}"/${PN}-0.3.1_rc8-musl-getopt_internal-fix.patch +) + +src_prepare() { + default + + elibtoolize +} + +src_configure() { + filter-lfs-flags + + econf \ + $(use_enable static-libs static) \ + --disable-Werror \ + $(use_enable nls) \ + $(use_enable debug) +} + +src_install() { + default + + if use examples; then + docinto examples + dodoc demos/*.c + fi + + find "${ED}" -name '*.la' -delete || die + + rm -r "${ED}"/usr/{sbin,share/man} || die +} + +pkg_postinst() { + ewarn "progsreiserfs has been proven dangerous in the past, generating bad" + ewarn "partitions and destroying data on resize/cpfs operations." + ewarn "Because of this, we do NOT provide their binaries, but only their" + ewarn "libraries instead, as these are needed for other applications." +}
[gentoo-commits] repo/gentoo:master commit in: sys-fs/progsreiserfs/files/, sys-fs/progsreiserfs/
commit: 123d0c034e6dea5e23dfeedbbaa1751a85793a60 Author: Sam James gentoo org> AuthorDate: Thu May 9 01:24:34 2024 + Commit: Sam James gentoo org> CommitDate: Thu May 9 01:29:43 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=123d0c03 sys-fs/progsreiserfs: fix modern C issues in configure (sort of) Not autoreconfing because it doesn't work w/ modern autoconf and the alternative here, rather than spending more time on it, is really to last-rite. Signed-off-by: Sam James gentoo.org> .../progsreiserfs-0.3.1_rc8-c99-configure.patch| 93 ++ .../progsreiserfs-0.3.1_rc8-r1.ebuild | 3 +- 2 files changed, 95 insertions(+), 1 deletion(-) diff --git a/sys-fs/progsreiserfs/files/progsreiserfs-0.3.1_rc8-c99-configure.patch b/sys-fs/progsreiserfs/files/progsreiserfs-0.3.1_rc8-c99-configure.patch new file mode 100644 index ..23fec252657b --- /dev/null +++ b/sys-fs/progsreiserfs/files/progsreiserfs-0.3.1_rc8-c99-configure.patch @@ -0,0 +1,93 @@ +configure-only as cannot regenerate with new autotools :( +--- a/configure b/configure +@@ -7486,6 +7486,7 @@ else + #line 7486 "configure" + #include "confdefs.h" + #include ++#include + #if ((' ' & 0x0FF) == 0x020) + # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') + # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) +@@ -9698,6 +9699,7 @@ else + #line 9698 "configure" + #include "confdefs.h" + #include ++#include + #if ((' ' & 0x0FF) == 0x020) + # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') + # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) +--- a/configure b/configure +@@ -2279,6 +2279,7 @@ rm -f conftest.$ac_objext conftest.$ac_ext + cat >conftest.$ac_ext <<_ACEOF + #line 2280 "configure" + #include "confdefs.h" ++#include + $ac_declaration + int + main () +@@ -3088,6 +3089,7 @@ else + #include "confdefs.h" + + #include ++ #include + #include + #include + +@@ -6541,6 +6543,7 @@ else + #endif + + #include ++#include + + #ifdef RTLD_GLOBAL + # define LT_DLGLOBAL RTLD_GLOBAL +@@ -6638,6 +6641,7 @@ else + #endif + + #include ++#include + + #ifdef RTLD_GLOBAL + # define LT_DLGLOBAL RTLD_GLOBAL +@@ -8165,6 +8169,7 @@ else + cat >conftest.$ac_ext <<_ACEOF + #line 8165 "configure" + #include "confdefs.h" ++#include + int + find_stack_direction () + { +@@ -8368,6 +8373,7 @@ $ac_includes_default + + #include + #include ++#include + + #if !STDC_HEADERS && !HAVE_STDLIB_H + char *malloc (); +@@ -9957,6 +9963,7 @@ else + cat >conftest.$ac_ext <<_ACEOF + #line 9956 "configure" + #include "confdefs.h" ++#include + int + main () + { +@@ -10438,6 +10445,7 @@ else + cat >conftest.$ac_ext <<_ACEOF + #line 10437 "configure" + #include "confdefs.h" ++#include + int + find_stack_direction () + { +@@ -10745,6 +10753,7 @@ $ac_includes_default + + #include + #include ++#include + + #if !STDC_HEADERS && !HAVE_STDLIB_H + char *malloc (); diff --git a/sys-fs/progsreiserfs/progsreiserfs-0.3.1_rc8-r1.ebuild b/sys-fs/progsreiserfs/progsreiserfs-0.3.1_rc8-r1.ebuild index e7fe27e0eefc..7032c07d8a37 100644 --- a/sys-fs/progsreiserfs/progsreiserfs-0.3.1_rc8-r1.ebuild +++ b/sys-fs/progsreiserfs/progsreiserfs-0.3.1_rc8-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -28,6 +28,7 @@ DEPEND=" PATCHES=( "${FILESDIR}"/${P}-autotools.patch "${FILESDIR}"/${PN}-0.3.1_rc8-musl-getopt_internal-fix.patch + "${FILESDIR}"/${PN}-0.3.1_rc8-c99-configure.patch ) src_prepare() {
[gentoo-commits] repo/gentoo:master commit in: sys-fs/progsreiserfs/
commit: 73f6827e4a5a50892aebd0f6a5c2305c064aec53 Author: Marek Szuba gentoo org> AuthorDate: Sun Apr 10 22:11:48 2022 + Commit: Marek Szuba gentoo org> CommitDate: Sun Apr 10 22:13:32 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73f6827e sys-fs/progsreiserfs: keyword 0.3.1_rc8 for ~riscv Signed-off-by: Marek Szuba gentoo.org> sys-fs/progsreiserfs/progsreiserfs-0.3.1_rc8.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys-fs/progsreiserfs/progsreiserfs-0.3.1_rc8.ebuild b/sys-fs/progsreiserfs/progsreiserfs-0.3.1_rc8.ebuild index 08d304b3eede..e3c9630e72cc 100644 --- a/sys-fs/progsreiserfs/progsreiserfs-0.3.1_rc8.ebuild +++ b/sys-fs/progsreiserfs/progsreiserfs-0.3.1_rc8.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -14,7 +14,7 @@ S="${WORKDIR}"/${MY_P} LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ppc ~ppc64 ~sparc x86" +KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ppc ~ppc64 ~riscv ~sparc x86" IUSE="debug examples nls static-libs" DEPEND="
[gentoo-commits] repo/gentoo:master commit in: sys-fs/progsreiserfs/
commit: 23b3fd32dba10095249f8bccf190b191d3bbab16 Author: David Seifert gentoo org> AuthorDate: Sat Feb 15 10:03:05 2020 + Commit: David Seifert gentoo org> CommitDate: Sat Feb 15 10:03:05 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23b3fd32 sys-fs/progsreiserfs: [QA] inherit ltprune.eclass directly Package-Manager: Portage-2.3.88, Repoman-2.3.20 Signed-off-by: David Seifert gentoo.org> sys-fs/progsreiserfs/progsreiserfs-0.3.1_rc8.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys-fs/progsreiserfs/progsreiserfs-0.3.1_rc8.ebuild b/sys-fs/progsreiserfs/progsreiserfs-0.3.1_rc8.ebuild index dc0cf2cca90..4d7551d1710 100644 --- a/sys-fs/progsreiserfs/progsreiserfs-0.3.1_rc8.ebuild +++ b/sys-fs/progsreiserfs/progsreiserfs-0.3.1_rc8.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 -inherit eutils flag-o-matic libtool +inherit eutils flag-o-matic libtool ltprune MY_P=${PN}-${PV/_/-}