diff options
-rw-r--r-- | emulators/gxemul/Makefile | 3 | ||||
-rw-r--r-- | emulators/gxemul/distinfo | 3 | ||||
-rw-r--r-- | emulators/gxemul/patches/patch-src_old__main_timer.cc | 15 |
3 files changed, 19 insertions, 2 deletions
diff --git a/emulators/gxemul/Makefile b/emulators/gxemul/Makefile index 287d07d2564..15030204115 100644 --- a/emulators/gxemul/Makefile +++ b/emulators/gxemul/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.62 2019/01/04 13:35:16 ryoon Exp $ +# $NetBSD: Makefile,v 1.63 2019/03/03 10:41:28 gson Exp $ DISTNAME= gxemul-0.6.1 +PKGREVISION= 1 CATEGORIES= emulators MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gxemul/} diff --git a/emulators/gxemul/distinfo b/emulators/gxemul/distinfo index 60353d606fb..a044a4c041d 100644 --- a/emulators/gxemul/distinfo +++ b/emulators/gxemul/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.55 2019/01/04 13:35:16 ryoon Exp $ +$NetBSD: distinfo,v 1.56 2019/03/03 10:41:28 gson Exp $ SHA1 (gxemul-0.6.1.tar.gz) = 150e495e91a968a49ffc7fe2390c3edff100508d RMD160 (gxemul-0.6.1.tar.gz) = 0434bff07970d8828531d222cc8b95c64c2d62f1 @@ -18,3 +18,4 @@ SHA1 (patch-src_include_components_MIPS__CPUComponent.h) = 48bc9ea9dacbe7afd9734 SHA1 (patch-src_include_mips_cpu_types.h) = 04fff50fad3e619e7e0eeb8bf17a79edd18b2147 SHA1 (patch-src_include_refcount__ptr.h) = 6c8742b199801c1db906d4856f6f5f01a0f25fe0 SHA1 (patch-src_machines_machine__pmax.cc) = ed3fba7eacb593cbba082a6d8d8ec823bf90162f +SHA1 (patch-src_old__main_timer.cc) = a6234d80f28611a5be18b917a4249b8530b433bc diff --git a/emulators/gxemul/patches/patch-src_old__main_timer.cc b/emulators/gxemul/patches/patch-src_old__main_timer.cc new file mode 100644 index 00000000000..b0b43e9b7fd --- /dev/null +++ b/emulators/gxemul/patches/patch-src_old__main_timer.cc @@ -0,0 +1,15 @@ +$NetBSD: patch-src_old__main_timer.cc,v 1.1 2019/03/03 10:41:28 gson Exp $ + +Set the SA_RESTART flag on SIGALRM so that it will not interrupt +writes to the console causing loss of console data. + +--- src/old_main/timer.cc.orig 2018-12-07 06:29:22.000000000 +0000 ++++ src/old_main/timer.cc +@@ -229,6 +229,7 @@ void timer_start(void) + + memset(&saction, 0, sizeof(saction)); + saction.sa_handler = timer_tick; ++ saction.sa_flags = SA_RESTART; + + sigaction(SIGALRM, &saction, NULL); + |