fix: noconfirm auto-selects first AUR match
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
[source]
|
||||
git = "https://github.com/uutils/tar"
|
||||
rev = "f85dddd20e33bb08000b0ed4277067a68a18fee4"
|
||||
rev = "5540ce1877e7cd964ebec75c92541c4d1e0472db"
|
||||
shallow_clone = true
|
||||
patches = ["redox.patch"]
|
||||
|
||||
[build]
|
||||
template = "cargo"
|
||||
|
||||
@@ -50,6 +50,8 @@ patches = [
|
||||
"P3-tcp-sockopt-forward.patch",
|
||||
# Named POSIX semaphores (sem_open/close/unlink) — comprehensive + refcount + va_list
|
||||
"P3-semaphore-comprehensive.patch",
|
||||
# semaphore.h: expose SEM_FAILED and real variadic sem_open() prototype/ABI
|
||||
"P3-semaphore-varargs-header.patch",
|
||||
# Reverse From<&syscall::TimeSpec> for timespec (needed by getrusage)
|
||||
"P3-timespec-reverse-from.patch",
|
||||
"P10-stack-size-8mb.patch",
|
||||
|
||||
@@ -4,7 +4,11 @@ branch = "redox-13.2.0"
|
||||
shallow_clone = true
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
COOKBOOK_AUTORECONF=autoreconf2.69 autotools_recursive_regenerate -I"$(realpath ./config)"
|
||||
if command -v autoreconf2.69 >/dev/null 2>&1; then
|
||||
COOKBOOK_AUTORECONF=autoreconf2.69
|
||||
export COOKBOOK_AUTORECONF
|
||||
autotools_recursive_regenerate -I"$(realpath ./config)"
|
||||
fi
|
||||
LIBTOOL_BUILD_AUX="${COOKBOOK_LIBTOOL_DIR:-$COOKBOOK_HOST_SYSROOT}"/share/libtool/build-aux
|
||||
cp -fpv "$LIBTOOL_BUILD_AUX"/{config.sub,config.guess,install-sh} libiberty/
|
||||
"""
|
||||
@@ -22,6 +26,11 @@ script = """
|
||||
DYNAMIC_STATIC_INIT
|
||||
CROSS_GNU_TARGET=${COOKBOOK_CROSS_GNU_TARGET:-$GNU_TARGET}
|
||||
|
||||
# The GCC configure probe can see the host's sys/sdt.h while building a Redox
|
||||
# target. Redox does not provide SystemTap probes, so keep libgcc from enabling
|
||||
# HAVE_SYS_SDT_H and then failing to include a non-existent target header.
|
||||
export gcc_cv_sys_sdt_h=no
|
||||
|
||||
if [ "${COOKBOOK_HOST_SYSROOT}" = "/usr" ]; then
|
||||
# not specifying --enable-shared as it will link shared deps
|
||||
COOKBOOK_STAGE+="/usr"
|
||||
|
||||
Reference in New Issue
Block a user