pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/shells/etsh shells/etsh: fix building on Linux.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a8653c4f2817
branches:  trunk
changeset: 390436:a8653c4f2817
user:      vins <vins%pkgsrc.org@localhost>
date:      Mon Dec 19 11:13:55 2022 +0000

description:
shells/etsh: fix building on Linux.

diffstat:

 shells/etsh/distinfo             |   3 ++-
 shells/etsh/patches/patch-etsh.c |  18 ++++++++++++++++++
 2 files changed, 20 insertions(+), 1 deletions(-)

diffs (34 lines):

diff -r 6a0b2b12f344 -r a8653c4f2817 shells/etsh/distinfo
--- a/shells/etsh/distinfo      Mon Dec 19 10:57:23 2022 +0000
+++ b/shells/etsh/distinfo      Mon Dec 19 11:13:55 2022 +0000
@@ -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
diff -r 6a0b2b12f344 -r a8653c4f2817 shells/etsh/patches/patch-etsh.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/shells/etsh/patches/patch-etsh.c  Mon Dec 19 11:13:55 2022 +0000
@@ -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