pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: wine, wine-devel build failure on i386-current
On Mon, 27 Mar 2017, Kamil Rytarowski wrote:
> Regarding ptrace(2) please try to add in this line:
>
> https://github.com/wine-mirror/wine/blob/e2ebc0dc23f0fa04ea79cefc9e3d2faf189a6bf7/server/ptrace.c#L654
>
> This code:
>
> #ifndef DBREG_DRX
> #define DBREG_DRX(d,x) ((d)->dr[(x)])
> #endif
This allows "wine-devel" to build successfully. I saved a patch:
+--- server/ptrace.c.orig 2017-03-27 10:15:50.794091637 -0500
++++ server/ptrace.c 2017-03-27 10:15:08.396052496 -0500
+@@ -652,6 +652,10 @@ void set_thread_context( struct thread *
+
+ #include <machine/reg.h>
+
++#ifndef DBREG_DRX
++#define DBREG_DRX(d,x) ((d)->dr[(x)])
++#endif
++
+ /* retrieve the thread x86 registers */
+ void get_thread_context( struct thread *thread, context_t *context, unsigned int flags )
+ {
Similarly, for "wine":
+--- server/ptrace.c.orig 2017-03-27 12:10:10.319585978 -0500
++++ server/ptrace.c 2017-03-27 12:09:21.755352979 -0500
+@@ -645,6 +645,10 @@ void set_thread_context( struct thread *
+
+ #include <machine/reg.h>
+
++#ifndef DBREG_DRX
++#define DBREG_DRX(d,x) ((d)->dr[(x)])
++#endif
++
+ /* retrieve the thread x86 registers */
+ void get_thread_context( struct thread *thread, context_t *context, unsigned int flags )
+ {
eliminates the error in "ptrace.c", but the first (parser.yy.o) remains.
--
|/"\ John D. Baker, KN5UKS NetBSD Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com OpenBSD FreeBSD
| X No HTML/proprietary data in email. BSD just sits there and works!
|/ \ GPGkeyID: D703 4A7E 479F 63F8 D3F4 BD99 9572 8F23 E4AD 1645
Home |
Main Index |
Thread Index |
Old Index