[packages/x86emu] - ix86 fixes related to sys/io.h

baggins baggins at pld-linux.org
Wed Aug 12 15:06:41 CEST 2026


commit 1f556596f903091d9f8da5d9a4851f89dc6df851
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Wed Aug 12 15:06:08 2026 +0200

    - ix86 fixes related to sys/io.h

 io.patch | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
---
diff --git a/io.patch b/io.patch
index 00e6de6..5dd5b21 100644
--- a/io.patch
+++ b/io.patch
@@ -98,3 +98,26 @@ diff -ur x86emu-0.8/scitech/src/v86bios/v86bios.c x86emu-0.8-io/scitech/src/v86b
  #include "AsmMacros.h"
  
  #include "pci.h"
+--- x86emu-0.8/scitech/src/v86bios/x86emu.c~	2026-08-12 14:53:35.000000000 +0200
++++ x86emu-0.8/scitech/src/v86bios/x86emu.c	2026-08-12 14:54:43.128058067 +0200
+@@ -33,9 +33,7 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <stdarg.h>
+-#ifdef __alpha__
+ #include <sys/io.h>
+-#endif
+ #include <signal.h>
+ #include <setjmp.h>
+ #include "AsmMacros.h"
+@@ -64,8 +64,8 @@
+     P.outw = p_outw;
+ #endif
+ #if defined (__i386__) && ! defined(NEED_PCI_IO)
+-    P.inl = (u32(*)(u16))inl;
+-    P.outl = (void(*)(u16,u32))outl;
++    P.inl = (CARD32 (*)(CARD16))inl;
++    P.outl = (void (*)(CARD16,  CARD32))outl;
+ #else
+     P.inl = p_inl;
+     P.outl = p_outl;
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/x86emu.git/commitdiff/1f556596f903091d9f8da5d9a4851f89dc6df851



More information about the pld-cvs-commit mailing list