pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/vfu Make build on -current.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8f6ed9a23835
branches:  trunk
changeset: 466855:8f6ed9a23835
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Fri Jan 23 23:22:41 2004 +0000

description:
Make build on -current.
Also, this package can use native curses since 1.6V; replace
USE_NCURSES with appropriate INCOMPAT_CURSES.

diffstat:

 misc/vfu/Makefile         |   6 ++++--
 misc/vfu/patches/patch-ac |  14 +++++++++++---
 2 files changed, 15 insertions(+), 5 deletions(-)

diffs (51 lines):

diff -r f36f150dc41c -r 8f6ed9a23835 misc/vfu/Makefile
--- a/misc/vfu/Makefile Fri Jan 23 23:11:30 2004 +0000
+++ b/misc/vfu/Makefile Fri Jan 23 23:22:41 2004 +0000
@@ -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 @@
 
 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
diff -r f36f150dc41c -r 8f6ed9a23835 misc/vfu/patches/patch-ac
--- a/misc/vfu/patches/patch-ac Fri Jan 23 23:11:30 2004 +0000
+++ b/misc/vfu/patches/patch-ac Fri Jan 23 23:22:41 2004 +0000
@@ -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 @@
    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;



Home | Main Index | Thread Index | Old Index