aboutsummaryrefslogtreecommitdiff
path: root/emulators/cpmemu
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-12-12 04:23:10 +0000
committerPatrick Li <pat@FreeBSD.org>2002-12-12 04:23:10 +0000
commitc0d543be033f0d4a61a5d2c7d0cfb3aeeda7a7d9 (patch)
tree413f6297afc707ceda71b5667c2aa4a8d4849017 /emulators/cpmemu
parent89b95a574fa2cad7a8d792ba8048ff60ff5324a3 (diff)
downloadports-c0d543be033f0d4a61a5d2c7d0cfb3aeeda7a7d9.tar.gz
ports-c0d543be033f0d4a61a5d2c7d0cfb3aeeda7a7d9.zip
Fix build on -current
Notes
Notes: svn path=/head/; revision=71546
Diffstat (limited to 'emulators/cpmemu')
-rw-r--r--emulators/cpmemu/files/patch-ae13
1 files changed, 9 insertions, 4 deletions
diff --git a/emulators/cpmemu/files/patch-ae b/emulators/cpmemu/files/patch-ae
index 9cd4c47a22d5..01cb47a00c27 100644
--- a/emulators/cpmemu/files/patch-ae
+++ b/emulators/cpmemu/files/patch-ae
@@ -1,13 +1,18 @@
---- low.c.orig Mon Nov 15 06:33:54 1999
-+++ low.c Mon Nov 15 06:41:26 1999
-@@ -21,7 +21,6 @@
+--- low.c.orig Wed Dec 11 22:44:43 2002
++++ low.c Wed Dec 11 22:44:56 2002
+@@ -18,11 +18,10 @@
+ * space-invaders-type game working, I think it was. :-) -rjm
+ */
+
++#include <sys/types.h>
#include "cpmemu.h"
#include <ctype.h>
#include <unistd.h>
-#include <sys/perm.h> /* needed for ioperm() -rjm */
- #include <sys/types.h>
+-#include <sys/types.h>
#include <sys/time.h>
#include <signal.h>
+ #include <sys/mman.h>
@@ -88,10 +87,8 @@
/* get access to sound port */