mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 11:17:21 -08:00
Merge updates from master
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
From 37e49e8a22c223b030297f9607bdb748c219e060 Mon Sep 17 00:00:00 2001
|
||||
From: Philip Withnall <pwithnall@gnome.org>
|
||||
Date: Tue, 28 May 2024 18:08:27 +0100
|
||||
Subject: [PATCH] shell-camera-monitor: Fix warning about strict aliasing
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Changing type when casting a double pointer is not strictly allowed in
|
||||
C. In order to fix compilation with `-fstrict-aliasing`, don’t use
|
||||
`g_clear_pointer()` for clearing this pointer where the type expected by
|
||||
the destroy notify function does not match the type stored in the
|
||||
`ShellCameraMonitor` struct.
|
||||
|
||||
This introduces no functional changes.
|
||||
|
||||
Signed-off-by: Philip Withnall <pwithnall@gnome.org>
|
||||
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3351>
|
||||
---
|
||||
src/shell-camera-monitor.c | 6 +++++-
|
||||
1 file changed, 5 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/shell-camera-monitor.c b/src/shell-camera-monitor.c
|
||||
index 1e2e0f14569..b2e6e0b2af2 100644
|
||||
--- a/src/shell-camera-monitor.c
|
||||
+++ b/src/shell-camera-monitor.c
|
||||
@@ -298,7 +298,11 @@ shell_camera_monitor_disconnect_core (ShellCameraMonitor *monitor)
|
||||
g_clear_handle_id (&monitor->delayed_disable_id, g_source_remove);
|
||||
|
||||
spa_hook_remove (&monitor->registry_listener);
|
||||
- g_clear_pointer ((struct pw_proxy**) &monitor->registry, pw_proxy_destroy);
|
||||
+ if (monitor->registry != NULL)
|
||||
+ {
|
||||
+ pw_proxy_destroy ((struct pw_proxy *) monitor->registry);
|
||||
+ monitor->registry = NULL;
|
||||
+ }
|
||||
spa_hook_remove (&monitor->core_listener);
|
||||
g_clear_pointer (&monitor->core, pw_core_disconnect);
|
||||
}
|
||||
--
|
||||
GitLab
|
||||
|
||||
+2
@@ -134,6 +134,8 @@ BDEPEND="
|
||||
PATCHES=(
|
||||
# Change favorites defaults, bug #479918
|
||||
"${FILESDIR}"/40.0-defaults.patch
|
||||
# backport fix for strict-aliasing violation with USE=pipewire
|
||||
"${FILESDIR}"/37e49e8a22c223b030297f9607bdb748c219e060.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit flag-o-matic multilib-minimal
|
||||
inherit flag-o-matic libtool multilib-minimal
|
||||
|
||||
DESCRIPTION="Free lossless audio encoder and decoder"
|
||||
HOMEPAGE="https://xiph.org/flac/"
|
||||
@@ -27,6 +27,11 @@ BDEPEND="
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
# -fipa-pta exposes a test failure in replaygain_analysis (https://gcc.gnu.org/PR115533)
|
||||
# TOOD: Replace with some -ffp-contract= option?
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake xdg
|
||||
inherit cmake flag-o-matic xdg
|
||||
|
||||
DESCRIPTION="Full featured webcam capture application"
|
||||
HOMEPAGE="https://webcamoid.github.io"
|
||||
@@ -52,6 +52,11 @@ RDEPEND="${COMMON_DEPEND}
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
# -Werror=odr
|
||||
# https://bugs.gentoo.org/927104
|
||||
# https://github.com/webcamoid/webcamoid/issues/702
|
||||
filter-lto
|
||||
|
||||
#Disable git in package source. If not disabled the cmake configure process will show
|
||||
#a lot of "fatal not a git repository" errors
|
||||
sed -i 's|find_program(GIT_BIN git)|#find_program(GIT_BIN git)|' libAvKys/cmake/ProjectCommons.cmake || die
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake xdg
|
||||
inherit cmake flag-o-matic xdg
|
||||
|
||||
DESCRIPTION="Full featured webcam capture application"
|
||||
HOMEPAGE="https://webcamoid.github.io"
|
||||
@@ -24,23 +24,16 @@ IUSE="alsa ffmpeg gstreamer jack libuvc oss portaudio pulseaudio qtaudio qtcamer
|
||||
REQUIRED_USE="v4lutils? ( v4l )"
|
||||
|
||||
COMMON_DEPEND="
|
||||
dev-qt/qtconcurrent:5
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtdbus:5
|
||||
dev-qt/qtdeclarative:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qtopengl:5
|
||||
dev-qt/qtquickcontrols2:5
|
||||
dev-qt/qtsvg:5
|
||||
dev-qt/qtwidgets:5
|
||||
dev-qt/qtbase:6[concurrent,dbus,gui,network,opengl,widgets]
|
||||
dev-qt/qtdeclarative:6
|
||||
dev-qt/qtsvg:6
|
||||
ffmpeg? ( media-video/ffmpeg:= )
|
||||
gstreamer? ( >=media-libs/gstreamer-1.6.0 )
|
||||
jack? ( virtual/jack )
|
||||
libuvc? ( media-libs/libuvc )
|
||||
pulseaudio? ( media-libs/libpulse )
|
||||
qtaudio? ( dev-qt/qtmultimedia:5 )
|
||||
qtcamera? ( dev-qt/qtmultimedia:5 )
|
||||
qtaudio? ( dev-qt/qtmultimedia:6 )
|
||||
qtcamera? ( dev-qt/qtmultimedia:6 )
|
||||
sdl? ( media-libs/libsdl2 )
|
||||
v4l? ( media-libs/libv4l )
|
||||
"
|
||||
@@ -52,6 +45,11 @@ RDEPEND="${COMMON_DEPEND}
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
# -Werror=odr
|
||||
# https://bugs.gentoo.org/927104
|
||||
# https://github.com/webcamoid/webcamoid/issues/702
|
||||
filter-lto
|
||||
|
||||
#Disable git in package source. If not disabled the cmake configure process will show
|
||||
#a lot of "fatal not a git repository" errors
|
||||
sed -i 's|find_program(GIT_BIN git)|#find_program(GIT_BIN git)|' libAvKys/cmake/ProjectCommons.cmake || die
|
||||
@@ -64,6 +62,7 @@ src_configure() {
|
||||
"-DNOPIPEWIRE=1"
|
||||
"-DNOPORTAUDIO=1" # PortAudio not packaged for gentoo
|
||||
"-DNOALSA=$(usex alsa 0 1)"
|
||||
"-DNOQTAUDIO=$(usex qtaudio 0 1)"
|
||||
"-DNOQTCAMERA=$(usex qtcamera 0 1)"
|
||||
"-DNOFFMPEG=$(usex ffmpeg 0 1)"
|
||||
"-DNOGSTREAMER=$(usex gstreamer 0 1)"
|
||||
|
||||
+89
@@ -0,0 +1,89 @@
|
||||
From cd5e920572eabc54dc7350c41ca172b49e48ac1a Mon Sep 17 00:00:00 2001
|
||||
From: Eli Schwartz <eschwartz93@gmail.com>
|
||||
Date: Sun, 7 Jul 2024 21:38:29 -0400
|
||||
Subject: [PATCH] include lots of headers to pass the basic c99 sniff test
|
||||
|
||||
Including configure checks, which currently emit broken results.
|
||||
|
||||
And in one case, include config.h early enough to do something.
|
||||
---
|
||||
common/scheduler/task.c | 1 +
|
||||
enforcer/src/daemon/time_leap_cmd.c | 2 +-
|
||||
enforcer/src/utils/kaspcheck.c | 1 +
|
||||
enforcer/src/utils/kc_helper.c | 1 +
|
||||
m4/acx_broken_setres.m4 | 2 ++
|
||||
5 files changed, 6 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/common/scheduler/task.c b/common/scheduler/task.c
|
||||
index 4dcf9e9..0dfa496 100644
|
||||
--- a/common/scheduler/task.c
|
||||
+++ b/common/scheduler/task.c
|
||||
@@ -40,6 +40,7 @@
|
||||
#include "duration.h"
|
||||
#include "file.h"
|
||||
#include "log.h"
|
||||
+#include "utilities.h"
|
||||
|
||||
static const char* task_str = "task";
|
||||
static pthread_mutex_t worklock = PTHREAD_MUTEX_INITIALIZER;
|
||||
diff --git a/enforcer/src/daemon/time_leap_cmd.c b/enforcer/src/daemon/time_leap_cmd.c
|
||||
index af41c8d..b17773c 100644
|
||||
--- a/enforcer/src/daemon/time_leap_cmd.c
|
||||
+++ b/enforcer/src/daemon/time_leap_cmd.c
|
||||
@@ -26,8 +26,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
-#include <getopt.h>
|
||||
#include "config.h"
|
||||
+#include <getopt.h>
|
||||
|
||||
#include "file.h"
|
||||
#include "duration.h"
|
||||
diff --git a/enforcer/src/utils/kaspcheck.c b/enforcer/src/utils/kaspcheck.c
|
||||
index 9bac3b7..fcdb36d 100644
|
||||
--- a/enforcer/src/utils/kaspcheck.c
|
||||
+++ b/enforcer/src/utils/kaspcheck.c
|
||||
@@ -25,6 +25,7 @@
|
||||
|
||||
#define _GNU_SOURCE
|
||||
#include <stdio.h>
|
||||
+#include <stdlib.h>
|
||||
#include <getopt.h>
|
||||
#include <string.h>
|
||||
#include <syslog.h>
|
||||
diff --git a/enforcer/src/utils/kc_helper.c b/enforcer/src/utils/kc_helper.c
|
||||
index 72d181f..7f1278e 100644
|
||||
--- a/enforcer/src/utils/kc_helper.c
|
||||
+++ b/enforcer/src/utils/kc_helper.c
|
||||
@@ -27,6 +27,7 @@
|
||||
#include <syslog.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
+#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <sys/stat.h>
|
||||
#include <errno.h>
|
||||
diff --git a/m4/acx_broken_setres.m4 b/m4/acx_broken_setres.m4
|
||||
index 374cee0..c9eda46 100644
|
||||
--- a/m4/acx_broken_setres.m4
|
||||
+++ b/m4/acx_broken_setres.m4
|
||||
@@ -4,6 +4,7 @@ AC_DEFUN([ACX_BROKEN_SETRES],[
|
||||
AC_MSG_CHECKING(if setresuid seems to work)
|
||||
AC_RUN_IFELSE(
|
||||
[AC_LANG_SOURCE([[
|
||||
+#include <unistd.h>
|
||||
#include <stdlib.h>
|
||||
#include <errno.h>
|
||||
int main(){errno=0; setresuid(0,0,0); if (errno==ENOSYS) exit(1); else exit(0);}
|
||||
@@ -20,6 +21,7 @@ int main(){errno=0; setresuid(0,0,0); if (errno==ENOSYS) exit(1); else exit(0);}
|
||||
AC_MSG_CHECKING(if setresgid seems to work)
|
||||
AC_RUN_IFELSE(
|
||||
[AC_LANG_SOURCE([[
|
||||
+#include <unistd.h>
|
||||
#include <stdlib.h>
|
||||
#include <errno.h>
|
||||
int main(){errno=0; setresgid(0,0,0); if (errno==ENOSYS) exit(1); else exit(0);}
|
||||
--
|
||||
2.44.2
|
||||
|
||||
+4
@@ -59,6 +59,10 @@ PATCHES=(
|
||||
"${FILESDIR}/${PN}-fix-run-dir-2.1.x.patch"
|
||||
"${FILESDIR}/${PN}-use-system-trang.patch"
|
||||
"${FILESDIR}/${PN}-fix-mysql.patch"
|
||||
# fix some modern C errors due to missing includes. Not forwarded upstream,
|
||||
# since upstream's website appears to be in a state of disarray and the
|
||||
# "Bug Reporting" link doesn't work.
|
||||
"${FILESDIR}"/0001-include-lots-of-headers-to-pass-the-basic-c99-sniff-.patch
|
||||
)
|
||||
|
||||
DOCS=( MIGRATION NEWS )
|
||||
@@ -28,10 +28,6 @@ app-emulation/protontricks
|
||||
# Mask until execinfo.h use can be properly patched, bug #853856
|
||||
media-gfx/renderdoc
|
||||
|
||||
# Maciej Barć <xgqt@gentoo.org> (2024-03-23)
|
||||
# Binary package, which is compiled against glibc
|
||||
www-apps/jellyfin-bin
|
||||
|
||||
# Arthur Zamarin <arthurzam@gentoo.org> (2024-03-15)
|
||||
# Needs ada
|
||||
sci-electronics/ghdl
|
||||
@@ -76,15 +72,6 @@ games-strategy/seven-kingdoms
|
||||
# this time. (#925547)
|
||||
app-arch/lrzip-next
|
||||
|
||||
# Marek Szuba <marecki@gentoo.org> (2024-02-18)
|
||||
# Binary-only packages linked against glibc
|
||||
net-analyzer/nessus-agent-bin
|
||||
net-analyzer/nessus-bin
|
||||
|
||||
# Marc Schiffbauer <mschiff@gentoo.org> (2024-02-16)
|
||||
# Binary package, which is compiled against glibc
|
||||
app-editors/logseq-desktop-bin
|
||||
|
||||
# Christopher Fore <csfore@posteo.net> (2024-01-24)
|
||||
# >=sys-fs/bcachefs-tools-1.4.1 uses functions currently not in Musl
|
||||
# https://github.com/koverstreet/bcachefs-tools/issues/213
|
||||
@@ -95,34 +82,10 @@ app-editors/logseq-desktop-bin
|
||||
# which are not available on musl.
|
||||
net-misc/mcproxy
|
||||
|
||||
# Giuseppe Foti <foti.giuseppe@gmail.com> (2024-01-22)
|
||||
# Binary package, which is compiled against glibc
|
||||
app-office/drawio-desktop-bin
|
||||
|
||||
# Maciej Barć <xgqt@gentoo.org> (2024-01-06)
|
||||
# Binary package, which is compiled against glibc
|
||||
app-office/joplin-desktop
|
||||
|
||||
# Maciej Barć <xgqt@gentoo.org> (2024-01-06)
|
||||
# Binary package, which is compiled against glibc
|
||||
dev-util/azuredatastudio
|
||||
|
||||
# Florian Schmaus <flow@gentoo.org> (2023-11-22)
|
||||
# Requires systemd which is not supported on musl.
|
||||
sys-power/sandmann-bin
|
||||
|
||||
# Maciej Barć <xgqt@gentoo.org> (2023-09-16)
|
||||
# Binary package, which is compiled against glibc
|
||||
dev-lang/dafny-bin
|
||||
|
||||
# Maciej Barć <xgqt@gentoo.org> (2023-09-16)
|
||||
# Binary package, which is compiled against glibc
|
||||
app-shells/pwsh-bin
|
||||
|
||||
# Maciej Barć <xgqt@gentoo.org> (2023-07-01)
|
||||
# Binary package, which is compiled against glibc
|
||||
games-util/heroic-bin
|
||||
|
||||
# Brahmajit Das <brahmajit.xyz@gmail.com> (2023-06-15)
|
||||
# The package uses innetgr which is not available in musl, bug 898556
|
||||
# The package is only for long-obsolete polkit policies anyway.
|
||||
@@ -136,14 +99,6 @@ sys-auth/polkit-pkla-compat
|
||||
# Mask until execinfo.h use can be properly patched, bug #877721 and #903689.
|
||||
dev-scheme/guile-ssh
|
||||
|
||||
# Conrad Kostecki <conikost@gentoo.org> (2023-03-01)
|
||||
# Binary package, which is compiled against glibc
|
||||
sys-block/arcconf
|
||||
|
||||
# Conrad Kostecki <conikost@gentoo.org> (2023-03-01)
|
||||
# Binary package, which is compiled against glibc
|
||||
sys-apps/smcipmitool
|
||||
|
||||
# Alfredo Tupone <tupone@gentoo.org> (2023-02-27)
|
||||
# Uses dev-util/nvidia-cuda-sdk
|
||||
dev-libs/cutlass
|
||||
@@ -236,14 +191,18 @@ app-benchmarks/geekbench
|
||||
app-benchmarks/geekbench-ml
|
||||
app-crypt/rainbowcrack
|
||||
app-crypt/yubioath-flutter-bin
|
||||
app-editors/logseq-desktop-bin
|
||||
app-editors/sublime-text
|
||||
app-editors/vscode
|
||||
app-editors/vscodium
|
||||
app-emulation/crossover-bin
|
||||
app-misc/kryoflux-dtc
|
||||
app-office/drawio-desktop-bin
|
||||
app-office/joplin-desktop
|
||||
app-office/libreoffice-bin
|
||||
app-office/libreoffice-bin-debug
|
||||
app-office/onlyoffice-bin
|
||||
app-shells/pwsh-bin
|
||||
app-text/master-pdf-editor
|
||||
app-text/zotero-bin
|
||||
dev-db/ocp
|
||||
@@ -252,11 +211,13 @@ dev-db/sqlcl-bin
|
||||
dev-games/ps2-packer
|
||||
dev-java/openjdk-bin
|
||||
dev-java/openjdk-jre-bin
|
||||
dev-lang/dafny-bin
|
||||
dev-libs/luise
|
||||
dev-libs/nwjs
|
||||
dev-perl/Lab-Zhinst
|
||||
dev-php/PEAR-MDB2_Driver_oci8
|
||||
dev-python/pyzotero
|
||||
dev-util/azuredatastudio
|
||||
dev-util/idea-community
|
||||
games-action/a-story-about-my-uncle
|
||||
games-action/badland
|
||||
@@ -310,6 +271,7 @@ games-strategy/darwinia
|
||||
games-strategy/darwinia-demo
|
||||
games-strategy/knights-demo
|
||||
games-strategy/majesty-demo
|
||||
games-util/heroic-bin
|
||||
gnome-extra/nautilus-dropbox
|
||||
kde-apps/dolphin-plugins-dropbox
|
||||
mail-client/thunderbird-bin
|
||||
@@ -323,6 +285,8 @@ media-video/amdgpu-pro-amf
|
||||
media-video/dvbackup
|
||||
media-video/makemkv
|
||||
media-video/popcorntime-bin
|
||||
net-analyzer/nessus-agent-bin
|
||||
net-analyzer/nessus-bin
|
||||
net-im/discord
|
||||
net-im/element-desktop-bin
|
||||
net-im/gitter-bin
|
||||
@@ -353,11 +317,14 @@ sci-misc/jupyterlab-desktop-bin
|
||||
sci-misc/netlogo-bin
|
||||
sys-apps/intune-portal
|
||||
sys-apps/ipmicfg
|
||||
sys-apps/smcipmitool
|
||||
sys-apps/tas
|
||||
sys-block/arcconf
|
||||
sys-block/hpssacli
|
||||
sys-block/megacli
|
||||
www-apps/chromedriver-bin
|
||||
www-apps/grafana-bin
|
||||
www-apps/jellyfin-bin
|
||||
www-apps/kibana-bin
|
||||
www-client/firefox-bin
|
||||
www-client/google-chrome
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
DIST bc-6.5.0.tar.xz 461380 BLAKE2B e4aa633162d03fc5723e967ba81f985ab1b16e47b3c9a3ca1c32e9a717db682ce88cc6ba453d5e9b09539dcb8ddbb258b7b7dbdd2e27279355e3c35028d56130 SHA512 1cb03038d828a0b10734c29931777add8b22f194c507b8ff538ec1aa52a2a97a4ac2733d72cdb0710fdc6937807074e929f7918c56aaf5be8fbe908ea7c5a401
|
||||
DIST bc-6.7.5.tar.xz 468572 BLAKE2B 3942cfbbc2b8a307bc24b9f7c3e037bce374bd17332b236a8c76ccacef1177e36669b7f61944a5c5791b0a436dec171991cfc821526865a816fba91e65aa1f04 SHA512 5f689fd20801ea7ede725ae5dc4e8744bdf2d72424bffef99c53193a950f4bd83b6eb4c5a07556576d0b3f5b6cd7f9fc7cbcb41d27891f488bb2e97a186f76a4
|
||||
DIST bc-6.7.6.tar.xz 473104 BLAKE2B 447cf15d94e8800ad81d734efef5a6b4dfdc4930eeb0bff3a4c093e31d65a8449cf3e685af077ae3397a1a730c4345fb7e95c82446d09b692f4fd6ef6e90ea88 SHA512 418ce61e8151a548627b794692325f48c68f8cedca7a0cb8d896bb74510f55b33486214af0af1b160c1f387f3d034300dff6fbc29c2d44d7b304a7a37c3c478b
|
||||
|
||||
@@ -0,0 +1,77 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit edo
|
||||
|
||||
MY_P="bc-${PV}"
|
||||
DESCRIPTION="Implementation of POSIX bc with GNU extensions"
|
||||
HOMEPAGE="
|
||||
https://git.gavinhoward.com/gavin/bc/
|
||||
https://github.com/gavinhoward/bc/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/gavinhoward/bc/releases/download/${PV}/${MY_P}.tar.xz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
IUSE="libedit readline"
|
||||
|
||||
DEPEND="
|
||||
!readline? (
|
||||
libedit? ( dev-libs/libedit:= )
|
||||
)
|
||||
readline? (
|
||||
sys-libs/readline:=
|
||||
sys-libs/ncurses:=
|
||||
)
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
local myconf=(
|
||||
# GNU and BSD bc's have slightly different behavior. This bc can act
|
||||
# like both, changing at runtime with environment variables, but it
|
||||
# needs defaults, which can be set at compile time. This option sets all
|
||||
# of the defaults to match the GNU bc/dc since it's common on Linux.
|
||||
-pGNU
|
||||
# A lot of test results are generated first by a bc compatible with the
|
||||
# GNU bc. If there is no GNU bc installed, then those tests should be
|
||||
# skipped. That's what this option does. Without it, we would have a
|
||||
# dependency cycle. Those tests are super long, anyway.
|
||||
-G
|
||||
# Disables the automatic stripping of binaries.
|
||||
-T
|
||||
# Enables installing all locales, which is important for packages.
|
||||
-l
|
||||
# Disables some "problematic" tests that need specific options on Linux
|
||||
# to not trigger the OOM killer because malloc() lies.
|
||||
-P
|
||||
)
|
||||
if use readline ; then
|
||||
myconf+=( -r )
|
||||
elif use libedit ; then
|
||||
myconf+=( -e )
|
||||
fi
|
||||
|
||||
local -x EXECSUFFIX="-gh"
|
||||
local -x PREFIX="${EPREFIX}/usr"
|
||||
edo ./configure.sh "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# This is to fix a bug encountered on Arch. It is to ensure we don't get
|
||||
# segfaults on `make check` when the error messages change because the error
|
||||
# messages are passed to printf(); they have format specifiers. With these
|
||||
# env vars, the internal error messages are used, instead of the installed
|
||||
# locales, which might be different since the new locale files are not
|
||||
# installed yet. (It is impossible to use uninstalled locales because of the
|
||||
# poor design of POSIX locales.)
|
||||
env LANG=C LC_ALL=C emake check
|
||||
}
|
||||
Reference in New Issue
Block a user