diff options
author | V3n3RiX <venerix@koprulu.sector> | 2025-02-15 00:13:03 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2025-02-15 00:13:03 +0000 |
commit | 770d63f36dbe1722e0ff9ab55eeca49986f01527 (patch) | |
tree | be9aae0ef5001e4669f914ac9ad9b4eaa4db8500 /app-admin/xstow | |
parent | 4fda045f90a4e301329bddb766e2e12a0b4401de (diff) |
Diffstat (limited to 'app-admin/xstow')
-rw-r--r-- | app-admin/xstow/Manifest | 3 | ||||
-rw-r--r-- | app-admin/xstow/files/xstow-1.1.0-clang.patch | 37 | ||||
-rw-r--r-- | app-admin/xstow/xstow-1.1.0.ebuild | 53 |
3 files changed, 0 insertions, 93 deletions
diff --git a/app-admin/xstow/Manifest b/app-admin/xstow/Manifest index 86bdc3950965..fb584a453042 100644 --- a/app-admin/xstow/Manifest +++ b/app-admin/xstow/Manifest @@ -1,7 +1,4 @@ AUX 99xstow 65 BLAKE2B c3d3dae69e0ed5251a996ddfb164795718974e1c2464176e680373fab25ceeb8a22392ac8de0dd489462e28bc48512c151f3f438ddc7f9bd093d5c63b46ba29b SHA512 0ade954fc07ba98be74d79e8ce842fc4e3e12f83d59f76eb78810251cc9e1612d963401be99f38002d94a2a32c9c2a32429f73d7ee69e97c12f6a05db14a3476 -AUX xstow-1.1.0-clang.patch 1092 BLAKE2B b00444730f525ce39c2692e7f1ab120b40d1e671d88c1c4f9b2b85f0c97ef34a89f12ba47c8eabd53464d05e5e3a94f28f84c3ce277072a983c34e188f149edd SHA512 804df13381f1d0f365303547c1b8e8b5fa2dd06e357596bd65ba349fe6b63e906491e78a19a6bf9190e7e8a81ae26b77a66f0f5290ff5b640f91024eca136537 -DIST xstow-1.1.0.tar.bz2 187761 BLAKE2B ed3822e638aedf8900a3baba62a5af9de9d7b98dcdf27ca81a6898353b9f5c7f767ec7d8e68ead4d5ef318af5a6eda2b1cc68a5c80a6a8ad2b9c8adf03ae3377 SHA512 30f2e0be0c2aba668b4cc781fe69ac74c2460cc681c6b47a55ee66af5c0f2ac14dee9fe2e95a288ce06059378407a2b99d2156430a5a6dcbf06def793f579015 DIST xstow-1.1.1.tar.bz2 188334 BLAKE2B 13b079b4c0bdfc68837d3674eb64852d6c8bd341541c927703eed7e302ce36328bc814c618972365b60bd7562a4a2398c6a881a0a42c5778523197e41cfde7df SHA512 86154bd562e1dcb068a2c766a849975a4e6c9c343d89d47f8dd339a03b73aceb2dfb8523e2bc40df3ceb673a1a9f7991737e982c0c1a2cc0bd9fcdf8fd7c3113 -EBUILD xstow-1.1.0.ebuild 1239 BLAKE2B b6d021bae09e316cf7789ec84747d6c4f9f5d26c4a0aa49633ecc108a70553b3653cb8a7cf972ea68de72f6f0820626bc9afb025d950f4cb10a5c01428edd16a SHA512 c49dc7ead25e07568eed7b380e9c95da10528fd40ebe5230fe85fd088ca0be30ae687f538c0eee18dd6a547649d7ac89b5c0c5948ec8bc0d3ac3fcbed5259b73 EBUILD xstow-1.1.1.ebuild 1134 BLAKE2B d257f75baac10a71684fb38585febc662185b9839a1b5d4d6a5fdff07d5bdd7f73fe89197faead80ed2a87318007817cb9c3b4fe3b427eb0066ed2dd1ed13f05 SHA512 cb407b429aaa4185ad32446848d52ebe880281cd26d749d5056cfa6734ccf1b0550d748627874f26f601a63678b201d1c9d309d2bc60e6e87c3173ad867abdce MISC metadata.xml 301 BLAKE2B aace14f4b6ef5f8874f165c8bf5f6c3df1c8a259a54f48cf8805a62baa9530bdeea7dbe85a9c445151fdac6a53674f1967bf960ef0c9b26e4ccc8923d89cef55 SHA512 dafc481314893bacf1024daa509819b09d99f7f7c2bbb0613ac092cc0e14eb61ec708ba1a6d5b3d48774855707481745d0da462b94a973dd88a22ec64cc667de diff --git a/app-admin/xstow/files/xstow-1.1.0-clang.patch b/app-admin/xstow/files/xstow-1.1.0-clang.patch deleted file mode 100644 index 0f880b00cb91..000000000000 --- a/app-admin/xstow/files/xstow-1.1.0-clang.patch +++ /dev/null @@ -1,37 +0,0 @@ -https://github.com/majorkingleo/xstow/commit/bdcbdb6f6e0f35ed0a0df50f0a9d19441af9c866 - -From: Martin Oberzalek <kingleo@gmx.at> -Date: Wed, 27 Jul 2022 09:25:03 +0200 -Subject: [PATCH] Fixed compilation with clang - ---- a/src/cpputils/cpputilsshared/cpputilsformat/format2.h -+++ b/src/cpputils/cpputilsshared/cpputilsformat/format2.h -@@ -40,7 +40,7 @@ namespace Tools { - bool _is_string; - - public: -- BaseArg( bool is_int_, bool is_string_ ) -+ BaseArg( bool is_int_ = false, bool is_string_ = false ) - : _is_int( is_int_ ), - _is_string( is_string_ ) - {} ---- a/src/cpputils/cpputilsshared/leoini.h -+++ b/src/cpputils/cpputilsshared/leoini.h -@@ -278,12 +278,11 @@ namespace Leo - std::string::size_type end = s.find( ']', start ); - - if( start == std::string::npos || -- end == std::string::npos ) -- s = ""; -- else -- s = s.substr( start+1, start-end -1 ); -- -- return s2x<A>(s); -+ end == std::string::npos ) { -+ return s2x<A>(""); -+ } else { -+ return s2x<A>( s.substr( start+1, start-end -1 ) ); -+ } - } - } // namespace Leo - diff --git a/app-admin/xstow/xstow-1.1.0.ebuild b/app-admin/xstow/xstow-1.1.0.ebuild deleted file mode 100644 index 3f66da863573..000000000000 --- a/app-admin/xstow/xstow-1.1.0.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools - -DESCRIPTION="Replacement for GNU stow with extensions" -HOMEPAGE="https://xstow.sourceforge.net/" -SRC_URI="https://downloads.sourceforge.net/xstow/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ppc x86" -IUSE="ncurses" - -DEPEND="ncurses? ( sys-libs/ncurses:= )" -RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}"/${P}-clang.patch -) - -src_prepare() { - default - - eautoreconf -} - -src_configure() { - econf $(use_with ncurses curses) -} - -src_install() { - emake DESTDIR="${D}" docdir="${EPREFIX}/usr/share/doc/${PF}/html" install - dodoc AUTHORS ChangeLog NEWS README TODO - - # Create new STOWDIR - keepdir /var/lib/xstow - - # Install env.d file to add STOWDIR to PATH and LDPATH - doenvd "${FILESDIR}"/99xstow -} - -pkg_postinst() { - elog "We now recommend that you use /var/lib/xstow as your STOWDIR" - elog "instead of /usr/local in order to avoid conflicts with the" - elog "symlink from /usr/lib64 -> /usr/lib. See Bug 246264" - elog "(regarding app-admin/stow, equally applicable to XStow) for" - elog "more details on this change." - elog "For your convenience, PATH has been updated to include" - elog "/var/lib/bin." -} |