pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/emulators/gxemul



Module Name:    pkgsrc
Committed By:   christos
Date:           Thu Apr 11 12:50:30 UTC 2019

Modified Files:
        pkgsrc/emulators/gxemul: Makefile distinfo
Added Files:
        pkgsrc/emulators/gxemul/patches: patch-src_disk_diskimage__scsicmd.cc

Log Message:
PR/54114: Ignore unimplemented scsi commands.


To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 pkgsrc/emulators/gxemul/Makefile
cvs rdiff -u -r1.56 -r1.57 pkgsrc/emulators/gxemul/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/emulators/gxemul/patches/patch-src_disk_diskimage__scsicmd.cc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/emulators/gxemul/Makefile
diff -u pkgsrc/emulators/gxemul/Makefile:1.63 pkgsrc/emulators/gxemul/Makefile:1.64
--- pkgsrc/emulators/gxemul/Makefile:1.63       Sun Mar  3 05:41:28 2019
+++ pkgsrc/emulators/gxemul/Makefile    Thu Apr 11 08:50:30 2019
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.63 2019/03/03 10:41:28 gson Exp $
+# $NetBSD: Makefile,v 1.64 2019/04/11 12:50:30 christos Exp $
 
 DISTNAME=      gxemul-0.6.1
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    emulators
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=gxemul/}
 

Index: pkgsrc/emulators/gxemul/distinfo
diff -u pkgsrc/emulators/gxemul/distinfo:1.56 pkgsrc/emulators/gxemul/distinfo:1.57
--- pkgsrc/emulators/gxemul/distinfo:1.56       Sun Mar  3 05:41:28 2019
+++ pkgsrc/emulators/gxemul/distinfo    Thu Apr 11 08:50:30 2019
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.56 2019/03/03 10:41:28 gson Exp $
+$NetBSD: distinfo,v 1.57 2019/04/11 12:50:30 christos Exp $
 
 SHA1 (gxemul-0.6.1.tar.gz) = 150e495e91a968a49ffc7fe2390c3edff100508d
 RMD160 (gxemul-0.6.1.tar.gz) = 0434bff07970d8828531d222cc8b95c64c2d62f1
@@ -12,6 +12,7 @@ SHA1 (patch-src_console_console.cc) = 0b
 SHA1 (patch-src_cpus_cpu_mips.cc) = ad6d9c8b452b1b8422d9194cadfa1c8c3d29ef21
 SHA1 (patch-src_devices_dev__footbridge.cc) = 2dc76e65fff7e6c846d9d06b74bed76075b0c79a
 SHA1 (patch-src_devices_dev__sh4.cc) = 81e3dcc01934c71389a91861343bc8aa32284160
+SHA1 (patch-src_disk_diskimage__scsicmd.cc) = fc0d9cff9afb057051c4f2cb65c898a31a1463bd
 SHA1 (patch-src_include_components_CPUDyntransComponent.h) = f60d31261a03a0a73fa4844143da4931cae85ce6
 SHA1 (patch-src_include_components_M88K__CPUComponent.h) = 5232386ac337c552d88cbdb829b6f0f3e94ba0f2
 SHA1 (patch-src_include_components_MIPS__CPUComponent.h) = 48bc9ea9dacbe7afd9734ee04e270943208db148

Added files:

Index: pkgsrc/emulators/gxemul/patches/patch-src_disk_diskimage__scsicmd.cc
diff -u /dev/null pkgsrc/emulators/gxemul/patches/patch-src_disk_diskimage__scsicmd.cc:1.1
--- /dev/null   Thu Apr 11 08:50:30 2019
+++ pkgsrc/emulators/gxemul/patches/patch-src_disk_diskimage__scsicmd.cc        Thu Apr 11 08:50:30 2019
@@ -0,0 +1,18 @@
+$NetBSD: patch-src_disk_diskimage__scsicmd.cc,v 1.1 2019/04/11 12:50:30 christos Exp $
+
+Ignore unimplemented disk commands instead of exiting.
+
+--- src/disk/diskimage_scsicmd.cc.orig 2018-12-07 01:29:22.000000000 -0500
++++ src/disk/diskimage_scsicmd.cc      2019-04-11 08:13:01.813050193 -0400
+@@ -1145,9 +1145,9 @@
+               break;
+ 
+       default:
+-              fatal("[ UNIMPLEMENTED SCSI command 0x%02x, disk id=%i ]\n",
++              debug("[ UNIMPLEMENTED SCSI command 0x%02x, disk id=%i ]\n",
+                   xferp->cmd[0], id);
+-              exit(1);
++              break;
+       }
+       debug(" ]\n");
+ 



Home | Main Index | Thread Index | Old Index