pkgsrc-Changes archive

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

CVS commit: pkgsrc/news/tin



Module Name:    pkgsrc
Committed By:   micha
Date:           Wed Sep  1 16:43:59 UTC 2021

Modified Files:
        pkgsrc/news/tin: distinfo options.mk
        pkgsrc/news/tin/patches: patch-include_tcurses.h

Log Message:
news/tin: Build fix for the option combination curses(pdcurses) + icu


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 pkgsrc/news/tin/distinfo
cvs rdiff -u -r1.20 -r1.21 pkgsrc/news/tin/options.mk
cvs rdiff -u -r1.1 -r1.2 pkgsrc/news/tin/patches/patch-include_tcurses.h

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

Modified files:

Index: pkgsrc/news/tin/distinfo
diff -u pkgsrc/news/tin/distinfo:1.29 pkgsrc/news/tin/distinfo:1.30
--- pkgsrc/news/tin/distinfo:1.29       Fri Aug 27 17:45:26 2021
+++ pkgsrc/news/tin/distinfo    Wed Sep  1 16:43:59 2021
@@ -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-Makefile) = 7f9048d31e70d963
 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

Index: pkgsrc/news/tin/options.mk
diff -u pkgsrc/news/tin/options.mk:1.20 pkgsrc/news/tin/options.mk:1.21
--- pkgsrc/news/tin/options.mk:1.20     Fri Aug 27 17:45:26 2021
+++ pkgsrc/news/tin/options.mk  Wed Sep  1 16:43:59 2021
@@ -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

Index: pkgsrc/news/tin/patches/patch-include_tcurses.h
diff -u pkgsrc/news/tin/patches/patch-include_tcurses.h:1.1 pkgsrc/news/tin/patches/patch-include_tcurses.h:1.2
--- pkgsrc/news/tin/patches/patch-include_tcurses.h:1.1 Fri Aug 27 17:45:26 2021
+++ pkgsrc/news/tin/patches/patch-include_tcurses.h     Wed Sep  1 16:43:59 2021
@@ -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