-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
106 changed files
with
4,128 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
if [[ ${FEATURES} == *ccache* && ${EBUILD_PHASE_FUNC} == src_* ]]; then | ||
if [[ ${CCACHE_DIR} == /var/cache/ccache ]]; then | ||
export CCACHE_DIR=/var/cache/ccache/${CATEGORY}/${PN}:${SLOT} | ||
mkdir -p "${CCACHE_DIR}" || die | ||
fi | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
ACCEPT_KEYWORDS="~arm64" | ||
|
||
CHOST="aarch64-gentoo-linux-musl" | ||
|
||
COMMON_FLAGS="-Os -mcpu=native -pipe" | ||
CFLAGS="${COMMON_FLAGS}" | ||
CXXFLAGS="${COMMON_FLAGS}" | ||
FCFLAGS="${COMMON_FLAGS}" | ||
FFLAGS="${COMMON_FLAGS}" | ||
|
||
EMERGE_DEFAULT_OPTS="--with-bdeps=y --quiet-build=y --autounmask-keep-masks" | ||
FEATURES="ccache network-sandbox userpriv usersandbox" | ||
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common" | ||
MAKEOPTS="-j2 --no-print-directory -l4" | ||
|
||
PORTAGE_GPG_KEY="0x5E49A760C697EE3A" | ||
PORTAGE_COMPRESS="xz" | ||
PORTAGE_COMPRESS_FLAGS="-z -9 -f -S .xz" | ||
PORTDIR="/var/db/repos/gentoo" | ||
DISTDIR="/var/cache/distfiles" | ||
PKGDIR="/var/cache/binpkgs" | ||
|
||
LC_MESSAGES=C | ||
|
||
USE="X aac -acl alsa bluetooth bzip2 cairo cdio cgroups -consolekit crypt | ||
cups cxx dbus dri dri3 elogind ffmpeg gtk gtk3 hardened iconv icu introspection | ||
ipv6 jpeg libcanberra libressl libsecret libtirpc lzma mp3 ncurses nptl -nls | ||
opengl openmp pam pcre pdf pic pie png policykit postproc pulseaudio readline | ||
seccomp spell sqlite ssh ssl ssp theora threads tiff truetype udev udisks unicode | ||
upower vpx x264 xattr xcb xinerama xtpax xvid zlib" | ||
|
||
CURL_SSL="libressl" | ||
VIDEO_CARDS="fbdev vc4" | ||
INPUT_DEVICES="evdev synaptics" | ||
LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" | ||
L10N="en" | ||
|
||
INSTALL_MASK="${INSTALL_MASK} /usr/lib/modules-load.d" | ||
|
||
I_KNOW_WHAT_I_AM_DOING=y | ||
DCO_SIGNED_OFF_BY="Jory Pratt <[email protected]>" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../var/db/repos/gentoo/profiles/default/linux/arm64/17.0/musl/hardened |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
~app-editors/mousepad-0.4.2 ** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
~dev-libs/flatbuffers-1.11.0 ** | ||
~dev-libs/libfmt-6.0.0 ** | ||
~dev-libs/libfstrcmp-0.7 ** | ||
~dev-libs/crossguid-0_pre20150817 ** | ||
~dev-libs/rapidjson-1.1.0 ** | ||
~dev-libs/keybinder-0.3.2 ** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
~media-tv/kodi-18.5 ** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
~net-irc/hexchat-2.12.4 ** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
sys-libs/fts-standalone ** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
xfce-extra/xfce4-whiskermenu-plugin ** | ||
~xfce-extra/xfce4-volumed-pulse-0.2.3 ** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
dev-lang/rust::gentoo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
dev-libs/elfutils::gentoo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
>=dev-util/android-tools-8.1.0_p1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
gnome-base/gnome-keyring::gentoo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
sys-devel/gcc::gentoo | ||
sys-devel/gdb::gentoo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
sys-kernel/linux-headers::musl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Not ready for musl support | ||
#~virtual/cargo-1.37.0 | ||
#~virtual/rust-1.37.0 | ||
|
||
# Do not need any virtuals from smaeul's overlay | ||
virtual/service-manager::smaeul | ||
virtual/logger::smaeul |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
app-crypt/gnupg usb | ||
app-crypt/pinentry gnome-keyring |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
app-office/libreoffice pdfimport |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
app-portage/portage-utils -qmanifest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
app-text/mupdf -javascript | ||
app-text/xmlto text |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
dev-db/sqlite secure-delete |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
dev-lang/php cli curl gd | ||
dev-lang/rust jemalloc system-llvm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
dev-libs/boost nls | ||
dev-libs/libressl static-libs | ||
dev-libs/libxml2 python | ||
dev-libs/nss utils | ||
dev-libs/xmlsec nss | ||
dev-libs/libpcre2 pcre16 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
gnome-extra/nm-applet -modemmanager |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
mail-client/thunderbird custom-cflags custom-optimization lightning system-harfbuzz system-icu system-jpeg system-sqlite -system-libvpx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
media-libs/freetype -harfbuzz | ||
media-libs/mesa vulkan | ||
media-libs/libpng apng |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
media-plugins/alsa-plugins pulseaudio |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
media-tv/kodi -gdm X |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
media-video/ffmpeg -openssl | ||
media-video/vlc dvd ffmpeg mpeg mad wxwindows aac dts a52 ogg flac theora oggvorbis matroska freetype bidi xv svga gnutls stream vlm httpd cdda vcd cdio live lua |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
net-libs/libpsl -idn | ||
net-libs/nodejs bundled-ssl inspector |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
net-misc/curl http2 | ||
net-misc/networkmanager -bluetooth -consolekit iwd -modemmanager -ppp -wext |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
net-nds/openldap sasl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
net-vpn/tor tor-hardening |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
net-wireless/iwd -crda |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
sys-apps/baselayout -split-usr | ||
sys-apps/busybox -ipv6 -pam static | ||
sys-apps/coreutils -split-usr | ||
sys-apps/debianutils -installkernel | ||
sys-apps/iproute2 -iptables | ||
sys-apps/openrc -netifrc | ||
sys-apps/portage gentoo-dev | ||
sys-apps/util-linux -cramfs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
sys-auth/elogind debug | ||
sys-auth/pambase -consolekit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
sys-devel/clang default-libcxx | ||
sys-devel/clang-runtime libcxx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
sys-fs/cryptsetup -argon2 libressl openssl | ||
sys-fs/lvm2 -thin | ||
sys-fs/udisks -lvm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
sys-libs/compiler-rt-sanitizers -libfuzzer -sanitize -xray | ||
sys-libs/pam cracklib | ||
sys-libs/zlib minizip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
sys-process/procps modern-top |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
www-client/firefox custom-cflags custom-optimization hwaccel -system-libvpx | ||
www-client/torbrowser custom-cflags custom-optimization hwaccel system-harfbuzz system-icu system-jpeg system-libevent -system-libvpx system-sqlite |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
x11-base/xorg-server -suid |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
x11-drivers/xf86-video-intel uxa |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
x11-libs/libxcb xkb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
x11-terms/rxvt-unicode xft |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
x11-themes/adwaita-icon-theme branding |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
xfce-extra/xfce4-power-manager networkmanager |
24 changes: 24 additions & 0 deletions
24
patches/app-emulation/libvirt/libvirt-5.2.0-missing-header.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
From 2d05a702c4daa7b45d67897f01ff6a9508ae9990 Mon Sep 17 00:00:00 2001 | ||
From: Jory Pratt <[email protected]> | ||
Date: Sat, 18 May 2019 18:11:22 -0500 | ||
Subject: [PATCH] add missing paths header | ||
|
||
--- | ||
src/storage/storage_backend_fs.c | 1 + | ||
1 file changed, 1 insertion(+) | ||
|
||
diff --git a/src/storage/storage_backend_fs.c b/src/storage/storage_backend_fs.c | ||
index 97148ac..d904c79 100644 | ||
--- a/src/storage/storage_backend_fs.c | ||
+++ b/src/storage/storage_backend_fs.c | ||
@@ -24,6 +24,7 @@ | ||
#include <sys/types.h> | ||
#include <sys/stat.h> | ||
#include <fcntl.h> | ||
+#include <paths.h> | ||
|
||
#include "virerror.h" | ||
#include "storage_backend_fs.h" | ||
-- | ||
2.21.0 | ||
|
27 changes: 27 additions & 0 deletions
27
patches/app-emulation/libvirt/libvirt-5.2.0-musl-stderr-fix.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
From 4670746d253d46a90e92e48e5a7b9516daf93c37 Mon Sep 17 00:00:00 2001 | ||
From: | ||
Date: Sat, 18 May 2019 18:03:27 -0500 | ||
Subject: [PATCH] undefine stderr for when it is already defined | ||
|
||
--- | ||
src/qemu/qemu_process.c | 4 ++++ | ||
1 file changed, 4 insertions(+) | ||
|
||
diff --git a/src/qemu/qemu_process.c b/src/qemu/qemu_process.c | ||
index dc7317b..6f22a12 100644 | ||
--- a/src/qemu/qemu_process.c | ||
+++ b/src/qemu/qemu_process.c | ||
@@ -93,6 +93,10 @@ | ||
|
||
VIR_LOG_INIT("qemu.qemu_process"); | ||
|
||
+#ifdef stderr | ||
+# undef stderr | ||
+#endif | ||
+ | ||
/** | ||
* qemuProcessRemoveDomainStatus | ||
* | ||
-- | ||
2.21.0 | ||
|
30 changes: 30 additions & 0 deletions
30
patches/app-emulation/qemu/0001-define-SIGRTMIN-MAX-for-non-GNU-libc-s.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
From bfcd698310256cd46e21ea98104e92bdcfc4f6b3 Mon Sep 17 00:00:00 2001 | ||
From: | ||
Date: Sat, 18 May 2019 17:40:28 -0500 | ||
Subject: [PATCH 1/4] define SIGRTMIN-MAX for non-GNU libc's | ||
|
||
--- | ||
linux-user/signal.c | 7 +++++++ | ||
1 file changed, 7 insertions(+) | ||
|
||
diff --git a/linux-user/signal.c b/linux-user/signal.c | ||
index e2c0b371..7a9494c7 100644 | ||
--- a/linux-user/signal.c | ||
+++ b/linux-user/signal.c | ||
@@ -26,6 +26,13 @@ | ||
#include "trace.h" | ||
#include "signal-common.h" | ||
|
||
+#ifndef __SIGRTMIN | ||
+#define __SIGRTMIN 32 | ||
+#endif | ||
+#ifndef __SIGRTMAX | ||
+#define __SIGRTMAX (NSIG-1) | ||
+#endif | ||
+ | ||
struct target_sigaltstack target_sigaltstack_used = { | ||
.ss_sp = 0, | ||
.ss_size = 0, | ||
-- | ||
2.21.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
From f4fb73b1476c7a26104f2c2b6a978f64367a848c Mon Sep 17 00:00:00 2001 | ||
From: | ||
Date: Sat, 18 May 2019 17:43:45 -0500 | ||
Subject: [PATCH 2/4] add missing headers | ||
|
||
--- | ||
accel/tcg/user-exec.c | 3 ++- | ||
hw/9pfs/9p.c | 1 + | ||
linux-user/host/ppc64/hostdep.h | 2 ++ | ||
linux-user/syscall.c | 1 + | ||
4 files changed, 6 insertions(+), 1 deletion(-) | ||
|
||
diff --git a/accel/tcg/user-exec.c b/accel/tcg/user-exec.c | ||
index 0789984f..5cc7f020 100644 | ||
--- a/accel/tcg/user-exec.c | ||
+++ b/accel/tcg/user-exec.c | ||
@@ -285,9 +285,10 @@ int cpu_signal_handler(int host_signum, void *pinfo, | ||
* From Wine | ||
*/ | ||
#ifdef linux | ||
+#include <sys/user.h> | ||
/* All Registers access - only for local access */ | ||
#define REG_sig(reg_name, context) \ | ||
- ((context)->uc_mcontext.regs->reg_name) | ||
+ (((struct pt_regs *)(context)->uc_mcontext.regs)->reg_name) | ||
/* Gpr Registers access */ | ||
#define GPR_sig(reg_num, context) REG_sig(gpr[reg_num], context) | ||
/* Program counter */ | ||
diff --git a/hw/9pfs/9p.c b/hw/9pfs/9p.c | ||
index 55821343..e0dd2361 100644 | ||
--- a/hw/9pfs/9p.c | ||
+++ b/hw/9pfs/9p.c | ||
@@ -11,6 +11,7 @@ | ||
* | ||
*/ | ||
|
||
+#include <linux/limits.h> | ||
#include "qemu/osdep.h" | ||
#include <glib/gprintf.h> | ||
#include "hw/virtio/virtio.h" | ||
diff --git a/linux-user/host/ppc64/hostdep.h b/linux-user/host/ppc64/hostdep.h | ||
index 98979ad9..58293b0e 100644 | ||
--- a/linux-user/host/ppc64/hostdep.h | ||
+++ b/linux-user/host/ppc64/hostdep.h | ||
@@ -17,6 +17,8 @@ | ||
|
||
#ifndef __ASSEMBLER__ | ||
|
||
+#include <asm/ptrace.h> | ||
+ | ||
/* These are defined by the safe-syscall.inc.S file */ | ||
extern char safe_syscall_start[]; | ||
extern char safe_syscall_end[]; | ||
diff --git a/linux-user/syscall.c b/linux-user/syscall.c | ||
index 96cd4bf8..c7625858 100644 | ||
--- a/linux-user/syscall.c | ||
+++ b/linux-user/syscall.c | ||
@@ -34,6 +34,7 @@ | ||
#include <sys/resource.h> | ||
#include <sys/swap.h> | ||
#include <linux/capability.h> | ||
+#include <linux/sockios.h> | ||
#include <sched.h> | ||
#include <sys/timex.h> | ||
#include <sys/socket.h> | ||
-- | ||
2.21.0 | ||
|
30 changes: 30 additions & 0 deletions
30
patches/app-emulation/qemu/0003-define-F_SHLCK-and-F_EXLCK-for-musl.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
From 4e6e86dfb95756e9cea7a234da9dcdb34e492d38 Mon Sep 17 00:00:00 2001 | ||
From: | ||
Date: Sat, 18 May 2019 17:44:47 -0500 | ||
Subject: [PATCH 3/4] define F_SHLCK and F_EXLCK for musl | ||
|
||
--- | ||
linux-user/syscall.c | 7 +++++++ | ||
1 file changed, 7 insertions(+) | ||
|
||
diff --git a/linux-user/syscall.c b/linux-user/syscall.c | ||
index c7625858..426767da 100644 | ||
--- a/linux-user/syscall.c | ||
+++ b/linux-user/syscall.c | ||
@@ -113,6 +113,13 @@ | ||
#include "qemu.h" | ||
#include "fd-trans.h" | ||
|
||
+#ifndef F_SHLCK | ||
+#define F_SHLCK 8 | ||
+#endif | ||
+#ifndef F_EXLCK | ||
+#define F_EXLCK 4 | ||
+#endif | ||
+ | ||
#ifndef CLONE_IO | ||
#define CLONE_IO 0x80000000 /* Clone io context */ | ||
#endif | ||
-- | ||
2.21.0 | ||
|
Oops, something went wrong.