Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/ncurses [devel/ncurses] Work around #error due t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4fcd3306beba
branches:  trunk
changeset: 437999:4fcd3306beba
user:      js <js%pkgsrc.org@localhost>
date:      Fri Sep 04 10:33:14 2020 +0000

description:
[devel/ncurses] Work around #error due to include order on QNX

Still doesn't link, yet.

diffstat:

 devel/ncurses/distinfo                                 |   4 +++-
 devel/ncurses/patches/patch-ncurses_base_lib_initscr.c |  13 +++++++++++++
 devel/ncurses/patches/patch-ncurses_tinfo_lib_raw.c    |   9 +++++++++
 3 files changed, 25 insertions(+), 1 deletions(-)

diffs (45 lines):

diff -r 5ecffbc096ee -r 4fcd3306beba devel/ncurses/distinfo
--- a/devel/ncurses/distinfo    Fri Sep 04 10:22:46 2020 +0000
+++ b/devel/ncurses/distinfo    Fri Sep 04 10:33:14 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.44 2020/03/30 08:53:42 jperkin Exp $
+$NetBSD: distinfo,v 1.45 2020/09/04 10:33:14 js Exp $
 
 SHA1 (ncurses-6.2.tar.gz) = 56e410fb77f2b5501a0b2f6a995376f3cefe1097
 RMD160 (ncurses-6.2.tar.gz) = bedfe81f33b3e55e44d14126c9c2821d7f222701
@@ -8,3 +8,5 @@
 SHA1 (patch-configure) = c0074d959a9981b3811519328f42a0c18a51c5a4
 SHA1 (patch-misc_terminfo.src) = d9eede4b159358f396693141ed9d9c2a76647917
 SHA1 (patch-mk-1st.awk) = adf9d68ee565da80078cfcfa8969a4ef806d65de
+SHA1 (patch-ncurses_base_lib_initscr.c) = e514e2bb4862a2617b30c6ad715bc1c50cb76f0e
+SHA1 (patch-ncurses_tinfo_lib_raw.c) = 5aa2d439b8f5c3ce87863095396848c923c864d0
diff -r 5ecffbc096ee -r 4fcd3306beba devel/ncurses/patches/patch-ncurses_base_lib_initscr.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ncurses/patches/patch-ncurses_base_lib_initscr.c    Fri Sep 04 10:33:14 2020 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ncurses_base_lib_initscr.c,v 1.1 2020/09/04 10:33:14 js Exp $
+
+--- ncurses/base/lib_initscr.c.orig    2020-02-02 23:34:34.000000000 +0000
++++ ncurses/base/lib_initscr.c
+@@ -42,7 +42,7 @@
+ 
+ #include <curses.priv.h>
+ 
+-#if HAVE_SYS_TERMIO_H
++#if HAVE_SYS_TERMIO_H && !defined(__QNX__)
+ #include <sys/termio.h>               /* needed for ISC */
+ #endif
+ 
diff -r 5ecffbc096ee -r 4fcd3306beba devel/ncurses/patches/patch-ncurses_tinfo_lib_raw.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ncurses/patches/patch-ncurses_tinfo_lib_raw.c       Fri Sep 04 10:33:14 2020 +0000
@@ -0,0 +1,9 @@
+$NetBSD: patch-ncurses_tinfo_lib_raw.c,v 1.1 2020/09/04 10:33:14 js Exp $
+
+--- ncurses/tinfo/lib_raw.c.orig       2020-02-02 23:34:34.000000000 +0000
++++ ncurses/tinfo/lib_raw.c
+@@ -54,3 +54,3 @@ MODULE_ID("$Id: lib_raw.c,v 1.24 2020/02
+ 
+-#if HAVE_SYS_TERMIO_H
++#if HAVE_SYS_TERMIO_H && !defined(__QNX__)
+ #include <sys/termio.h>               /* needed for ISC */



Home | Main Index | Thread Index | Old Index