pkgsrc-Changes archive

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

CVS commit: pkgsrc/mail/mutt/patches



Module Name:    pkgsrc
Committed By:   tonio
Date:           Sat Dec  5 13:02:03 UTC 2020

Modified Files:
        pkgsrc/mail/mutt/patches: patch-color.c

Log Message:
Fix pr/55840: build under netbsd with slang

When using slang, do not use ncurses synbols


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/mail/mutt/patches/patch-color.c

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

Modified files:

Index: pkgsrc/mail/mutt/patches/patch-color.c
diff -u pkgsrc/mail/mutt/patches/patch-color.c:1.1 pkgsrc/mail/mutt/patches/patch-color.c:1.2
--- pkgsrc/mail/mutt/patches/patch-color.c:1.1  Sun Nov  8 17:42:45 2020
+++ pkgsrc/mail/mutt/patches/patch-color.c      Sat Dec  5 13:02:03 2020
@@ -1,4 +1,4 @@
-$NetBSD: patch-color.c,v 1.1 2020/11/08 17:42:45 tron Exp $
+$NetBSD: patch-color.c,v 1.2 2020/12/05 13:02:03 tonio Exp $
 
 Fix build under NetBSD
 
@@ -9,7 +9,7 @@ Fix build under NetBSD
  #define COLOR_QUOTE_INIT      8
  
 -#ifdef NCURSES_VERSION
-+#if defined(NCURSES_VERSION) || defined(__NetBSD__)
++#if defined(NCURSES_VERSION) || (defined(__NetBSD__) && !defined(USE_SLANG_CURSES))
  #define ATTR_MASK (A_ATTRIBUTES ^ A_COLOR)
  #elif defined (USE_SLANG_CURSES)
  #define ATTR_MASK (~(unsigned int)A_NORMAL ^ (A_CHARTEXT | A_UNUSED | A_COLOR))



Home | Main Index | Thread Index | Old Index