summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchristos <christos>2017-06-29 17:51:46 +0000
committerchristos <christos>2017-06-29 17:51:46 +0000
commit585ec6354cf32c3d152bb65bab34ad5a38a1432d (patch)
tree34e3f6a542428715bc1d81cbc32c0e5f84e5305d
parent50d000a43b629c5dac2739b7ef73f42b30ce1609 (diff)
downloadpkgsrc-585ec6354cf32c3d152bb65bab34ad5a38a1432d.tar.gz
fix root device for pmax.
-rw-r--r--emulators/gxemul/Makefile4
-rw-r--r--emulators/gxemul/distinfo3
-rw-r--r--emulators/gxemul/patches/patch-src_machines_machine__pmax.cc15
3 files changed, 19 insertions, 3 deletions
diff --git a/emulators/gxemul/Makefile b/emulators/gxemul/Makefile
index 2681d646d97..8f95092e40e 100644
--- a/emulators/gxemul/Makefile
+++ b/emulators/gxemul/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.56 2017/05/15 01:45:49 christos Exp $
+# $NetBSD: Makefile,v 1.57 2017/06/29 17:51:46 christos Exp $
DISTNAME= gxemul-0.6.0.1
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= emulators
MASTER_SITES= http://gxemul.sourceforge.net/src/
diff --git a/emulators/gxemul/distinfo b/emulators/gxemul/distinfo
index bfc5af1f827..61d7f51e738 100644
--- a/emulators/gxemul/distinfo
+++ b/emulators/gxemul/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.46 2017/05/15 01:45:49 christos Exp $
+$NetBSD: distinfo,v 1.47 2017/06/29 17:51:46 christos Exp $
SHA1 (gxemul-0.6.0.1.tar.gz) = 8a9b7a6c08628c2a59a6e7e9c7c449c3826b4744
RMD160 (gxemul-0.6.0.1.tar.gz) = 6943173d4149bfe40218715b8ed2c82b5b361e50
@@ -18,3 +18,4 @@ SHA1 (patch-src_include_components_CPUDyntransComponent.h) = 4fa3c327c4ce5ee9e39
SHA1 (patch-src_include_components_M88K__CPUComponent.h) = afd07ae4df33d0c0a9d3d8c15dca4ef9ee7dd916
SHA1 (patch-src_include_components_MIPS__CPUComponent.h) = 4e49da9af0d220a1ea7c4520d8e7e53d8d84c155
SHA1 (patch-src_include_refcount__ptr.h) = 8021524ff16d3a9de65bb6188fb8c07296c5c3b7
+SHA1 (patch-src_machines_machine__pmax.cc) = 19b97031837f9fa911b02d624f824834ce8c0e89
diff --git a/emulators/gxemul/patches/patch-src_machines_machine__pmax.cc b/emulators/gxemul/patches/patch-src_machines_machine__pmax.cc
new file mode 100644
index 00000000000..786d7639901
--- /dev/null
+++ b/emulators/gxemul/patches/patch-src_machines_machine__pmax.cc
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_machines_machine__pmax.cc,v 1.1 2017/06/29 17:51:46 christos Exp $
+
+sd0 -> rz0 so we can find our boot device.
+
+--- src/machines/machine_pmax.cc.orig 2017-06-29 13:46:24.964078725 -0400
++++ src/machines/machine_pmax.cc 2017-06-29 13:46:39.643612752 -0400
+@@ -789,7 +789,7 @@
+ strlcpy(bootpath, "rz(0,0,0)", sizeof(bootpath));
+ else
+ #endif
+- strlcpy(bootpath, "5/rz1/", sizeof(bootpath));
++ strlcpy(bootpath, "5/rz0/", sizeof(bootpath));
+
+ if (machine->bootdev_id < 0 || machine->force_netboot) {
+ /* tftp boot: */