openbsd-ports/x11/mplayer/patches/patch-libdha_sysdep_pci_openbsd_c

18 lines
472 B
Plaintext

$OpenBSD: patch-libdha_sysdep_pci_openbsd_c,v 1.3 2002/05/15 22:27:01 pvalchev Exp $
--- libdha/sysdep/pci_openbsd.c.orig Sun May 12 04:18:50 2002
+++ libdha/sysdep/pci_openbsd.c Wed May 15 00:30:20 2002
@@ -4,6 +4,8 @@
Modified for readability by Nick Kurshev
*/
+#ifdef __i386__
+
#include <errno.h>
#include <sys/types.h>
#include <machine/sysarch.h>
@@ -22,3 +24,4 @@ static __inline__ int disable_os_io(void
/* Nothing to do */
return(0);
}
+#endif