pkgsrc-Changes archive

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

CVS commit: pkgsrc/emulators/ski



Module Name:    pkgsrc
Committed By:   scole
Date:           Sun Nov 17 23:05:20 UTC 2019

Modified Files:
        pkgsrc/emulators/ski: DESCR Makefile distinfo
        pkgsrc/emulators/ski/patches: patch-an
Added Files:
        pkgsrc/emulators/ski/patches: patch-src_freebsd_ssc.c

Log Message:
Fix crash on amd64 and probably other 64 bit archs, bump PKGREVISION


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/emulators/ski/DESCR
cvs rdiff -u -r1.31 -r1.32 pkgsrc/emulators/ski/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/emulators/ski/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/emulators/ski/patches/patch-an
cvs rdiff -u -r0 -r1.1 pkgsrc/emulators/ski/patches/patch-src_freebsd_ssc.c

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

Modified files:

Index: pkgsrc/emulators/ski/DESCR
diff -u pkgsrc/emulators/ski/DESCR:1.7 pkgsrc/emulators/ski/DESCR:1.8
--- pkgsrc/emulators/ski/DESCR:1.7      Sun Aug 14 18:27:05 2016
+++ pkgsrc/emulators/ski/DESCR  Sun Nov 17 23:05:19 2019
@@ -1,6 +1,6 @@
 The Hewlett-Packard IA-64 instruction set simulator
 
-To get the ski to run on NetBSD/i386, you need the following:
+To get the ski to run on NetBSD, you need the following:
 
 procfs support in the kernel:
        http://www.netbsd.org/docs/guide/en/chap-linux.html#chap-linux-emulating-procfs

Index: pkgsrc/emulators/ski/Makefile
diff -u pkgsrc/emulators/ski/Makefile:1.31 pkgsrc/emulators/ski/Makefile:1.32
--- pkgsrc/emulators/ski/Makefile:1.31  Sun Nov  3 19:24:34 2019
+++ pkgsrc/emulators/ski/Makefile       Sun Nov 17 23:05:19 2019
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.31 2019/11/03 19:24:34 rillig Exp $
+# $NetBSD: Makefile,v 1.32 2019/11/17 23:05:19 scole Exp $
 #
 
 DISTNAME=      ski-1.3.2
-PKGREVISION=   14
+PKGREVISION=   15
 CATEGORIES=    emulators
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=ski/}
 

Index: pkgsrc/emulators/ski/distinfo
diff -u pkgsrc/emulators/ski/distinfo:1.6 pkgsrc/emulators/ski/distinfo:1.7
--- pkgsrc/emulators/ski/distinfo:1.6   Sun Aug 14 18:27:05 2016
+++ pkgsrc/emulators/ski/distinfo       Sun Nov 17 23:05:19 2019
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.6 2016/08/14 18:27:05 scole Exp $
+$NetBSD: distinfo,v 1.7 2019/11/17 23:05:19 scole Exp $
 
 SHA1 (ski-1.3.2.tar.gz) = fc067041a70cf45cad6af42da7ffe5bf100d7c65
 RMD160 (ski-1.3.2.tar.gz) = 1ff739eac7b8163026d208ee9b51d134f524e73f
@@ -18,12 +18,13 @@ SHA1 (patch-aj) = c2ac0b850381d2fee3b3f7
 SHA1 (patch-ak) = 0abaa09fb172ebbc8715908f5c6f49936b22aefa
 SHA1 (patch-al) = 1911d6c8e051ab2b64055cf1c64856188268619e
 SHA1 (patch-am) = 0965936933424ab4af4d1fa3384808f4e92f9b04
-SHA1 (patch-an) = 72f18e509d371e4724a35b4be195a21dbcdac859
+SHA1 (patch-an) = 806e93b03b5c5af8570af968706f73609484b578
 SHA1 (patch-ao) = 8f2eabd4d8dc6ccef593a5f50d00485a905ee523
 SHA1 (patch-ap) = a98cd0aa55a002020c26fb70e5549bd16270bf39
 SHA1 (patch-src-line_separator.h) = 2c9b0c2fdace6bc59735cbeb9588aea21b19b1db
 SHA1 (patch-src_eparse.y) = c82918d36047e51273cc1aa0e20a4ce1649668f5
 SHA1 (patch-src_freebsd_signal.h) = 265bd4e3f18dcfda791595b1356b37398c055349
+SHA1 (patch-src_freebsd_ssc.c) = f18af96206f0dc6e065b461634f9e26067ef2855
 SHA1 (patch-src_program.c) = d364a8a0ababfbc48333d5e48962f53677bcfeb9
 SHA1 (patch-src_ssDCmd.c) = 9062b2107f72171644e27d83ec45260aa40019fe
 SHA1 (patch-src_ssX.c) = 01c24b8d6b62b51798ae4a33e69cfb323a66f8d5

Index: pkgsrc/emulators/ski/patches/patch-an
diff -u pkgsrc/emulators/ski/patches/patch-an:1.2 pkgsrc/emulators/ski/patches/patch-an:1.3
--- pkgsrc/emulators/ski/patches/patch-an:1.2   Sun Aug 14 18:27:05 2016
+++ pkgsrc/emulators/ski/patches/patch-an       Sun Nov 17 23:05:19 2019
@@ -1,4 +1,4 @@
-$NetBSD: patch-an,v 1.2 2016/08/14 18:27:05 scole Exp $
+$NetBSD: patch-an,v 1.3 2019/11/17 23:05:19 scole Exp $
 
 --- src/netbsd/ssc-netbsd.c.orig       2010-11-04 05:01:51.000000000 +0000
 +++ src/netbsd/ssc-netbsd.c    2016-05-06 14:44:42.000000000 -0400
@@ -133,7 +133,7 @@ $NetBSD: patch-an,v 1.2 2016/08/14 18:27
 +
 +              sprintf(tty, "-S%s/%d", name, slave); 
 +              execlp("xterm", "xterm", tty, "-geo", "80x24", "-name",
-+                  "xski console", 0);
++                  "xski console", (char *)NULL);
 +              perror("execlp(\"xterm\", ...) failed.");
 +              abort();
 +

Added files:

Index: pkgsrc/emulators/ski/patches/patch-src_freebsd_ssc.c
diff -u /dev/null pkgsrc/emulators/ski/patches/patch-src_freebsd_ssc.c:1.1
--- /dev/null   Sun Nov 17 23:05:20 2019
+++ pkgsrc/emulators/ski/patches/patch-src_freebsd_ssc.c        Sun Nov 17 23:05:20 2019
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_freebsd_ssc.c,v 1.1 2019/11/17 23:05:20 scole Exp $
+
+Cast argument to execlp() appropriately
+
+--- src/freebsd/ssc.c.orig     2008-02-04 20:11:38.000000000 -0800
++++ src/freebsd/ssc.c  2019-11-11 08:49:35.285330731 -0800
+@@ -128,7 +128,7 @@
+               tty = name + namelen + 1;
+               sprintf(tty, "-S%s%d", name + namelen - 2, master);
+               execlp("xterm", "xterm", tty, "-geo", "80x24", "-name",
+-                  "xski console", 0);
++                  "xski console", (char *)NULL);
+               abort();
+       default: /* parent */
+               close(master);



Home | Main Index | Thread Index | Old Index