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:   gson
Date:           Sun Mar  3 10:41:28 UTC 2019

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

Log Message:
emulators/gxemul: Fix console data loss

Set the SA_RESTART flag on SIGALRM so that it will not interrupt
writes to the console causing loss of console data.  Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.62 -r1.63 pkgsrc/emulators/gxemul/Makefile
cvs rdiff -u -r1.55 -r1.56 pkgsrc/emulators/gxemul/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/emulators/gxemul/patches/patch-src_old__main_timer.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.62 pkgsrc/emulators/gxemul/Makefile:1.63
--- pkgsrc/emulators/gxemul/Makefile:1.62       Fri Jan  4 13:35:16 2019
+++ pkgsrc/emulators/gxemul/Makefile    Sun Mar  3 10:41:28 2019
@@ -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/}
 

Index: pkgsrc/emulators/gxemul/distinfo
diff -u pkgsrc/emulators/gxemul/distinfo:1.55 pkgsrc/emulators/gxemul/distinfo:1.56
--- pkgsrc/emulators/gxemul/distinfo:1.55       Fri Jan  4 13:35:16 2019
+++ pkgsrc/emulators/gxemul/distinfo    Sun Mar  3 10:41:28 2019
@@ -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_
 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

Added files:

Index: pkgsrc/emulators/gxemul/patches/patch-src_old__main_timer.cc
diff -u /dev/null pkgsrc/emulators/gxemul/patches/patch-src_old__main_timer.cc:1.1
--- /dev/null   Sun Mar  3 10:41:28 2019
+++ pkgsrc/emulators/gxemul/patches/patch-src_old__main_timer.cc        Sun Mar  3 10:41:28 2019
@@ -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);
+ 



Home | Main Index | Thread Index | Old Index