Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Sep 2010 09:33:33 +0400
From:      Anonymous <swell.k@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/150695: [patch] editors/2bsd-vi: use ncurses rather than termlib
Message-ID:  <86pqwbk442.fsf@gmail.com>
Resent-Message-ID: <201009180540.o8I5e0tE095275@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         150695
>Category:       ports
>Synopsis:       [patch] editors/2bsd-vi: use ncurses rather than termlib
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 18 05:40:00 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Anonymous
>Release:        FreeBSD 9.0-CURRENT amd64
>Organization:
>Environment:
editing wide characters work on both, tested under unicode locale
>Description:
Use system library for accessing termcap database.
E.g. termlib doesn't read ~/.termcap.
>How-To-Repeat:
>Fix:
--- a.diff begins here ---
Index: editors/2bsd-vi/files/patch-Makefile
===================================================================
RCS file: /a/.cvsup/ports/editors/2bsd-vi/files/patch-Makefile,v
retrieving revision 1.2
diff -u -p -r1.2 patch-Makefile
--- editors/2bsd-vi/files/patch-Makefile	20 Jan 2005 23:12:20 -0000	1.2
+++ editors/2bsd-vi/files/patch-Makefile	9 Aug 2010 21:11:37 -0000
@@ -21,6 +21,22 @@
  
  #
  # Compiler and linker flags.
+@@ -205,13 +204,13 @@ OSTYPE	= -DVMUNIX
+ #
+ # You may also get terminfo access by using the ncurses library.
+ #
+-#TERMLIB	= ncurses
++TERMLIB	= ncurses
+ #
+ # The preferred choice for ex on Linux distributions, other systems that
+ # provide a good termcap file, or when setting the TERMCAP environment
+ # variable is deemed sufficient, is the included 2.11BSD termcap library.
+ #
+-TERMLIB	= termlib
++#TERMLIB	= termlib
+ 
+ #
+ # Since ex uses sbrk() internally, a conflict with the libc's version of
 @@ -292,13 +291,6 @@
  # install in standard place
  
--- a.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86pqwbk442.fsf>