pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/qemu0/patches Include patch for CentOS 7



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bf4b1dc293e3
branches:  trunk
changeset: 353261:bf4b1dc293e3
user:      kamil <kamil%pkgsrc.org@localhost>
date:      Sat Oct 01 13:22:34 2016 +0000

description:
Include patch for CentOS 7

diffstat:

 emulators/qemu0/patches/patch-linux-user_signal.c |  28 +++++++++++++++++++++++
 1 files changed, 28 insertions(+), 0 deletions(-)

diffs (32 lines):

diff -r dc5c2ed2cb38 -r bf4b1dc293e3 emulators/qemu0/patches/patch-linux-user_signal.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/qemu0/patches/patch-linux-user_signal.c Sat Oct 01 13:22:34 2016 +0000
@@ -0,0 +1,28 @@
+$NetBSD: patch-linux-user_signal.c,v 1.1 2016/10/01 13:22:34 kamil Exp $
+
+struct siginfo is unrecognized on CentOS Linux 7. Backport solution from
+recent qemu releases: "struct siginfo" -> "siginfo_t".
+
+--- /home/kamil/pkgsrc/emulators/qemu0/work/qemu-0.15.1/linux-user/signal.c.orig       2011-10-12 16:41:43.000000000 +0000
++++ /home/kamil/pkgsrc/emulators/qemu0/work/qemu-0.15.1/linux-user/signal.c
+@@ -3243,7 +3243,7 @@ struct target_signal_frame {
+ };
+ 
+ struct rt_signal_frame {
+-    struct siginfo info;
++    siginfo_t info;
+     struct ucontext uc;
+     uint32_t tramp[2];
+ };
+@@ -3461,9 +3461,9 @@ struct target_signal_frame {
+ };
+ 
+ struct rt_signal_frame {
+-        struct siginfo *pinfo;
++        siginfo_t *pinfo;
+         void *puc;
+-        struct siginfo info;
++        siginfo_t info;
+         struct ucontext uc;
+         uint8_t retcode[8];       /* Trampoline code. */
+ };



Home | Main Index | Thread Index | Old Index