pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/tmux tmux: Handle the FNM_CASEFOLD extension wher...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/44b770b641cf
branches:  trunk
changeset: 410484:44b770b641cf
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Thu Jan 23 10:09:35 2020 +0000

description:
tmux: Handle the FNM_CASEFOLD extension where unsupported.

diffstat:

 misc/tmux/distinfo               |   3 ++-
 misc/tmux/patches/patch-compat.h |  21 +++++++++++++++++++++
 2 files changed, 23 insertions(+), 1 deletions(-)

diffs (37 lines):

diff -r 7d1c5e329118 -r 44b770b641cf misc/tmux/distinfo
--- a/misc/tmux/distinfo        Thu Jan 23 10:06:22 2020 +0000
+++ b/misc/tmux/distinfo        Thu Jan 23 10:09:35 2020 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.43 2020/01/01 15:06:07 leot Exp $
+$NetBSD: distinfo,v 1.44 2020/01/23 10:09:35 jperkin Exp $
 
 SHA1 (tmux-3.0a.tar.gz) = 0cc951b9ff545b429c101eb562e0be9c5aba5ed4
 RMD160 (tmux-3.0a.tar.gz) = 2b781a3632c11098184f787774742b5e5af761ce
 SHA512 (tmux-3.0a.tar.gz) = f326ee9c0e5e9a46ce9c99c76407b8cf35feea5f898c3c937fd8c5e488ff9a809272de19226d9d10f864e11051dcf633327820b7f8d86d85962da61174bbfb0b
 Size (tmux-3.0a.tar.gz) = 546377 bytes
+SHA1 (patch-compat.h) = 3d78363377e0a518d9fad5c92eccb6209ec13e6c
diff -r 7d1c5e329118 -r 44b770b641cf misc/tmux/patches/patch-compat.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/tmux/patches/patch-compat.h  Thu Jan 23 10:09:35 2020 +0000
@@ -0,0 +1,21 @@
+$NetBSD: patch-compat.h,v 1.1 2020/01/23 10:09:35 jperkin Exp $
+
+Handle the FNM_CASEFOLD extension.  tmux/tmux#2020.
+
+--- compat.h.orig      2019-06-26 11:26:30.000000000 +0000
++++ compat.h
+@@ -154,6 +154,14 @@ void      warnx(const char *, ...);
+ #define O_DIRECTORY 0
+ #endif
+ 
++#ifndef FNM_CASEFOLD
++#ifdef FNM_IGNORECASE
++#define FNM_CASEFOLD FNM_IGNORECASE
++#else
++#define FNM_CASEFOLD 0
++#endif
++#endif
++
+ #ifndef INFTIM
+ #define INFTIM -1
+ #endif



Home | Main Index | Thread Index | Old Index