pkgsrc-Changes archive

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

CVS commit: pkgsrc/chat/profanity



Module Name:    pkgsrc
Committed By:   nros
Date:           Wed Nov  8 16:37:46 UTC 2023

Modified Files:
        pkgsrc/chat/profanity: distinfo
Added Files:
        pkgsrc/chat/profanity/patches: patch-configure patch-src_config.h.in
            patch-src_ui_core.c

Log Message:
profanity: make sure TIOCGWINZ is declared on Illumos


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/chat/profanity/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/chat/profanity/patches/patch-configure \
    pkgsrc/chat/profanity/patches/patch-src_config.h.in \
    pkgsrc/chat/profanity/patches/patch-src_ui_core.c

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

Modified files:

Index: pkgsrc/chat/profanity/distinfo
diff -u pkgsrc/chat/profanity/distinfo:1.10 pkgsrc/chat/profanity/distinfo:1.11
--- pkgsrc/chat/profanity/distinfo:1.10 Thu Nov  2 13:50:47 2023
+++ pkgsrc/chat/profanity/distinfo      Wed Nov  8 16:37:46 2023
@@ -1,6 +1,9 @@
-$NetBSD: distinfo,v 1.10 2023/11/02 13:50:47 nros Exp $
+$NetBSD: distinfo,v 1.11 2023/11/08 16:37:46 nros Exp $
 
 BLAKE2s (profanity-0.14.0.tar.gz) = a22eb5183294fef1008611e50a9f1b54520d49ecc258374e4a83bb22bd2651ad
 SHA512 (profanity-0.14.0.tar.gz) = 25afd2f3146e6ed9f573f0e073cad0f06f7f8a21441c3c2c61641442d1aa5b9a7a817cdccc17354b32045ab9a965a95495a30c49088577a5060e8969725ea86e
 Size (profanity-0.14.0.tar.gz) = 936272 bytes
+SHA1 (patch-configure) = 90e14f5fa3945afd2b4edd9925ef13b1258780fd
+SHA1 (patch-src_config.h.in) = 455700982a35a7eb277908971f3978f27a77a308
 SHA1 (patch-src_config_preferences.c) = 17bf3adea60a4934a655e59a48551724506e158b
+SHA1 (patch-src_ui_core.c) = 31a530cb3d485162fd647374c2cfe57815f3019f

Added files:

Index: pkgsrc/chat/profanity/patches/patch-configure
diff -u /dev/null pkgsrc/chat/profanity/patches/patch-configure:1.1
--- /dev/null   Wed Nov  8 16:37:46 2023
+++ pkgsrc/chat/profanity/patches/patch-configure       Wed Nov  8 16:37:46 2023
@@ -0,0 +1,14 @@
+$NetBSD: patch-configure,v 1.1 2023/11/08 16:37:46 nros Exp $
+
+sys/termios.h is needed for TIOCGWINZ on Solaris/Illumos
+
+--- configure.orig     2023-11-08 17:14:40.000760568 +0000
++++ configure
+@@ -2575,6 +2575,7 @@ as_fn_append ac_header_c_list " inttypes
+ as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
+ as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
+ as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
++as_fn_append ac_header_c_list " sys/termios.h sys_termios_h HAVE_SYS_TERMIOS_H"
+ as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
+ as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
+ 
Index: pkgsrc/chat/profanity/patches/patch-src_config.h.in
diff -u /dev/null pkgsrc/chat/profanity/patches/patch-src_config.h.in:1.1
--- /dev/null   Wed Nov  8 16:37:46 2023
+++ pkgsrc/chat/profanity/patches/patch-src_config.h.in Wed Nov  8 16:37:46 2023
@@ -0,0 +1,12 @@
+$NetBSD: patch-src_config.h.in,v 1.1 2023/11/08 16:37:46 nros Exp $
+
+sys/termios.h is needed for TIOCGWINZ on Solaris/Illumos
+
+--- src/config.h.in.orig       2023-11-08 17:16:05.246521504 +0000
++++ src/config.h.in
+@@ -158,3 +158,5 @@
+ 
+ /* Define for large files, on AIX-style hosts. */
+ #undef _LARGE_FILES
++
++#undef HAVE_SYS_TERMIOS_H
Index: pkgsrc/chat/profanity/patches/patch-src_ui_core.c
diff -u /dev/null pkgsrc/chat/profanity/patches/patch-src_ui_core.c:1.1
--- /dev/null   Wed Nov  8 16:37:46 2023
+++ pkgsrc/chat/profanity/patches/patch-src_ui_core.c   Wed Nov  8 16:37:46 2023
@@ -0,0 +1,17 @@
+$NetBSD: patch-src_ui_core.c,v 1.1 2023/11/08 16:37:46 nros Exp $
+
+sys/termios.h is needed for TIOCGWINZ on Solaris/Illumos
+
+--- src/ui/core.c.orig 2023-11-08 17:16:57.233823491 +0000
++++ src/ui/core.c
+@@ -55,6 +55,10 @@
+ #include <curses.h>
+ #endif
+ 
++#ifdef HAVE_SYS_TERMIOS_H
++#include <sys/termios.h>
++#endif
++
+ #include "log.h"
+ #include "common.h"
+ #include "command/cmd_defs.h"



Home | Main Index | Thread Index | Old Index