pkgsrc/audio/cs4235/patches/patch-ae
dholland a18f1fefa1 Fix broken build on -current. While here, make it build on amd64 too.
(Patches have been sent upstream.)
PKGREVISION++.
2008-08-02 16:46:56 +00:00

13 lines
351 B
Text

$NetBSD: patch-ae,v 1.1 2008/08/02 16:46:56 dholland Exp $
diff -urpN /dev/null pio.h
--- /dev/null 1969-12-31 19:00:00.000000000 -0500
+++ pio.h 2008-08-02 12:22:17.000000000 -0400
@@ -0,0 +1,7 @@
+#include <sys/param.h>
+
+#if __NetBSD_Version__ < 499003100 /* NetBSD 4.99.31 */
+#include <machine/pio.h>
+#else
+#include "x86_pio.h"
+#endif