summaryrefslogtreecommitdiff
path: root/emulators/p11/patches
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2007-01-27 12:02:16 +0000
committerwiz <wiz@pkgsrc.org>2007-01-27 12:02:16 +0000
commit403a021f1c7ffc171019678245890f6e4c555832 (patch)
treed42479b63848cbf09cab96ae1a0412176646ae5a /emulators/p11/patches
parentd1e3e30157be4a6ada7b5a0c5e161580e3e9c04f (diff)
downloadpkgsrc-403a021f1c7ffc171019678245890f6e4c555832.tar.gz
Update to 2.10i, provided by Hans Rosenfeld on pkgsrc-users.
Included are three new patches to make it compile with gcc4, to fix a bug in an emulated instruction and to increase the memory size of the emulated system. 2006-10-27 Hartmut Brandt <harti@freebsd.org> * version 2.10i * Remove rl debugging prints * Fix a problem with IE in the TM CSR (submitted by Mike Haertel) * get rid of float_t - all *_t identifiers are reserved by posix! 2002-09-03 Hartmut Brandt <brandt@fokus.gmd.de> * rename libdir to libpath * libdir is now a colon separated path of directories that defaults to :/etc:${datadir}/p11 * implement an accessp() predicate to apply access(2) in a list of directories * further tweaks to the rpm spec file 2002-09-02 Hartmut Brandt <brandt@fokus.gmd.de> * p11.spec, p11.sh and some tweaks to build rpms. 2002-08-14 Hartmut Brandt <brandt@fokus.gmd.de> * main.c: implement daemonizing by specifying the -d option. * spot a gcc-3.1 error: Use of global registers generates bad code on the i386 for the MTPI instruction. Use --disable-regs for these platforms. 2002-03-07 Hartmut Brandt <brandt@fokus.gmd.de> * float.h (FrExp): the result of this macro should be signed, so make the exponent signed before subtracting the offset. Spotted by: Frank Wortner * proc.h: include <time.h> to get localtime declaration. Spotted by: imil@home.imil.net. * README: Add MacOS-X 10.1. Reported by: Christian Groessler. 2001-06-19 Hartmut Brandt <brandt@fokus.gmd.de> * float.h (GetMant): Replace a u_quad_t by u_xquad_t. * README: Add Slackware 7.1 Reformat paragraph.
Diffstat (limited to 'emulators/p11/patches')
-rw-r--r--emulators/p11/patches/patch-aa13
-rw-r--r--emulators/p11/patches/patch-ab13
-rw-r--r--emulators/p11/patches/patch-ac17
3 files changed, 43 insertions, 0 deletions
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) */
+
+ /*