pkgsrc-Changes archive

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

CVS commit: pkgsrc/shells/etsh



Module Name:    pkgsrc
Committed By:   vins
Date:           Mon Dec 19 11:13:56 UTC 2022

Modified Files:
        pkgsrc/shells/etsh: distinfo
Added Files:
        pkgsrc/shells/etsh/patches: patch-etsh.c

Log Message:
shells/etsh: fix building on Linux.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/shells/etsh/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/shells/etsh/patches/patch-etsh.c

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

Modified files:

Index: pkgsrc/shells/etsh/distinfo
diff -u pkgsrc/shells/etsh/distinfo:1.2 pkgsrc/shells/etsh/distinfo:1.3
--- pkgsrc/shells/etsh/distinfo:1.2     Mon Dec 19 09:54:07 2022
+++ pkgsrc/shells/etsh/distinfo Mon Dec 19 11:13:55 2022
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2022/12/19 09:54:07 vins Exp $
+$NetBSD: distinfo,v 1.3 2022/12/19 11:13:55 vins Exp $
 
 BLAKE2s (etsh-5.4.0.tar.xz) = 7aeb84e45ec79f2850c93fcd87078959a887f26d6e94f36716106e73db384f70
 SHA512 (etsh-5.4.0.tar.xz) = 7360da1e9bc6a7ed8c38e95eb1e2159bd2803ffa1a032235380d5901a1a6e0399d418b532917e8578bdab53fb43f99d35affc7753da0ec5612bbb8d47715970a
 Size (etsh-5.4.0.tar.xz) = 92388 bytes
+SHA1 (patch-etsh.c) = fcce7aafb58450108acc9805a0efa58fb2a452e0
 SHA1 (patch-mkconfig) = 63321044510964c52aee4f2c1afb2fab4d2d7499

Added files:

Index: pkgsrc/shells/etsh/patches/patch-etsh.c
diff -u /dev/null pkgsrc/shells/etsh/patches/patch-etsh.c:1.1
--- /dev/null   Mon Dec 19 11:13:56 2022
+++ pkgsrc/shells/etsh/patches/patch-etsh.c     Mon Dec 19 11:13:56 2022
@@ -0,0 +1,18 @@
+$NetBSD: patch-etsh.c,v 1.1 2022/12/19 11:13:56 vins Exp $
+
+Define NSIG on Linux.
+
+--- etsh.c.orig        2019-03-17 18:01:40.000000000 +0000
++++ etsh.c
+@@ -150,10 +150,9 @@
+ #define       FD_ISREG        S_IFREG /* Does FD refer to a  regular file?          */
+ 
+ /*
+- * Needed by OpenIndiana
+  * (NSIG - 1) is the maximum signal number value accepted by `trap'.
+  */
+-#ifdef        CONFIG_SUNOS
++#if defined(CONFIG_SUNOS) || defined(CONFIG_LINUX)
+ #ifndef       NSIG
+ #define       NSIG    33
+ #endif



Home | Main Index | Thread Index | Old Index