pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/news/tin news/tin: Build fix for the option combinatio...
details: https://anonhg.NetBSD.org/pkgsrc/rev/19f206e02b7e
branches: trunk
changeset: 457819:19f206e02b7e
user: micha <micha%pkgsrc.org@localhost>
date: Wed Sep 01 16:43:59 2021 +0000
description:
news/tin: Build fix for the option combination curses(pdcurses) + icu
diffstat:
news/tin/distinfo | 4 ++--
news/tin/options.mk | 3 +--
news/tin/patches/patch-include_tcurses.h | 17 ++++++++++++++---
3 files changed, 17 insertions(+), 7 deletions(-)
diffs (59 lines):
diff -r 98b3fee6526f -r 19f206e02b7e news/tin/distinfo
--- a/news/tin/distinfo Wed Sep 01 14:32:40 2021 +0000
+++ b/news/tin/distinfo Wed Sep 01 16:43:59 2021 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.29 2021/08/27 17:45:26 micha Exp $
+$NetBSD: distinfo,v 1.30 2021/09/01 16:43:59 micha Exp $
SHA1 (tin-2.6.0.tar.xz) = af5d36e909876f0fe7b17bd30995fb4a3e9efa6c
RMD160 (tin-2.6.0.tar.xz) = cbc37af5a42aadbd6df835400c696c5315d0a5e5
@@ -8,5 +8,5 @@
SHA1 (patch-configure) = 124a69bda73e55fbde04076f6f1b4ec9293a1b31
SHA1 (patch-configure.in) = 9a43c69dc722b3613324afca34ae79b9f369f7ae
SHA1 (patch-include_autoconf.hin) = e35e4cbf9ed74b8bd50542f4b9bb03be6343187d
-SHA1 (patch-include_tcurses.h) = 37aab6936786ee1639416b1f5ab7f440f9118952
+SHA1 (patch-include_tcurses.h) = 71c2d0ca8432c427e6015a7ddda98991674186ff
SHA1 (patch-src_Makefile.in) = f6fbe7aee324cd844ed6e1870d3c871c247e06ce
diff -r 98b3fee6526f -r 19f206e02b7e news/tin/options.mk
--- a/news/tin/options.mk Wed Sep 01 14:32:40 2021 +0000
+++ b/news/tin/options.mk Wed Sep 01 16:43:59 2021 +0000
@@ -1,10 +1,9 @@
-# $NetBSD: options.mk,v 1.20 2021/08/27 17:45:26 micha Exp $
+# $NetBSD: options.mk,v 1.21 2021/09/01 16:43:59 micha Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.tin
PKG_OPTIONS_REQUIRED_GROUPS= display
PKG_OPTIONS_GROUP.display= curses termcap
PKG_SUPPORTED_OPTIONS= canlock icu inet6 nls tin-use-inn-spool
-# Combination of options curses(configured to pdcurses) and icu does not work
# curses(configured to curses) still does not work on NetBSD, see PR #51819
# Suggest termcap instead of curses.
PKG_SUGGESTED_OPTIONS= canlock inet6 nls termcap
diff -r 98b3fee6526f -r 19f206e02b7e news/tin/patches/patch-include_tcurses.h
--- a/news/tin/patches/patch-include_tcurses.h Wed Sep 01 14:32:40 2021 +0000
+++ b/news/tin/patches/patch-include_tcurses.h Wed Sep 01 16:43:59 2021 +0000
@@ -1,10 +1,21 @@
-$NetBSD: patch-include_tcurses.h,v 1.1 2021/08/27 17:45:26 micha Exp $
+$NetBSD: patch-include_tcurses.h,v 1.2 2021/09/01 16:43:59 micha Exp $
-Backported upstream patch for ncurses (without w).
+Backported upstream patch for ncurses (without w) and pdcurses.
--- include/tcurses.h.orig 2021-07-13 05:56:52.000000000 +0000
+++ include/tcurses.h
-@@ -75,7 +75,7 @@
+@@ -44,7 +44,10 @@
+
+ # if defined(USE_CURSES) || defined(NEED_CURSES_H)
+ # ifdef HAVE_XCURSES
++# undef bool
++# define bool XCursesBool
+ # include <xcurses.h>
++# undef bool
+ # define getattrs(w) (w)->_attrs
+ # else
+ # if defined(HAVE_NCURSESW_NCURSES_H)
+@@ -75,7 +78,7 @@
# endif /* HAVE_NCURSES_NCURSES_H */
# endif /* HAVE_NCURSES_H */
# endif /* HAVE_NCURSESW_NCURSES_H */
Home |
Main Index |
Thread Index |
Old Index