Make build on -current.
Also, this package can use native curses since 1.6V; replace USE_NCURSES with appropriate INCOMPAT_CURSES.
This commit is contained in:
parent
c864df439c
commit
3f52756ad3
2 changed files with 15 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.33 2003/09/28 09:13:58 jlam Exp $
|
||||
# $NetBSD: Makefile,v 1.34 2004/01/23 23:22:41 wiz Exp $
|
||||
#
|
||||
|
||||
DISTNAME= vfu-3.04
|
||||
|
@ -13,7 +13,9 @@ COMMENT= Small, handy, easy-to-use file manager
|
|||
|
||||
USE_BUILDLINK2= # defined
|
||||
USE_PKGINSTALL= YES
|
||||
USE_NCURSES= # qiflush()
|
||||
|
||||
INCOMPAT_CURSES= NetBSD-1.5* NetBSD-1.6[-_.]*
|
||||
INCOMPAT_CURSES+= NetBSD-1.6[A-U]-*
|
||||
|
||||
DOCDIR= ${PREFIX}/share/doc/vfu
|
||||
EGDIR= ${PREFIX}/share/examples/vfu
|
||||
|
|
|
@ -1,8 +1,16 @@
|
|||
$NetBSD: patch-ac,v 1.8 2003/07/14 10:07:12 jmmv Exp $
|
||||
$NetBSD: patch-ac,v 1.9 2004/01/23 23:22:41 wiz Exp $
|
||||
|
||||
--- vfu/vfu.cpp.orig 2002-05-24 18:55:36.000000000 +0200
|
||||
+++ vfu/vfu.cpp
|
||||
@@ -485,8 +485,6 @@ void vfu_help()
|
||||
@@ -9,6 +9,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
+#include <stdarg.h>
|
||||
#include "vfu.h"
|
||||
#include "vfuopt.h"
|
||||
#include "vfufiles.h"
|
||||
@@ -485,8 +486,6 @@ void vfu_help()
|
||||
mb.push( " 1. $HOME/$RC_PREFIX/vfu/vfu.conf");
|
||||
mb.push( " 2. $HOME/.vfu/vfu.conf");
|
||||
mb.push( " 3. " FILENAME_CONF_GLOBAL0 );
|
||||
|
@ -11,7 +19,7 @@ $NetBSD: patch-ac,v 1.8 2003/07/14 10:07:12 jmmv Exp $
|
|||
mb.push( "" );
|
||||
vfu_menu_box( 1, 4, "VFU Help ( PageUp/PageDown to scroll )" );
|
||||
mb.zap();
|
||||
@@ -604,10 +602,6 @@ void vfu_init()
|
||||
@@ -604,10 +603,6 @@ void vfu_init()
|
||||
{ /* cannot find local/user conf file, try globals */
|
||||
if ( access( FILENAME_CONF_GLOBAL0, R_OK ) == 0 )
|
||||
filename_conf = FILENAME_CONF_GLOBAL0;
|
||||
|
|
Loading…
Reference in a new issue