summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emulators/p11/Makefile10
-rw-r--r--emulators/p11/distinfo11
-rw-r--r--emulators/p11/patches/patch-aa13
-rw-r--r--emulators/p11/patches/patch-ab13
-rw-r--r--emulators/p11/patches/patch-ac17
5 files changed, 55 insertions, 9 deletions
diff --git a/emulators/p11/Makefile b/emulators/p11/Makefile
index 25b5c844c2c..2092c731e9e 100644
--- a/emulators/p11/Makefile
+++ b/emulators/p11/Makefile
@@ -1,12 +1,12 @@
-# $NetBSD: Makefile,v 1.15 2006/06/24 09:11:42 joerg Exp $
+# $NetBSD: Makefile,v 1.16 2007/01/27 12:02:16 wiz Exp $
#
-DISTNAME= p11-2.10a
-PKGREVISION= 2
+DISTNAME= p11-2.10i
CATEGORIES= emulators
-MASTER_SITES= ftp://ftp.fokus.gmd.de/pub/cats/usr/harti/p11/
+MASTER_SITES= http://people.freebsd.org/~harti/p11/
+EXTRACT_SUFX= .tar.bz2
-MAINTAINER= pkgsrc-users@NetBSD.org
+MAINTAINER= packages@grumpf.hope-2000.org
COMMENT= PDP11 emulator
GNU_CONFIGURE= yes
diff --git a/emulators/p11/distinfo b/emulators/p11/distinfo
index caffadb7e98..7ff31f62853 100644
--- a/emulators/p11/distinfo
+++ b/emulators/p11/distinfo
@@ -1,5 +1,8 @@
-$NetBSD: distinfo,v 1.2 2005/02/23 18:49:19 agc Exp $
+$NetBSD: distinfo,v 1.3 2007/01/27 12:02:16 wiz Exp $
-SHA1 (p11-2.10a.tar.gz) = 2d3b7860d9df1136c192d94220693dcc1a4e461b
-RMD160 (p11-2.10a.tar.gz) = df09fcf60d300c67e175d917f550d25f2a8efdfc
-Size (p11-2.10a.tar.gz) = 303572 bytes
+SHA1 (p11-2.10i.tar.bz2) = 7e485e4736f70ae907c22d37d57cfb5e1ae95b51
+RMD160 (p11-2.10i.tar.bz2) = c5038d908fabf37fe122c6616a13551b2a8265df
+Size (p11-2.10i.tar.bz2) = 372597 bytes
+SHA1 (patch-aa) = 6b71f678ec2e8ae3acbcbdbe61af0c4e77684c5f
+SHA1 (patch-ab) = 0c6956dbb47927ac15572ae66509384993a08278
+SHA1 (patch-ac) = 77a747358e0524f07ad86a388737d5c98390dd26
diff --git a/emulators/p11/patches/patch-aa b/emulators/p11/patches/patch-aa
new file mode 100644
index 00000000000..1c2a9eaa311
--- /dev/null
+++ b/emulators/p11/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1 2007/01/27 12:02:16 wiz Exp $
+
+--- instruct.c.orig 2000-12-04 18:03:41.000000000 +0100
++++ instruct.c 2006-04-18 02:21:40.000000000 +0200
+@@ -107,7 +107,7 @@
+ }
+ void NEGB(void) {
+ dst = -dst;
+- TestW(dst);
++ TestB(dst);
+ proc.c = (dst != 0);
+ proc.v = (dst == 0200);
+ }
diff --git a/emulators/p11/patches/patch-ab b/emulators/p11/patches/patch-ab
new file mode 100644
index 00000000000..982bc488f7a
--- /dev/null
+++ b/emulators/p11/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2007/01/27 12:02:16 wiz Exp $
+
+--- proc.h.orig 2001-03-15 15:36:15.000000000 +0100
++++ proc.h 2006-04-23 14:10:40.000000000 +0200
+@@ -36,7 +36,7 @@
+ /*
+ * tunable parameters
+ */
+-# define PHYSMEM (2*1024*1024)
++# define PHYSMEM (4*1024*1024)
+ # define FD_DEVICES 64
+ # define P11CONF "p11conf"
+ # define MAXTIMEOUT 13
diff --git a/emulators/p11/patches/patch-ac b/emulators/p11/patches/patch-ac
new file mode 100644
index 00000000000..2b6abe5932b
--- /dev/null
+++ b/emulators/p11/patches/patch-ac
@@ -0,0 +1,17 @@
+$NetBSD: patch-ac,v 1.1 2007/01/27 12:02:16 wiz Exp $
+
+--- float.h.orig 2000-12-04 18:03:41.000000000 +0100
++++ float.h 2006-10-15 20:55:37.000000000 +0200
+@@ -13,8 +13,11 @@
+ * be interrupted (block all signals each time isn't a good idea, I think)
+ *
+ */
++
++const short initfpmem = 0xf37;
++
+ # define InitFp() /* sigprocmask(block all signals) */ \
+- asm("fldcw %0" :: "m"(0xF37));
++ asm("fldcw %0" :: "m" (initfpmem));
+ # define EndFp() /* sigprocmask(enable all signals) */
+
+ /*