Date: Mon, 5 Jan 2004 23:45:51 +0900 From: KATO Tsuguru <tkato@prontomail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/60939: Update port: x11-toolkits/viewklass 0.7.0 Message-ID: <20040105234551.6a8bb41a.tkato@prontomail.com> Resent-Message-ID: <200401051450.i05EoKZP089414@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 60939 >Category: ports >Synopsis: Update port: x11-toolkits/viewklass 0.7.0 >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: Mon Jan 05 06:50:20 PST 2004 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 4.9-RELEASE-p1 i386 >Organization: >Environment: >Description: - Update to version 0.7.0 Remove file: files/patch-Vk::VkAlignmentGroup.h files/patch-Vk::VkCallbackList.h files/patch-Vk::VkCallbackObject.h files/patch-Vk::VkComponentList.h files/patch-Vk::VkDialogManager.h files/patch-Vk::VkMenuItem.h files/patch-Vk::VkNameList.h files/patch-Vk::VkPrefItem.h files/patch-VkAlignmentGroup.C files/patch-VkCallbackObject.C files/patch-VkComponent.C files/patch-VkNameList.C files/patch-VkPipe.C files/patch-VkPrefRadio.C files/patch-VkRadioGroup.C files/patch-VkSimpleWindow.C files/patch-VkSubProcess.C files/patch-VkTrace.C files/patch-VkWindow.C >How-To-Repeat: >Fix: diff -urN /usr/ports/x11-toolkits/viewklass/Makefile x11-toolkits/viewklass/Makefile --- /usr/ports/x11-toolkits/viewklass/Makefile Mon Nov 10 03:20:36 2003 +++ x11-toolkits/viewklass/Makefile Sun Jan 4 11:09:36 2004 @@ -7,7 +7,7 @@ # PORTNAME= viewklass -PORTVERSION= 0.6.0 +PORTVERSION= 0.7.0 CATEGORIES= x11-toolkits MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} diff -urN /usr/ports/x11-toolkits/viewklass/distinfo x11-toolkits/viewklass/distinfo --- /usr/ports/x11-toolkits/viewklass/distinfo Wed Nov 20 23:46:58 2002 +++ x11-toolkits/viewklass/distinfo Sun Jan 4 11:16:10 2004 @@ -1 +1 @@ -MD5 (ViewKlass-0.6.0.tar.gz) = 90395d31bda325f312d645c1ffaec48b +MD5 (ViewKlass-0.7.0.tar.gz) = c9d8897173cc18bd668949eef6907a56 diff -urN /usr/ports/x11-toolkits/viewklass/files/patch-Vk::VkAlignmentGroup.h x11-toolkits/viewklass/files/patch-Vk::VkAlignmentGroup.h --- /usr/ports/x11-toolkits/viewklass/files/patch-Vk::VkAlignmentGroup.h Sat Aug 2 11:36:11 2003 +++ x11-toolkits/viewklass/files/patch-Vk::VkAlignmentGroup.h Thu Jan 1 09:00:00 1970 @@ -1,12 +0,0 @@ ---- ./Vk/VkAlignmentGroup.h.orig Wed Jul 23 02:43:07 2003 -+++ ./Vk/VkAlignmentGroup.h Wed Jul 23 02:45:35 2003 -@@ -24,6 +24,9 @@ - - #include <Vk/VkWidgetList.h> - #include <Vk/VkOptionMenu.h> -+#include <iostream> -+ -+using std::ostream; - - class VkAlignmentGroup : public VkWidgetList { - public: diff -urN /usr/ports/x11-toolkits/viewklass/files/patch-Vk::VkCallbackList.h x11-toolkits/viewklass/files/patch-Vk::VkCallbackList.h --- /usr/ports/x11-toolkits/viewklass/files/patch-Vk::VkCallbackList.h Sat Aug 2 11:36:11 2003 +++ x11-toolkits/viewklass/files/patch-Vk::VkCallbackList.h Thu Jan 1 09:00:00 1970 @@ -1,12 +0,0 @@ ---- ./Vk/VkCallbackList.h.orig Wed Jul 23 02:06:54 2003 -+++ ./Vk/VkCallbackList.h Wed Jul 23 02:07:15 2003 -@@ -44,6 +44,9 @@ - #include <Vk/VkComponent.h> - #include <Vk/VkCallbackObject.h> - -+using std::vector; -+using std::string; -+ - struct VkCallbackListEntry { - enum CallbackType type; - VkCallbackObject *component; diff -urN /usr/ports/x11-toolkits/viewklass/files/patch-Vk::VkCallbackObject.h x11-toolkits/viewklass/files/patch-Vk::VkCallbackObject.h --- /usr/ports/x11-toolkits/viewklass/files/patch-Vk::VkCallbackObject.h Sat Aug 2 11:36:11 2003 +++ x11-toolkits/viewklass/files/patch-Vk::VkCallbackObject.h Thu Jan 1 09:00:00 1970 @@ -1,11 +0,0 @@ ---- ./Vk/VkCallbackObject.h.orig Wed Jul 23 02:07:33 2003 -+++ ./Vk/VkCallbackObject.h Wed Jul 23 02:07:48 2003 -@@ -42,6 +42,8 @@ - - #include <Vk/VkConfig.h> - -+using std::vector; -+ - class VkCallbackObject; - - typedef void (VkCallbackObject::*VkCallbackMethod)( diff -urN /usr/ports/x11-toolkits/viewklass/files/patch-Vk::VkComponentList.h x11-toolkits/viewklass/files/patch-Vk::VkComponentList.h --- /usr/ports/x11-toolkits/viewklass/files/patch-Vk::VkComponentList.h Sat Aug 2 11:36:11 2003 +++ x11-toolkits/viewklass/files/patch-Vk::VkComponentList.h Thu Jan 1 09:00:00 1970 @@ -1,24 +0,0 @@ ---- ./Vk/VkComponentList.h.orig Wed Jul 23 02:09:51 2003 -+++ ./Vk/VkComponentList.h Wed Jul 23 02:18:22 2003 -@@ -41,6 +41,8 @@ - - #include <Vk/VkConfig.h> - -+using std::vector; -+ - class VkComponent; - - class VkComponentList { -@@ -59,10 +61,10 @@ - VkComponent* operator[](int indx) const { return elements[indx]; } - - void insert(int pos, VkComponent* c) -- { elements.insert(&elements[pos], c); } -+ { elements.insert(elements.begin () + pos, c); } - - void remove(int pos) -- { elements.erase(&elements[pos]); } -+ { elements.erase(elements.begin () + pos); } - - private: - vector<VkComponent*> elements; diff -urN /usr/ports/x11-toolkits/viewklass/files/patch-Vk::VkDialogManager.h x11-toolkits/viewklass/files/patch-Vk::VkDialogManager.h --- /usr/ports/x11-toolkits/viewklass/files/patch-Vk::VkDialogManager.h Sat Aug 2 11:36:11 2003 +++ x11-toolkits/viewklass/files/patch-Vk::VkDialogManager.h Thu Jan 1 09:00:00 1970 @@ -1,11 +0,0 @@ ---- ./Vk/VkDialogManager.h.orig Wed Jul 23 02:13:42 2003 -+++ ./Vk/VkDialogManager.h Wed Jul 23 02:13:57 2003 -@@ -49,6 +49,8 @@ - #include <Vk/VkResource.h> - #include <Vk/VkSimpleWindow.h> - -+using std::string; -+ - class VkDialogManager : public VkComponent { - public: - typedef enum {OK, APPLY, CANCEL} VkDialogReason; diff -urN /usr/ports/x11-toolkits/viewklass/files/patch-Vk::VkMenuItem.h x11-toolkits/viewklass/files/patch-Vk::VkMenuItem.h --- /usr/ports/x11-toolkits/viewklass/files/patch-Vk::VkMenuItem.h Sat Aug 2 11:36:11 2003 +++ x11-toolkits/viewklass/files/patch-Vk::VkMenuItem.h Thu Jan 1 09:00:00 1970 @@ -1,11 +0,0 @@ ---- ./Vk/VkMenuItem.h.orig Wed Jul 23 02:22:17 2003 -+++ ./Vk/VkMenuItem.h Wed Jul 23 02:22:29 2003 -@@ -41,6 +41,8 @@ - #include <Vk/VkComponent.h> - #include <Vk/VkWidgetList.h> - -+using std::string; -+ - typedef enum {ACTION, ACTIONWIDGET, CONFIRMFIRSTACTION, TOGGLE, LABEL, - SEPARATOR, SUBMENU, RADIOSUBMENU, BAR, OPTION, POPUP, OBJECT, - END} VkMenuItemType; diff -urN /usr/ports/x11-toolkits/viewklass/files/patch-Vk::VkNameList.h x11-toolkits/viewklass/files/patch-Vk::VkNameList.h --- /usr/ports/x11-toolkits/viewklass/files/patch-Vk::VkNameList.h Sat Aug 2 11:36:11 2003 +++ x11-toolkits/viewklass/files/patch-Vk::VkNameList.h Thu Jan 1 09:00:00 1970 @@ -1,12 +0,0 @@ ---- ./Vk/VkNameList.h.orig Wed Jul 23 02:23:57 2003 -+++ ./Vk/VkNameList.h Wed Jul 23 02:24:28 2003 -@@ -43,6 +43,9 @@ - #include <Xm/Xm.h> - #include <Vk/VkConfig.h> - -+using std::vector; -+using std::string; -+ - class VkNameList { - public: - VkNameList(); diff -urN /usr/ports/x11-toolkits/viewklass/files/patch-Vk::VkPrefItem.h x11-toolkits/viewklass/files/patch-Vk::VkPrefItem.h --- /usr/ports/x11-toolkits/viewklass/files/patch-Vk::VkPrefItem.h Sat Aug 2 11:36:11 2003 +++ x11-toolkits/viewklass/files/patch-Vk::VkPrefItem.h Thu Jan 1 09:00:00 1970 @@ -1,11 +0,0 @@ ---- ./Vk/VkPrefItem.h.orig Wed Jul 23 02:40:46 2003 -+++ ./Vk/VkPrefItem.h Wed Jul 23 02:41:01 2003 -@@ -45,6 +45,8 @@ - - #include <string> - -+using std::string; -+ - class VkPrefItem : public VkComponent { - public: - enum VkPrefItemType {PI_group, PI_list, PI_radio, PI_text, PI_toggle, diff -urN /usr/ports/x11-toolkits/viewklass/files/patch-VkAlignmentGroup.C x11-toolkits/viewklass/files/patch-VkAlignmentGroup.C --- /usr/ports/x11-toolkits/viewklass/files/patch-VkAlignmentGroup.C Sat Aug 2 11:36:11 2003 +++ x11-toolkits/viewklass/files/patch-VkAlignmentGroup.C Thu Jan 1 09:00:00 1970 @@ -1,11 +0,0 @@ ---- ./VkAlignmentGroup.C.orig Wed Jul 23 02:44:15 2003 -+++ ./VkAlignmentGroup.C Wed Jul 23 02:45:22 2003 -@@ -36,6 +36,8 @@ - - #include <Vk/VkAlignmentGroup.h> - -+using std::endl; -+ - VkAlignmentGroup::VkAlignmentGroup() - : VkWidgetList(), - _maxWidth(0), diff -urN /usr/ports/x11-toolkits/viewklass/files/patch-VkCallbackObject.C x11-toolkits/viewklass/files/patch-VkCallbackObject.C --- /usr/ports/x11-toolkits/viewklass/files/patch-VkCallbackObject.C Sat Aug 2 11:36:11 2003 +++ x11-toolkits/viewklass/files/patch-VkCallbackObject.C Thu Jan 1 09:00:00 1970 @@ -1,12 +0,0 @@ ---- ./VkCallbackObject.C.orig Wed Jul 23 02:08:26 2003 -+++ ./VkCallbackObject.C Wed Jul 23 02:09:04 2003 -@@ -45,6 +45,9 @@ - #include <Vk/VkCallbackObject.h> - #include <Vk/VkCallbackList.h> - -+using std::cerr; -+using std::endl; -+ - VkCallbackObject::VkCallbackObject() - { - } diff -urN /usr/ports/x11-toolkits/viewklass/files/patch-VkComponent.C x11-toolkits/viewklass/files/patch-VkComponent.C --- /usr/ports/x11-toolkits/viewklass/files/patch-VkComponent.C Sat Aug 2 11:36:11 2003 +++ x11-toolkits/viewklass/files/patch-VkComponent.C Thu Jan 1 09:00:00 1970 @@ -1,13 +0,0 @@ ---- ./VkComponent.C.orig Wed Jul 23 02:12:18 2003 -+++ ./VkComponent.C Wed Jul 23 02:13:09 2003 -@@ -46,6 +46,10 @@ - #include <Vk/VkComponent.h> - #include <Vk/VkApp.h> - -+using std::string; -+using std::cerr; -+using std::endl; -+ - const char *const VkComponent::deleteCallback = "VkComponentDeleteCallback"; - - VkComponent::VkComponent(const char *name) diff -urN /usr/ports/x11-toolkits/viewklass/files/patch-VkNameList.C x11-toolkits/viewklass/files/patch-VkNameList.C --- /usr/ports/x11-toolkits/viewklass/files/patch-VkNameList.C Sat Aug 2 11:36:11 2003 +++ x11-toolkits/viewklass/files/patch-VkNameList.C Thu Jan 1 09:00:00 1970 @@ -1,11 +0,0 @@ ---- ./VkNameList.C.orig Wed Jul 23 02:39:09 2003 -+++ ./VkNameList.C Wed Jul 23 02:39:23 2003 -@@ -105,7 +105,7 @@ - } - - void --VkNameList::remove(int index, int count=1) -+VkNameList::remove(int index, int count) - { - _contents.erase(_contents.begin() + index, - _contents.begin() + index + count); diff -urN /usr/ports/x11-toolkits/viewklass/files/patch-VkPipe.C x11-toolkits/viewklass/files/patch-VkPipe.C --- /usr/ports/x11-toolkits/viewklass/files/patch-VkPipe.C Sat Aug 2 11:36:11 2003 +++ x11-toolkits/viewklass/files/patch-VkPipe.C Thu Jan 1 09:00:00 1970 @@ -1,11 +0,0 @@ ---- ./VkPipe.C.orig Wed Jul 23 02:33:13 2003 -+++ ./VkPipe.C Wed Jul 23 03:05:28 2003 -@@ -67,7 +67,7 @@ - _input->attach(pipefd[0], XtInputReadMask); - _input->addCallback(VkInput::inputCallback, - this, -- (VkCallbackMethod)&(VkPipe::handleInput)); -+ (VkCallbackMethod)(&VkPipe::handleInput)); - } - - VkPipe::~VkPipe() diff -urN /usr/ports/x11-toolkits/viewklass/files/patch-VkPrefRadio.C x11-toolkits/viewklass/files/patch-VkPrefRadio.C --- /usr/ports/x11-toolkits/viewklass/files/patch-VkPrefRadio.C Sat Aug 2 11:36:11 2003 +++ x11-toolkits/viewklass/files/patch-VkPrefRadio.C Thu Jan 1 09:00:00 1970 @@ -1,13 +0,0 @@ ---- ./VkPrefRadio.C.orig Wed Jul 23 02:42:07 2003 -+++ ./VkPrefRadio.C Wed Jul 23 02:42:38 2003 -@@ -40,6 +40,10 @@ - #include <Xm/Form.h> - - #include <Vk/VkPrefRadio.h> -+#include <iostream> -+ -+using std::cerr; -+using std::endl; - - // A VkPrefRadio is a vertical VkPrefGroup with no label - VkPrefRadio::VkPrefRadio(const char *name, diff -urN /usr/ports/x11-toolkits/viewklass/files/patch-VkRadioGroup.C x11-toolkits/viewklass/files/patch-VkRadioGroup.C --- /usr/ports/x11-toolkits/viewklass/files/patch-VkRadioGroup.C Sat Aug 2 11:36:11 2003 +++ x11-toolkits/viewklass/files/patch-VkRadioGroup.C Thu Jan 1 09:00:00 1970 @@ -1,31 +0,0 @@ ---- ./VkRadioGroup.C.orig Wed Jul 23 02:25:08 2003 -+++ ./VkRadioGroup.C Wed Jul 23 02:31:58 2003 -@@ -47,11 +47,15 @@ - #include <Xm/ToggleBG.h> - #include <Xm/PushB.h> - #include <Xm/PushBG.h> -+#include <iostream> -+ -+using std::cerr; -+using std::endl; - - VkRadioGroup::VkRadioGroup() - : VkWidgetList() - { -- _currentlySelected = 0; -+ //_currentlySelected = 0; - } - - void -@@ -77,9 +81,9 @@ - void - VkRadioGroup::remove(Widget item) - { -- if (*_currentlySelected == item) -+ /*if (*_currentlySelected == item) - _currentlySelected = 0; -- else if (_currentlySelected > VkWidgetList::find(item)) -+ else */ if (_currentlySelected > VkWidgetList::find(item)) - _currentlySelected --; - - XtRemoveCallback(item, XmNvalueChangedCallback, diff -urN /usr/ports/x11-toolkits/viewklass/files/patch-VkSimpleWindow.C x11-toolkits/viewklass/files/patch-VkSimpleWindow.C --- /usr/ports/x11-toolkits/viewklass/files/patch-VkSimpleWindow.C Sat Aug 2 11:36:11 2003 +++ x11-toolkits/viewklass/files/patch-VkSimpleWindow.C Thu Jan 1 09:00:00 1970 @@ -1,13 +0,0 @@ ---- ./VkSimpleWindow.C.orig Wed Jul 23 02:18:56 2003 -+++ ./VkSimpleWindow.C Wed Jul 23 02:20:37 2003 -@@ -44,6 +44,10 @@ - #include <X11/Xutil.h> - #include <X11/Xmu/Editres.h> - -+using std::cerr; -+using std::endl; -+using std::exception; -+ - static char* rcsid - #ifdef __GNUC__ - __attribute__ ((unused)) diff -urN /usr/ports/x11-toolkits/viewklass/files/patch-VkSubProcess.C x11-toolkits/viewklass/files/patch-VkSubProcess.C --- /usr/ports/x11-toolkits/viewklass/files/patch-VkSubProcess.C Sat Aug 2 11:36:11 2003 +++ x11-toolkits/viewklass/files/patch-VkSubProcess.C Thu Jan 1 09:00:00 1970 @@ -1,13 +0,0 @@ ---- ./VkSubProcess.C.orig Wed Jul 23 02:39:49 2003 -+++ ./VkSubProcess.C Wed Jul 23 02:40:21 2003 -@@ -40,6 +40,10 @@ - #include <signal.h> - #include <stdio.h> - #include <unistd.h> // for exec* -+#include <iostream> -+ -+using std::cerr; -+using std::endl; - - VkSubProcess::VkSubProcess(char *prog, - VkNameList *given, diff -urN /usr/ports/x11-toolkits/viewklass/files/patch-VkTrace.C x11-toolkits/viewklass/files/patch-VkTrace.C --- /usr/ports/x11-toolkits/viewklass/files/patch-VkTrace.C Sat Aug 2 12:36:23 2003 +++ x11-toolkits/viewklass/files/patch-VkTrace.C Thu Jan 1 09:00:00 1970 @@ -1,16 +0,0 @@ ---- VkTrace.C.orig Thu Jul 11 08:46:58 2002 -+++ VkTrace.C Wed Jul 23 03:22:53 2003 -@@ -28,8 +28,13 @@ - #include <stdio.h> - #include <time.h> - #include <string.h> -+#include <stdarg.h> - - #include <Vk/VkTrace.h> -+#include <fstream> -+ -+using std::ofstream; -+using std::endl; - - ofstream* vkTraceOut = 0; - diff -urN /usr/ports/x11-toolkits/viewklass/files/patch-VkWindow.C x11-toolkits/viewklass/files/patch-VkWindow.C --- /usr/ports/x11-toolkits/viewklass/files/patch-VkWindow.C Sat Aug 2 11:36:11 2003 +++ x11-toolkits/viewklass/files/patch-VkWindow.C Thu Jan 1 09:00:00 1970 @@ -1,13 +0,0 @@ ---- ./VkWindow.C.orig Wed Jul 23 02:21:06 2003 -+++ ./VkWindow.C Wed Jul 23 02:21:39 2003 -@@ -42,6 +42,10 @@ - #include <Vk/VkWindow.h> - #include <iostream.h> - -+using std::cerr; -+using std::endl; -+using std::exception; -+ - VkWindow::VkWindow(const char* name, - ArgList args, - Cardinal argCount) diff -urN /usr/ports/x11-toolkits/viewklass/pkg-plist x11-toolkits/viewklass/pkg-plist --- /usr/ports/x11-toolkits/viewklass/pkg-plist Wed Nov 20 23:46:58 2002 +++ x11-toolkits/viewklass/pkg-plist Sun Jan 4 11:28:11 2004 @@ -34,11 +34,13 @@ include/Vk/VkMenuSeparator.h include/Vk/VkMenuToggle.h include/Vk/VkMenuUndoManager.h +include/Vk/VkMessageDialog.h include/Vk/VkModel.h include/Vk/VkNameList.h include/Vk/VkOptionMenu.h include/Vk/VkPeriodic.h include/Vk/VkPipe.h +include/Vk/VkPixmap.h include/Vk/VkPopupMenu.h include/Vk/VkPrefCustom.h include/Vk/VkPrefDialog.h diff -urN /usr/ports/x11-toolkits/viewklass/Makefile x11-toolkits/viewklass/Makefile --- /usr/ports/x11-toolkits/viewklass/Makefile Mon Nov 10 03:20:36 2003 +++ x11-toolkits/viewklass/Makefile Sun Jan 4 11:09:36 2004 @@ -7,7 +7,7 @@ # PORTNAME= viewklass -PORTVERSION= 0.6.0 +PORTVERSION= 0.7.0 CATEGORIES= x11-toolkits MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} diff -urN /usr/ports/x11-toolkits/viewklass/distinfo x11-toolkits/viewklass/distinfo --- /usr/ports/x11-toolkits/viewklass/distinfo Wed Nov 20 23:46:58 2002 +++ x11-toolkits/viewklass/distinfo Sun Jan 4 11:16:10 2004 @@ -1 +1 @@ -MD5 (ViewKlass-0.6.0.tar.gz) = 90395d31bda325f312d645c1ffaec48b +MD5 (ViewKlass-0.7.0.tar.gz) = c9d8897173cc18bd668949eef6907a56 diff -urN /usr/ports/x11-toolkits/viewklass/files/patch-Vk::VkAlignmentGroup.h x11-toolkits/viewklass/files/patch-Vk::VkAlignmentGroup.h --- /usr/ports/x11-toolkits/viewklass/files/patch-Vk::VkAlignmentGroup.h Sat Aug 2 11:36:11 2003 +++ x11-toolkits/viewklass/files/patch-Vk::VkAlignmentGroup.h Thu Jan 1 09:00:00 1970 @@ -1,12 +0,0 @@ ---- ./Vk/VkAlignmentGroup.h.orig Wed Jul 23 02:43:07 2003 -+++ ./Vk/VkAlignmentGroup.h Wed Jul 23 02:45:35 2003 -@@ -24,6 +24,9 @@ - - #include <Vk/VkWidgetList.h> - #include <Vk/VkOptionMenu.h> -+#include <iostream> -+ -+using std::ostream; - - class VkAlignmentGroup : public VkWidgetList { - public: diff -urN /usr/ports/x11-toolkits/viewklass/files/patch-Vk::VkCallbackList.h x11-toolkits/viewklass/files/patch-Vk::VkCallbackList.h --- /usr/ports/x11-toolkits/viewklass/files/patch-Vk::VkCallbackList.h Sat Aug 2 11:36:11 2003 +++ x11-toolkits/viewklass/files/patch-Vk::VkCallbackList.h Thu Jan 1 09:00:00 1970 @@ -1,12 +0,0 @@ ---- ./Vk/VkCallbackList.h.orig Wed Jul 23 02:06:54 2003 -+++ ./Vk/VkCallbackList.h Wed Jul 23 02:07:15 2003 -@@ -44,6 +44,9 @@ - #include <Vk/VkComponent.h> - #include <Vk/VkCallbackObject.h> - -+using std::vector; -+using std::string; -+ - struct VkCallbackListEntry { - enum CallbackType type; - VkCallbackObject *component; diff -urN /usr/ports/x11-toolkits/viewklass/files/patch-Vk::VkCallbackObject.h x11-toolkits/viewklass/files/patch-Vk::VkCallbackObject.h --- /usr/ports/x11-toolkits/viewklass/files/patch-Vk::VkCallbackObject.h Sat Aug 2 11:36:11 2003 +++ x11-toolkits/viewklass/files/patch-Vk::VkCallbackObject.h Thu Jan 1 09:00:00 1970 @@ -1,11 +0,0 @@ ---- ./Vk/VkCallbackObject.h.orig Wed Jul 23 02:07:33 2003 -+++ ./Vk/VkCallbackObject.h Wed Jul 23 02:07:48 2003 -@@ -42,6 +42,8 @@ - - #include <Vk/VkConfig.h> - -+using std::vector; -+ - class VkCallbackObject; - - typedef void (VkCallbackObject::*VkCallbackMethod)( diff -urN /usr/ports/x11-toolkits/viewklass/files/patch-Vk::VkComponentList.h x11-toolkits/viewklass/files/patch-Vk::VkComponentList.h --- /usr/ports/x11-toolkits/viewklass/files/patch-Vk::VkComponentList.h Sat Aug 2 11:36:11 2003 +++ x11-toolkits/viewklass/files/patch-Vk::VkComponentList.h Thu Jan 1 09:00:00 1970 @@ -1,24 +0,0 @@ ---- ./Vk/VkComponentList.h.orig Wed Jul 23 02:09:51 2003 -+++ ./Vk/VkComponentList.h Wed Jul 23 02:18:22 2003 -@@ -41,6 +41,8 @@ - - #include <Vk/VkConfig.h> - -+using std::vector; -+ - class VkComponent; - - class VkComponentList { -@@ -59,10 +61,10 @@ - VkComponent* operator[](int indx) const { return elements[indx]; } - - void insert(int pos, VkComponent* c) -- { elements.insert(&elements[pos], c); } -+ { elements.insert(elements.begin () + pos, c); } - - void remove(int pos) -- { elements.erase(&elements[pos]); } -+ { elements.erase(elements.begin () + pos); } - - private: - vector<VkComponent*> elements; diff -urN /usr/ports/x11-toolkits/viewklass/files/patch-Vk::VkDialogManager.h x11-toolkits/viewklass/files/patch-Vk::VkDialogManager.h --- /usr/ports/x11-toolkits/viewklass/files/patch-Vk::VkDialogManager.h Sat Aug 2 11:36:11 2003 +++ x11-toolkits/viewklass/files/patch-Vk::VkDialogManager.h Thu Jan 1 09:00:00 1970 @@ -1,11 +0,0 @@ ---- ./Vk/VkDialogManager.h.orig Wed Jul 23 02:13:42 2003 -+++ ./Vk/VkDialogManager.h Wed Jul 23 02:13:57 2003 -@@ -49,6 +49,8 @@ - #include <Vk/VkResource.h> - #include <Vk/VkSimpleWindow.h> - -+using std::string; -+ - class VkDialogManager : public VkComponent { - public: - typedef enum {OK, APPLY, CANCEL} VkDialogReason; diff -urN /usr/ports/x11-toolkits/viewklass/files/patch-Vk::VkMenuItem.h x11-toolkits/viewklass/files/patch-Vk::VkMenuItem.h --- /usr/ports/x11-toolkits/viewklass/files/patch-Vk::VkMenuItem.h Sat Aug 2 11:36:11 2003 +++ x11-toolkits/viewklass/files/patch-Vk::VkMenuItem.h Thu Jan 1 09:00:00 1970 @@ -1,11 +0,0 @@ ---- ./Vk/VkMenuItem.h.orig Wed Jul 23 02:22:17 2003 -+++ ./Vk/VkMenuItem.h Wed Jul 23 02:22:29 2003 -@@ -41,6 +41,8 @@ - #include <Vk/VkComponent.h> - #include <Vk/VkWidgetList.h> - -+using std::string; -+ - typedef enum {ACTION, ACTIONWIDGET, CONFIRMFIRSTACTION, TOGGLE, LABEL, - SEPARATOR, SUBMENU, RADIOSUBMENU, BAR, OPTION, POPUP, OBJECT, - END} VkMenuItemType; diff -urN /usr/ports/x11-toolkits/viewklass/files/patch-Vk::VkNameList.h x11-toolkits/viewklass/files/patch-Vk::VkNameList.h --- /usr/ports/x11-toolkits/viewklass/files/patch-Vk::VkNameList.h Sat Aug 2 11:36:11 2003 +++ x11-toolkits/viewklass/files/patch-Vk::VkNameList.h Thu Jan 1 09:00:00 1970 @@ -1,12 +0,0 @@ ---- ./Vk/VkNameList.h.orig Wed Jul 23 02:23:57 2003 -+++ ./Vk/VkNameList.h Wed Jul 23 02:24:28 2003 -@@ -43,6 +43,9 @@ - #include <Xm/Xm.h> - #include <Vk/VkConfig.h> - -+using std::vector; -+using std::string; -+ - class VkNameList { - public: - VkNameList(); diff -urN /usr/ports/x11-toolkits/viewklass/files/patch-Vk::VkPrefItem.h x11-toolkits/viewklass/files/patch-Vk::VkPrefItem.h --- /usr/ports/x11-toolkits/viewklass/files/patch-Vk::VkPrefItem.h Sat Aug 2 11:36:11 2003 +++ x11-toolkits/viewklass/files/patch-Vk::VkPrefItem.h Thu Jan 1 09:00:00 1970 @@ -1,11 +0,0 @@ ---- ./Vk/VkPrefItem.h.orig Wed Jul 23 02:40:46 2003 -+++ ./Vk/VkPrefItem.h Wed Jul 23 02:41:01 2003 -@@ -45,6 +45,8 @@ - - #include <string> - -+using std::string; -+ - class VkPrefItem : public VkComponent { - public: - enum VkPrefItemType {PI_group, PI_list, PI_radio, PI_text, PI_toggle, diff -urN /usr/ports/x11-toolkits/viewklass/files/patch-VkAlignmentGroup.C x11-toolkits/viewklass/files/patch-VkAlignmentGroup.C --- /usr/ports/x11-toolkits/viewklass/files/patch-VkAlignmentGroup.C Sat Aug 2 11:36:11 2003 +++ x11-toolkits/viewklass/files/patch-VkAlignmentGroup.C Thu Jan 1 09:00:00 1970 @@ -1,11 +0,0 @@ ---- ./VkAlignmentGroup.C.orig Wed Jul 23 02:44:15 2003 -+++ ./VkAlignmentGroup.C Wed Jul 23 02:45:22 2003 -@@ -36,6 +36,8 @@ - - #include <Vk/VkAlignmentGroup.h> - -+using std::endl; -+ - VkAlignmentGroup::VkAlignmentGroup() - : VkWidgetList(), - _maxWidth(0), diff -urN /usr/ports/x11-toolkits/viewklass/files/patch-VkCallbackObject.C x11-toolkits/viewklass/files/patch-VkCallbackObject.C --- /usr/ports/x11-toolkits/viewklass/files/patch-VkCallbackObject.C Sat Aug 2 11:36:11 2003 +++ x11-toolkits/viewklass/files/patch-VkCallbackObject.C Thu Jan 1 09:00:00 1970 @@ -1,12 +0,0 @@ ---- ./VkCallbackObject.C.orig Wed Jul 23 02:08:26 2003 -+++ ./VkCallbackObject.C Wed Jul 23 02:09:04 2003 -@@ -45,6 +45,9 @@ - #include <Vk/VkCallbackObject.h> - #include <Vk/VkCallbackList.h> - -+using std::cerr; -+using std::endl; -+ - VkCallbackObject::VkCallbackObject() - { - } diff -urN /usr/ports/x11-toolkits/viewklass/files/patch-VkComponent.C x11-toolkits/viewklass/files/patch-VkComponent.C --- /usr/ports/x11-toolkits/viewklass/files/patch-VkComponent.C Sat Aug 2 11:36:11 2003 +++ x11-toolkits/viewklass/files/patch-VkComponent.C Thu Jan 1 09:00:00 1970 @@ -1,13 +0,0 @@ ---- ./VkComponent.C.orig Wed Jul 23 02:12:18 2003 -+++ ./VkComponent.C Wed Jul 23 02:13:09 2003 -@@ -46,6 +46,10 @@ - #include <Vk/VkComponent.h> - #include <Vk/VkApp.h> - -+using std::string; -+using std::cerr; -+using std::endl; -+ - const char *const VkComponent::deleteCallback = "VkComponentDeleteCallback"; - - VkComponent::VkComponent(const char *name) diff -urN /usr/ports/x11-toolkits/viewklass/files/patch-VkNameList.C x11-toolkits/viewklass/files/patch-VkNameList.C --- /usr/ports/x11-toolkits/viewklass/files/patch-VkNameList.C Sat Aug 2 11:36:11 2003 +++ x11-toolkits/viewklass/files/patch-VkNameList.C Thu Jan 1 09:00:00 1970 @@ -1,11 +0,0 @@ ---- ./VkNameList.C.orig Wed Jul 23 02:39:09 2003 -+++ ./VkNameList.C Wed Jul 23 02:39:23 2003 -@@ -105,7 +105,7 @@ - } - - void --VkNameList::remove(int index, int count=1) -+VkNameList::remove(int index, int count) - { - _contents.erase(_contents.begin() + index, - _contents.begin() + index + count); diff -urN /usr/ports/x11-toolkits/viewklass/files/patch-VkPipe.C x11-toolkits/viewklass/files/patch-VkPipe.C --- /usr/ports/x11-toolkits/viewklass/files/patch-VkPipe.C Sat Aug 2 11:36:11 2003 +++ x11-toolkits/viewklass/files/patch-VkPipe.C Thu Jan 1 09:00:00 1970 @@ -1,11 +0,0 @@ ---- ./VkPipe.C.orig Wed Jul 23 02:33:13 2003 -+++ ./VkPipe.C Wed Jul 23 03:05:28 2003 -@@ -67,7 +67,7 @@ - _input->attach(pipefd[0], XtInputReadMask); - _input->addCallback(VkInput::inputCallback, - this, -- (VkCallbackMethod)&(VkPipe::handleInput)); -+ (VkCallbackMethod)(&VkPipe::handleInput)); - } - - VkPipe::~VkPipe() diff -urN /usr/ports/x11-toolkits/viewklass/files/patch-VkPrefRadio.C x11-toolkits/viewklass/files/patch-VkPrefRadio.C --- /usr/ports/x11-toolkits/viewklass/files/patch-VkPrefRadio.C Sat Aug 2 11:36:11 2003 +++ x11-toolkits/viewklass/files/patch-VkPrefRadio.C Thu Jan 1 09:00:00 1970 @@ -1,13 +0,0 @@ ---- ./VkPrefRadio.C.orig Wed Jul 23 02:42:07 2003 -+++ ./VkPrefRadio.C Wed Jul 23 02:42:38 2003 -@@ -40,6 +40,10 @@ - #include <Xm/Form.h> - - #include <Vk/VkPrefRadio.h> -+#include <iostream> -+ -+using std::cerr; -+using std::endl; - - // A VkPrefRadio is a vertical VkPrefGroup with no label - VkPrefRadio::VkPrefRadio(const char *name, diff -urN /usr/ports/x11-toolkits/viewklass/files/patch-VkRadioGroup.C x11-toolkits/viewklass/files/patch-VkRadioGroup.C --- /usr/ports/x11-toolkits/viewklass/files/patch-VkRadioGroup.C Sat Aug 2 11:36:11 2003 +++ x11-toolkits/viewklass/files/patch-VkRadioGroup.C Thu Jan 1 09:00:00 1970 @@ -1,31 +0,0 @@ ---- ./VkRadioGroup.C.orig Wed Jul 23 02:25:08 2003 -+++ ./VkRadioGroup.C Wed Jul 23 02:31:58 2003 -@@ -47,11 +47,15 @@ - #include <Xm/ToggleBG.h> - #include <Xm/PushB.h> - #include <Xm/PushBG.h> -+#include <iostream> -+ -+using std::cerr; -+using std::endl; - - VkRadioGroup::VkRadioGroup() - : VkWidgetList() - { -- _currentlySelected = 0; -+ //_currentlySelected = 0; - } - - void -@@ -77,9 +81,9 @@ - void - VkRadioGroup::remove(Widget item) - { -- if (*_currentlySelected == item) -+ /*if (*_currentlySelected == item) - _currentlySelected = 0; -- else if (_currentlySelected > VkWidgetList::find(item)) -+ else */ if (_currentlySelected > VkWidgetList::find(item)) - _currentlySelected --; - - XtRemoveCallback(item, XmNvalueChangedCallback, diff -urN /usr/ports/x11-toolkits/viewklass/files/patch-VkSimpleWindow.C x11-toolkits/viewklass/files/patch-VkSimpleWindow.C --- /usr/ports/x11-toolkits/viewklass/files/patch-VkSimpleWindow.C Sat Aug 2 11:36:11 2003 +++ x11-toolkits/viewklass/files/patch-VkSimpleWindow.C Thu Jan 1 09:00:00 1970 @@ -1,13 +0,0 @@ ---- ./VkSimpleWindow.C.orig Wed Jul 23 02:18:56 2003 -+++ ./VkSimpleWindow.C Wed Jul 23 02:20:37 2003 -@@ -44,6 +44,10 @@ - #include <X11/Xutil.h> - #include <X11/Xmu/Editres.h> - -+using std::cerr; -+using std::endl; -+using std::exception; -+ - static char* rcsid - #ifdef __GNUC__ - __attribute__ ((unused)) diff -urN /usr/ports/x11-toolkits/viewklass/files/patch-VkSubProcess.C x11-toolkits/viewklass/files/patch-VkSubProcess.C --- /usr/ports/x11-toolkits/viewklass/files/patch-VkSubProcess.C Sat Aug 2 11:36:11 2003 +++ x11-toolkits/viewklass/files/patch-VkSubProcess.C Thu Jan 1 09:00:00 1970 @@ -1,13 +0,0 @@ ---- ./VkSubProcess.C.orig Wed Jul 23 02:39:49 2003 -+++ ./VkSubProcess.C Wed Jul 23 02:40:21 2003 -@@ -40,6 +40,10 @@ - #include <signal.h> - #include <stdio.h> - #include <unistd.h> // for exec* -+#include <iostream> -+ -+using std::cerr; -+using std::endl; - - VkSubProcess::VkSubProcess(char *prog, - VkNameList *given, diff -urN /usr/ports/x11-toolkits/viewklass/files/patch-VkTrace.C x11-toolkits/viewklass/files/patch-VkTrace.C --- /usr/ports/x11-toolkits/viewklass/files/patch-VkTrace.C Sat Aug 2 12:36:23 2003 +++ x11-toolkits/viewklass/files/patch-VkTrace.C Thu Jan 1 09:00:00 1970 @@ -1,16 +0,0 @@ ---- VkTrace.C.orig Thu Jul 11 08:46:58 2002 -+++ VkTrace.C Wed Jul 23 03:22:53 2003 -@@ -28,8 +28,13 @@ - #include <stdio.h> - #include <time.h> - #include <string.h> -+#include <stdarg.h> - - #include <Vk/VkTrace.h> -+#include <fstream> -+ -+using std::ofstream; -+using std::endl; - - ofstream* vkTraceOut = 0; - diff -urN /usr/ports/x11-toolkits/viewklass/files/patch-VkWindow.C x11-toolkits/viewklass/files/patch-VkWindow.C --- /usr/ports/x11-toolkits/viewklass/files/patch-VkWindow.C Sat Aug 2 11:36:11 2003 +++ x11-toolkits/viewklass/files/patch-VkWindow.C Thu Jan 1 09:00:00 1970 @@ -1,13 +0,0 @@ ---- ./VkWindow.C.orig Wed Jul 23 02:21:06 2003 -+++ ./VkWindow.C Wed Jul 23 02:21:39 2003 -@@ -42,6 +42,10 @@ - #include <Vk/VkWindow.h> - #include <iostream.h> - -+using std::cerr; -+using std::endl; -+using std::exception; -+ - VkWindow::VkWindow(const char* name, - ArgList args, - Cardinal argCount) diff -urN /usr/ports/x11-toolkits/viewklass/pkg-plist x11-toolkits/viewklass/pkg-plist --- /usr/ports/x11-toolkits/viewklass/pkg-plist Wed Nov 20 23:46:58 2002 +++ x11-toolkits/viewklass/pkg-plist Sun Jan 4 11:28:11 2004 @@ -34,11 +34,13 @@ include/Vk/VkMenuSeparator.h include/Vk/VkMenuToggle.h include/Vk/VkMenuUndoManager.h +include/Vk/VkMessageDialog.h include/Vk/VkModel.h include/Vk/VkNameList.h include/Vk/VkOptionMenu.h include/Vk/VkPeriodic.h include/Vk/VkPipe.h +include/Vk/VkPixmap.h include/Vk/VkPopupMenu.h include/Vk/VkPrefCustom.h include/Vk/VkPrefDialog.h >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040105234551.6a8bb41a.tkato>