pkgsrc-Changes archive

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

CVS commit: pkgsrc/emulators/qemu0/patches



Module Name:    pkgsrc
Committed By:   kamil
Date:           Sat Oct  1 13:22:34 UTC 2016

Added Files:
        pkgsrc/emulators/qemu0/patches: patch-linux-user_signal.c

Log Message:
Include patch for CentOS 7


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/emulators/qemu0/patches/patch-linux-user_signal.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/emulators/qemu0/patches/patch-linux-user_signal.c
diff -u /dev/null pkgsrc/emulators/qemu0/patches/patch-linux-user_signal.c:1.1
--- /dev/null   Sat Oct  1 13:22:34 2016
+++ pkgsrc/emulators/qemu0/patches/patch-linux-user_signal.c    Sat Oct  1 13:22:34 2016
@@ -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