mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-10 00:10:19 +03:00
Merge updates from master
This commit is contained in:
commit
9d320adff4
@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
ADA_COMPAT=( gcc_{12..15} )
|
||||
ADA_COMPAT=( gcc_{12..16} )
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
|
||||
inherit ada python-any-r1 multiprocessing
|
||||
|
||||
12
dev-libs/libfilezilla/files/libfilezilla-0.51.1-musl.patch
Normal file
12
dev-libs/libfilezilla/files/libfilezilla-0.51.1-musl.patch
Normal file
@ -0,0 +1,12 @@
|
||||
Bug: https://bugs.gentoo.org/966066
|
||||
|
||||
--- a/lib/local_filesys.cpp
|
||||
+++ b/lib/local_filesys.cpp
|
||||
@@ -16,6 +16,7 @@
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
#include <utime.h>
|
||||
+#include <limits.h>
|
||||
#endif
|
||||
|
||||
namespace fz {
|
||||
64
dev-libs/libfilezilla/libfilezilla-0.51.1-r1.ebuild
Normal file
64
dev-libs/libfilezilla/libfilezilla-0.51.1-r1.ebuild
Normal file
@ -0,0 +1,64 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools flag-o-matic
|
||||
|
||||
DESCRIPTION="C++ library offering some basic functionality for platform-independent programs"
|
||||
HOMEPAGE="https://lib.filezilla-project.org/"
|
||||
# Broken URL behind CDN
|
||||
SRC_URI="https://dev.gentoo.org/~dlan/distfiles/${PN}/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0/48" # libfilezilla.so version
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/nettle:0=
|
||||
>=net-libs/gnutls-3.5.7:=
|
||||
virtual/libcrypt:=
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-util/cppunit )"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.37.1-pthread.patch
|
||||
"${FILESDIR}"/${PN}-0.41.0-gcc13.patch
|
||||
"${FILESDIR}"/${PN}-0.51.1-musl.patch
|
||||
)
|
||||
|
||||
pkg_pretend() {
|
||||
if [[ ${MERGE_TYPE} != binary ]]; then
|
||||
if ! test-flag-CXX -std=c++14; then
|
||||
eerror "${P} requires C++14-capable C++ compiler. Your current compiler"
|
||||
eerror "does not seem to support -std=c++14 option. Please upgrade your compiler"
|
||||
eerror "to gcc-4.9 or an equivalent version supporting C++14."
|
||||
die "Currently active compiler does not support -std=c++14"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# we patch configure.ac
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if use ppc || use arm || use hppa; then
|
||||
# bug 727652
|
||||
append-libs -latomic
|
||||
fi
|
||||
|
||||
econf --disable-static
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
find "${ED}" -type f -name "*.la" -delete || die
|
||||
}
|
||||
@ -29,6 +29,7 @@ BDEPEND="virtual/pkgconfig"
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.37.1-pthread.patch
|
||||
"${FILESDIR}"/${PN}-0.41.0-gcc13.patch
|
||||
"${FILESDIR}"/${PN}-0.51.1-musl.patch
|
||||
)
|
||||
|
||||
pkg_pretend() {
|
||||
Loading…
x
Reference in New Issue
Block a user