qemu: update to 3.0.0.

This commit is contained in:
Helmut Pozimski 2018-09-04 10:42:46 +02:00
parent ddd2078cf3
commit f3e498e83e
2 changed files with 11 additions and 29 deletions

View File

@ -1,27 +1,11 @@
From 3e231fa7a2dc66e2ef06ac44f4f719b08fc0c67e Mon Sep 17 00:00:00 2001
From: Natanael Copa <ncopa@alpinelinux.org>
Date: Tue, 29 Apr 2014 15:51:31 +0200
Subject: [PATCH 6/6] linux-user/signal.c: define __SIGRTMIN/MAX for non-GNU
platforms
The __SIGRTMIN and __SIGRTMAX are glibc internals and are not available
on all platforms, so we define those if they are missing.
This is needed for musl libc.
Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
---
linux-user/signal.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git linux-user/signal.c linux-user/signal.c
index 7d6246f..6019dbb 100644
--- linux-user/signal.c
+++ linux-user/signal.c
@@ -32,6 +32,13 @@
//#define DEBUG_SIGNAL
Updated version of 0006-linux-user-signal.c-define-__SIGRTMIN-MAX-for-non-GN.patch for qemu-3.0.0
from alpine, original author Natanael Copa.
--- linux-user/signal.c 2018-09-04 10:23:03.244301111 +0200
+++ linux-user/signal.c 2018-09-04 10:29:52.333828797 +0200
@@ -26,6 +26,13 @@
#include "trace.h"
#include "signal-common.h"
+#ifndef __SIGRTMIN
+#define __SIGRTMIN 32
+#endif
@ -29,8 +13,6 @@ index 7d6246f..6019dbb 100644
+#define __SIGRTMAX (NSIG-1)
+#endif
+
static struct target_sigaltstack target_sigaltstack_used = {
struct target_sigaltstack target_sigaltstack_used = {
.ss_sp = 0,
.ss_size = 0,
--
1.9.2

View File

@ -1,13 +1,13 @@
# Template file for 'qemu'
pkgname=qemu
version=2.12.1
version=3.0.0
revision=1
short_desc="Open Source Processor Emulator"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://qemu.org"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
distfiles="http://wiki.qemu.org/download/qemu-${version}.tar.bz2"
checksum=4150809a52d821398dfd38c94b065513ef26b393fda9aba4bb6f09644cf1e5ca
checksum=933e62ad604f5f8d0a93f5e0a98fd95f9d2e23ff1dbd0c744c6c7506bba8ebe8
nocross=https://api.travis-ci.org/jobs/210268003/log.txt
nostrip=yes