summaryrefslogtreecommitdiff
path: root/graphics/dx
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2012-04-17 17:44:02 +0000
committerjoerg <joerg@pkgsrc.org>2012-04-17 17:44:02 +0000
commitce40da43ac935ab90d38a3063606c30113e5e679 (patch)
treeb2bc353662209b575a7407a6a9d1527f1778e4aa /graphics/dx
parent6f91bbababdd6e12b5b4a6ac0085c65e3635704b (diff)
downloadpkgsrc-ce40da43ac935ab90d38a3063606c30113e5e679.tar.gz
Fix standard compliance with regard to main. Bump revision.
Diffstat (limited to 'graphics/dx')
-rw-r--r--graphics/dx/Makefile4
-rw-r--r--graphics/dx/distinfo21
-rw-r--r--graphics/dx/patches/patch-src_uipp_base_Application.C43
-rw-r--r--graphics/dx/patches/patch-src_uipp_base_Application.h35
-rw-r--r--graphics/dx/patches/patch-src_uipp_base_IBMApplication.C23
-rw-r--r--graphics/dx/patches/patch-src_uipp_base_IBMApplication.h22
-rw-r--r--graphics/dx/patches/patch-src_uipp_dxui_Main.C14
-rw-r--r--graphics/dx/patches/patch-src_uipp_dxuilib_DXApplication.C14
-rw-r--r--graphics/dx/patches/patch-src_uipp_dxuilib_DXApplication.h14
-rw-r--r--graphics/dx/patches/patch-src_uipp_mb_MBApplication.C14
-rw-r--r--graphics/dx/patches/patch-src_uipp_mb_MBApplication.h14
-rw-r--r--graphics/dx/patches/patch-src_uipp_mb_Main.C14
-rw-r--r--graphics/dx/patches/patch-src_uipp_prompter_GARApplication.C14
-rw-r--r--graphics/dx/patches/patch-src_uipp_prompter_GARApplication.h14
-rw-r--r--graphics/dx/patches/patch-src_uipp_prompter_Main.C14
-rw-r--r--graphics/dx/patches/patch-src_uipp_startup_Main.C14
-rw-r--r--graphics/dx/patches/patch-src_uipp_startup_StartupApplication.C14
-rw-r--r--graphics/dx/patches/patch-src_uipp_startup_StartupApplication.h13
-rw-r--r--graphics/dx/patches/patch-src_uipp_tutor_Main.C14
-rw-r--r--graphics/dx/patches/patch-src_uipp_tutor_TutorApplication.C14
-rw-r--r--graphics/dx/patches/patch-src_uipp_tutor_TutorApplication.h14
21 files changed, 354 insertions, 3 deletions
diff --git a/graphics/dx/Makefile b/graphics/dx/Makefile
index a21a723a5de..ae914a22de2 100644
--- a/graphics/dx/Makefile
+++ b/graphics/dx/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.62 2012/03/06 23:26:38 joerg Exp $
+# $NetBSD: Makefile,v 1.63 2012/04/17 17:44:02 joerg Exp $
DISTNAME= dx-4.4.4
-PKGREVISION= 15
+PKGREVISION= 16
CATEGORIES= graphics
MASTER_SITES= http://opendx.npaci.edu/source/
diff --git a/graphics/dx/distinfo b/graphics/dx/distinfo
index 9fc16687b11..11799edb018 100644
--- a/graphics/dx/distinfo
+++ b/graphics/dx/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.13 2012/03/06 23:26:38 joerg Exp $
+$NetBSD: distinfo,v 1.14 2012/04/17 17:44:02 joerg Exp $
SHA1 (dx-4.4.4.tar.gz) = c8e4d72d169675c66acd2135599b211d80810f76
RMD160 (dx-4.4.4.tar.gz) = db4cff78c9712a6e1e19265b0f42fdb87ab5ff7b
@@ -16,3 +16,22 @@ SHA1 (patch-an) = 39f15b7cc2558aa96c813487deb74f49a5f45f54
SHA1 (patch-ap) = 960cc73c8a3d42fa2fb1a4cb0bd0f4e3d918babf
SHA1 (patch-ar) = cafb9f3eec34cc3909eea194c644497ad53960ca
SHA1 (patch-ba) = 41d20e76feebdb049729e46ca4240ccc41f51b1d
+SHA1 (patch-src_uipp_base_Application.C) = 2d947d8b40a9da10e4122e6013e29554deb8aeec
+SHA1 (patch-src_uipp_base_Application.h) = 006d80bd4ada9dd2bf06e46a6dc1e120aae54aeb
+SHA1 (patch-src_uipp_base_IBMApplication.C) = f2767b02ae68f173ee1cf239a0de3ceaf148c4e5
+SHA1 (patch-src_uipp_base_IBMApplication.h) = 23fb1c28939945b74cace4c9d5b288c3ca980a0b
+SHA1 (patch-src_uipp_dxui_Main.C) = 003942b7e4792b48c57c730545d8dd7f2d4ba2a0
+SHA1 (patch-src_uipp_dxuilib_DXApplication.C) = c30c07c4a64cdd1714fa106bb395450399202301
+SHA1 (patch-src_uipp_dxuilib_DXApplication.h) = da63ba65de3615da077c0e5cba763ff29c664ef9
+SHA1 (patch-src_uipp_mb_MBApplication.C) = 2e1253c880d8c1c800f3a6f338aa240f30fe5448
+SHA1 (patch-src_uipp_mb_MBApplication.h) = d166a22ade9cfba902a1b5428cbf09ebd165d166
+SHA1 (patch-src_uipp_mb_Main.C) = 6623a5f0bea972c13092df7bd0583b30c28dc435
+SHA1 (patch-src_uipp_prompter_GARApplication.C) = ddb43c7c103f1a20c1ec725f8f5c977c3821eb4b
+SHA1 (patch-src_uipp_prompter_GARApplication.h) = 76d2e0cdd45603692b3fbf1b6a044a0ab93e5e25
+SHA1 (patch-src_uipp_prompter_Main.C) = a47d59c7782e58667fb01bf23318dbf5ba990e5b
+SHA1 (patch-src_uipp_startup_Main.C) = 021356ce0dafd3a3d49229251588a373eaa40bba
+SHA1 (patch-src_uipp_startup_StartupApplication.C) = a0a01c96b83c078d7abae7b1464b685fb87afff0
+SHA1 (patch-src_uipp_startup_StartupApplication.h) = 61fef8f3d67ef90f79e26fe72570c8dfa6aacc37
+SHA1 (patch-src_uipp_tutor_Main.C) = 367af42a93a559fd0f61e74c71241c595f0f5395
+SHA1 (patch-src_uipp_tutor_TutorApplication.C) = bc86b520ff0038d9f551fad7a2a2ff0c7c64dd5d
+SHA1 (patch-src_uipp_tutor_TutorApplication.h) = b0f77603935b49fc867d5d80feef25ca39134e28
diff --git a/graphics/dx/patches/patch-src_uipp_base_Application.C b/graphics/dx/patches/patch-src_uipp_base_Application.C
new file mode 100644
index 00000000000..697043056f6
--- /dev/null
+++ b/graphics/dx/patches/patch-src_uipp_base_Application.C
@@ -0,0 +1,43 @@
+$NetBSD: patch-src_uipp_base_Application.C,v 1.1 2012/04/17 17:44:02 joerg Exp $
+
+--- src/uipp/base/Application.C.orig 2012-04-16 23:44:12.000000000 +0000
++++ src/uipp/base/Application.C
+@@ -136,7 +136,7 @@ void Application::installDefaultResource
+ //this->setDefaultResources(baseWidget, Application::DefaultResources);
+ }
+
+-boolean Application::initializeWindowSystem(unsigned int *argcp, char **argv)
++boolean Application::initializeWindowSystem(int *argcp, char **argv)
+ {
+
+ //
+@@ -148,11 +148,7 @@ boolean Application::initializeWindowSys
+ this->applicationClass, // application class name
+ NULL, // command line options table
+ 0, // number of entries in options table
+-#if XtSpecificationRelease > 4
+- (int*)argcp,
+-#else
+ argcp,
+-#endif
+ argv, // "argv" command line arguments
+ #if XtSpecificationRelease > 4
+ NULL, // fallback resource list
+@@ -235,7 +231,7 @@ boolean Application::initializeWindowSys
+ return TRUE;
+ }
+
+-void Application::parseCommand(unsigned int* argcp, char** argv,
++void Application::parseCommand(int* argcp, char** argv,
+ XrmOptionDescList optlist, int optlistsize)
+ {
+ char res_file[256];
+@@ -280,7 +276,7 @@ void Application::parseCommand(unsigned
+ //
+ }
+
+-boolean Application::initialize(unsigned int* argcp, char** argv)
++boolean Application::initialize(int* argcp, char** argv)
+ {
+ //
+ // Initialize the window system if not done already.
diff --git a/graphics/dx/patches/patch-src_uipp_base_Application.h b/graphics/dx/patches/patch-src_uipp_base_Application.h
new file mode 100644
index 00000000000..2206a1fa63b
--- /dev/null
+++ b/graphics/dx/patches/patch-src_uipp_base_Application.h
@@ -0,0 +1,35 @@
+$NetBSD: patch-src_uipp_base_Application.h,v 1.1 2012/04/17 17:44:02 joerg Exp $
+
+--- src/uipp/base/Application.h.orig 2005-11-09 18:26:29.000000000 +0000
++++ src/uipp/base/Application.h
+@@ -49,8 +49,7 @@ class Application : public UIComponent,
+ //
+ // The main program needs to access protected member functions.
+ //
+- friend int main(unsigned int argc,
+- char** argv);
++ friend int main(int argc, char**argv);
+
+
+ //
+@@ -71,9 +70,9 @@ class Application : public UIComponent,
+ //
+ // Initialize the window system.
+ //
+- virtual boolean initializeWindowSystem(unsigned int *argcp, char **argv);
++ virtual boolean initializeWindowSystem(int *argcp, char **argv);
+
+- virtual void parseCommand(unsigned int* argcp, char** argv,
++ virtual void parseCommand(int* argcp, char** argv,
+ XrmOptionDescList optlist, int optlistsize);
+
+ //
+@@ -145,7 +144,7 @@ class Application : public UIComponent,
+ // Initializes any Application specfic state. This routine should
+ // be called by main() or subclasses only.
+ //
+- virtual boolean initialize(unsigned int* argcp, char** argv);
++ virtual boolean initialize(int* argcp, char** argv);
+
+ //
+ // Allow others to access our event processing mechanism
diff --git a/graphics/dx/patches/patch-src_uipp_base_IBMApplication.C b/graphics/dx/patches/patch-src_uipp_base_IBMApplication.C
new file mode 100644
index 00000000000..21cba20cca3
--- /dev/null
+++ b/graphics/dx/patches/patch-src_uipp_base_IBMApplication.C
@@ -0,0 +1,23 @@
+$NetBSD: patch-src_uipp_base_IBMApplication.C,v 1.1 2012/04/17 17:44:02 joerg Exp $
+
+--- src/uipp/base/IBMApplication.C.orig 2012-04-16 23:33:21.000000000 +0000
++++ src/uipp/base/IBMApplication.C
+@@ -349,7 +349,7 @@ int status;
+ }
+
+
+-boolean IBMApplication::initializeWindowSystem(unsigned int *argcp, char **argv)
++boolean IBMApplication::initializeWindowSystem(int *argcp, char **argv)
+ {
+
+ if (!this->Application::initializeWindowSystem(argcp, argv))
+@@ -375,8 +375,7 @@ boolean IBMApplication::initializeWindow
+ return TRUE;
+ }
+
+-boolean IBMApplication::initialize(unsigned int* argcp,
+- char** argv)
++boolean IBMApplication::initialize(int* argcp, char** argv)
+ {
+ if (!this->Application::initialize(argcp,argv))
+ return FALSE;
diff --git a/graphics/dx/patches/patch-src_uipp_base_IBMApplication.h b/graphics/dx/patches/patch-src_uipp_base_IBMApplication.h
new file mode 100644
index 00000000000..d07263621d8
--- /dev/null
+++ b/graphics/dx/patches/patch-src_uipp_base_IBMApplication.h
@@ -0,0 +1,22 @@
+$NetBSD: patch-src_uipp_base_IBMApplication.h,v 1.1 2012/04/17 17:44:02 joerg Exp $
+
+--- src/uipp/base/IBMApplication.h.orig 2012-04-16 23:33:18.000000000 +0000
++++ src/uipp/base/IBMApplication.h
+@@ -77,7 +77,7 @@ class IBMApplication : public Applicatio
+ //
+ // Initialize the window system.
+ //
+- virtual boolean initializeWindowSystem(unsigned int *argcp, char **argv);
++ virtual boolean initializeWindowSystem(int *argcp, char **argv);
+
+ //
+ // Protected member data:
+@@ -88,7 +88,7 @@ class IBMApplication : public Applicatio
+
+ HelpWin *helpWindow;
+
+- boolean initialize(unsigned int* argcp, char** argv);
++ boolean initialize(int* argcp, char** argv);
+
+ //
+ // Load application specific action routines
diff --git a/graphics/dx/patches/patch-src_uipp_dxui_Main.C b/graphics/dx/patches/patch-src_uipp_dxui_Main.C
new file mode 100644
index 00000000000..1b573211325
--- /dev/null
+++ b/graphics/dx/patches/patch-src_uipp_dxui_Main.C
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_uipp_dxui_Main.C,v 1.1 2012/04/17 17:44:02 joerg Exp $
+
+--- src/uipp/dxui/Main.C.orig 2005-12-07 17:50:53.000000000 +0000
++++ src/uipp/dxui/Main.C
+@@ -48,8 +48,7 @@ extern unsigned long _etext;
+ //
+ const char *AssertMsgString = "Internal error detected at \"%s\":%d.\n";
+
+-int main(unsigned int argc,
+- char** argv)
++int main(int argc, char **argv)
+ {
+ #if defined(HAVE_HCLXMINIT)
+ // The following is not needed with the recent Exceed XDK. If you're
diff --git a/graphics/dx/patches/patch-src_uipp_dxuilib_DXApplication.C b/graphics/dx/patches/patch-src_uipp_dxuilib_DXApplication.C
new file mode 100644
index 00000000000..a1e573fc6a5
--- /dev/null
+++ b/graphics/dx/patches/patch-src_uipp_dxuilib_DXApplication.C
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_uipp_dxuilib_DXApplication.C,v 1.1 2012/04/17 17:44:02 joerg Exp $
+
+--- src/uipp/dxuilib/DXApplication.C.orig 2006-06-22 19:45:34.000000000 +0000
++++ src/uipp/dxuilib/DXApplication.C
+@@ -2248,8 +2248,7 @@ void DXApplication::installDefaultResour
+ this->setDefaultResources(baseWidget, _defaultDXResources);
+ this->IBMApplication::installDefaultResources(baseWidget);
+ }
+-boolean DXApplication::initialize(unsigned int* argcp,
+- char** argv)
++boolean DXApplication::initialize(int* argcp, char** argv)
+ {
+ boolean wasSetBusy = FALSE;
+
diff --git a/graphics/dx/patches/patch-src_uipp_dxuilib_DXApplication.h b/graphics/dx/patches/patch-src_uipp_dxuilib_DXApplication.h
new file mode 100644
index 00000000000..61cbd341527
--- /dev/null
+++ b/graphics/dx/patches/patch-src_uipp_dxuilib_DXApplication.h
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_uipp_dxuilib_DXApplication.h,v 1.1 2012/04/17 17:44:03 joerg Exp $
+
+--- src/uipp/dxuilib/DXApplication.h.orig 2006-05-08 16:20:10.000000000 +0000
++++ src/uipp/dxuilib/DXApplication.h
+@@ -372,8 +372,7 @@ class DXApplication : public IBMApplicat
+ // Overrides the Application class version:
+ // Initializes Xt Intrinsics with option list (switches).
+ //
+- virtual boolean initialize(unsigned int* argcp,
+- char** argv);
++ virtual boolean initialize(int* argcp, char** argv);
+
+ //
+ // Override of superclass handleEvents() function:
diff --git a/graphics/dx/patches/patch-src_uipp_mb_MBApplication.C b/graphics/dx/patches/patch-src_uipp_mb_MBApplication.C
new file mode 100644
index 00000000000..a05200e1ab8
--- /dev/null
+++ b/graphics/dx/patches/patch-src_uipp_mb_MBApplication.C
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_uipp_mb_MBApplication.C,v 1.1 2012/04/17 17:44:03 joerg Exp $
+
+--- src/uipp/mb/MBApplication.C.orig 2006-05-08 16:20:13.000000000 +0000
++++ src/uipp/mb/MBApplication.C
+@@ -117,8 +117,7 @@ InitializeSignals(void)
+ #endif
+ }
+
+-boolean MBApplication::initialize(unsigned int* argcp,
+- char** argv)
++boolean MBApplication::initialize(int* argcp, char** argv)
+ {
+ ASSERT(argcp);
+ ASSERT(argv);
diff --git a/graphics/dx/patches/patch-src_uipp_mb_MBApplication.h b/graphics/dx/patches/patch-src_uipp_mb_MBApplication.h
new file mode 100644
index 00000000000..5398b8787d0
--- /dev/null
+++ b/graphics/dx/patches/patch-src_uipp_mb_MBApplication.h
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_uipp_mb_MBApplication.h,v 1.1 2012/04/17 17:44:03 joerg Exp $
+
+--- src/uipp/mb/MBApplication.h.orig 1999-05-10 15:46:25.000000000 +0000
++++ src/uipp/mb/MBApplication.h
+@@ -51,8 +51,7 @@ class MBApplication : public IBMApplicat
+ // Overrides the Application class version:
+ // Initializes Xt Intrinsics with option list (switches).
+ //
+- virtual boolean initialize(unsigned int* argcp,
+- char** argv);
++ virtual boolean initialize(int* argcp, char** argv);
+
+ static MBResource resource;
+
diff --git a/graphics/dx/patches/patch-src_uipp_mb_Main.C b/graphics/dx/patches/patch-src_uipp_mb_Main.C
new file mode 100644
index 00000000000..dd35cb4bf44
--- /dev/null
+++ b/graphics/dx/patches/patch-src_uipp_mb_Main.C
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_uipp_mb_Main.C,v 1.1 2012/04/17 17:44:03 joerg Exp $
+
+--- src/uipp/mb/Main.C.orig 2000-05-20 17:49:40.000000000 +0000
++++ src/uipp/mb/Main.C
+@@ -22,8 +22,7 @@ extern "C" void HCLXmInit();
+ //
+ const char *AssertMsgString = "Internal error detected at \"%s\":%d.\n";
+
+-int main(unsigned int argc,
+- char** argv)
++int main(int argc, char **argv)
+ {
+ #if defined(HAVE_HCLXMINIT)
+ HCLXmInit();
diff --git a/graphics/dx/patches/patch-src_uipp_prompter_GARApplication.C b/graphics/dx/patches/patch-src_uipp_prompter_GARApplication.C
new file mode 100644
index 00000000000..40cccd132e5
--- /dev/null
+++ b/graphics/dx/patches/patch-src_uipp_prompter_GARApplication.C
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_uipp_prompter_GARApplication.C,v 1.1 2012/04/17 17:44:03 joerg Exp $
+
+--- src/uipp/prompter/GARApplication.C.orig 2006-05-08 16:20:13.000000000 +0000
++++ src/uipp/prompter/GARApplication.C
+@@ -198,8 +198,7 @@ InitializeSignals(void)
+ }
+ }
+
+-boolean GARApplication::initialize(unsigned int* argcp,
+- char** argv)
++boolean GARApplication::initialize(int* argcp, char** argv)
+ {
+ ASSERT(argcp);
+ ASSERT(argv);
diff --git a/graphics/dx/patches/patch-src_uipp_prompter_GARApplication.h b/graphics/dx/patches/patch-src_uipp_prompter_GARApplication.h
new file mode 100644
index 00000000000..d8d632740ea
--- /dev/null
+++ b/graphics/dx/patches/patch-src_uipp_prompter_GARApplication.h
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_uipp_prompter_GARApplication.h,v 1.1 2012/04/17 17:44:03 joerg Exp $
+
+--- src/uipp/prompter/GARApplication.h.orig 2003-09-20 05:33:21.000000000 +0000
++++ src/uipp/prompter/GARApplication.h
+@@ -129,8 +129,7 @@ class GARApplication : public IBMApplica
+ // Overrides the Application class version:
+ // Initializes Xt Intrinsics with option list (switches).
+ //
+- virtual boolean initialize(unsigned int* argcp,
+- char** argv);
++ virtual boolean initialize(int* argcp, char** argv);
+
+ CommandScope *commandScope; // command scope
+
diff --git a/graphics/dx/patches/patch-src_uipp_prompter_Main.C b/graphics/dx/patches/patch-src_uipp_prompter_Main.C
new file mode 100644
index 00000000000..1ad069288c8
--- /dev/null
+++ b/graphics/dx/patches/patch-src_uipp_prompter_Main.C
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_uipp_prompter_Main.C,v 1.1 2012/04/17 17:44:03 joerg Exp $
+
+--- src/uipp/prompter/Main.C.orig 2000-05-16 18:52:59.000000000 +0000
++++ src/uipp/prompter/Main.C
+@@ -17,8 +17,7 @@ extern "C" void HCLXmInit();
+ #endif
+
+
+-int main(unsigned int argc,
+- char** argv)
++int main(int argc, char **argv)
+ {
+ #if defined(HAVE_HCLXMINIT)
+ HCLXmInit();
diff --git a/graphics/dx/patches/patch-src_uipp_startup_Main.C b/graphics/dx/patches/patch-src_uipp_startup_Main.C
new file mode 100644
index 00000000000..b8dca1f2a91
--- /dev/null
+++ b/graphics/dx/patches/patch-src_uipp_startup_Main.C
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_uipp_startup_Main.C,v 1.1 2012/04/17 17:44:03 joerg Exp $
+
+--- src/uipp/startup/Main.C.orig 2000-05-16 18:53:07.000000000 +0000
++++ src/uipp/startup/Main.C
+@@ -14,8 +14,7 @@
+ extern "C" void HCLXmInit();
+ #endif
+
+-int main(unsigned int argc,
+- char** argv)
++int main(int argc, char **argv)
+ {
+ #if defined(HAVE_HCLXMINIT)
+ HCLXmInit();
diff --git a/graphics/dx/patches/patch-src_uipp_startup_StartupApplication.C b/graphics/dx/patches/patch-src_uipp_startup_StartupApplication.C
new file mode 100644
index 00000000000..6155a60669a
--- /dev/null
+++ b/graphics/dx/patches/patch-src_uipp_startup_StartupApplication.C
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_uipp_startup_StartupApplication.C,v 1.1 2012/04/17 17:44:03 joerg Exp $
+
+--- src/uipp/startup/StartupApplication.C.orig 2005-11-10 19:48:22.000000000 +0000
++++ src/uipp/startup/StartupApplication.C
+@@ -117,8 +117,7 @@ InitializeSignals(void)
+ #endif
+ }
+
+-boolean StartupApplication::initialize(unsigned int* argcp,
+- char** argv)
++boolean StartupApplication::initialize(int* argcp, char** argv)
+ {
+ ASSERT(argcp);
+ ASSERT(argv);
diff --git a/graphics/dx/patches/patch-src_uipp_startup_StartupApplication.h b/graphics/dx/patches/patch-src_uipp_startup_StartupApplication.h
new file mode 100644
index 00000000000..e9c472aa025
--- /dev/null
+++ b/graphics/dx/patches/patch-src_uipp_startup_StartupApplication.h
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_uipp_startup_StartupApplication.h,v 1.1 2012/04/17 17:44:03 joerg Exp $
+
+--- src/uipp/startup/StartupApplication.h.orig 2003-09-20 05:33:56.000000000 +0000
++++ src/uipp/startup/StartupApplication.h
+@@ -84,7 +84,7 @@ class StartupApplication : public IBMApp
+ // Overrides the Application class version:
+ // Initializes Xt Intrinsics with option list (switches).
+ //
+- virtual boolean initialize(unsigned int* argcp, char**argv);
++ virtual boolean initialize(int* argcp, char**argv);
+
+ CommandScope *commandScope; // command scope
+
diff --git a/graphics/dx/patches/patch-src_uipp_tutor_Main.C b/graphics/dx/patches/patch-src_uipp_tutor_Main.C
new file mode 100644
index 00000000000..7fd8de1ee97
--- /dev/null
+++ b/graphics/dx/patches/patch-src_uipp_tutor_Main.C
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_uipp_tutor_Main.C,v 1.1 2012/04/17 17:44:03 joerg Exp $
+
+--- src/uipp/tutor/Main.C.orig 2000-05-16 18:53:15.000000000 +0000
++++ src/uipp/tutor/Main.C
+@@ -31,8 +31,7 @@ extern "C" void HCLXmInit();
+ //
+ const char *AssertMsgString = "Internal error detected at \"%s\":%d.\n";
+
+-int main(unsigned int argc,
+- char** argv)
++int main(int argc, char **argv)
+ {
+ #if defined(HAVE_HCLXMINIT)
+ HCLXmInit();
diff --git a/graphics/dx/patches/patch-src_uipp_tutor_TutorApplication.C b/graphics/dx/patches/patch-src_uipp_tutor_TutorApplication.C
new file mode 100644
index 00000000000..a5f1930c6b2
--- /dev/null
+++ b/graphics/dx/patches/patch-src_uipp_tutor_TutorApplication.C
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_uipp_tutor_TutorApplication.C,v 1.1 2012/04/17 17:44:03 joerg Exp $
+
+--- src/uipp/tutor/TutorApplication.C.orig 2006-05-08 16:20:14.000000000 +0000
++++ src/uipp/tutor/TutorApplication.C
+@@ -196,8 +196,7 @@ InitializeSignals(void)
+ #endif
+ }
+
+-boolean TutorApplication::initialize(unsigned int* argcp,
+- char** argv)
++boolean TutorApplication::initialize(int* argcp, char** argv)
+ {
+ ASSERT(argcp);
+ ASSERT(argv);
diff --git a/graphics/dx/patches/patch-src_uipp_tutor_TutorApplication.h b/graphics/dx/patches/patch-src_uipp_tutor_TutorApplication.h
new file mode 100644
index 00000000000..9b1ff26e8c0
--- /dev/null
+++ b/graphics/dx/patches/patch-src_uipp_tutor_TutorApplication.h
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_uipp_tutor_TutorApplication.h,v 1.1 2012/04/17 17:44:03 joerg Exp $
+
+--- src/uipp/tutor/TutorApplication.h.orig 1999-05-10 15:46:30.000000000 +0000
++++ src/uipp/tutor/TutorApplication.h
+@@ -69,8 +69,7 @@ class TutorApplication : public IBMAppli
+ // Overrides the Application class version:
+ // Initializes Xt Intrinsics with option list (switches).
+ //
+- virtual boolean initialize(unsigned int* argcp,
+- char** argv);
++ virtual boolean initialize(int* argcp, char** argv);
+
+ //
+ // Handle Xt Warnings (called by TutorApplication_XtWarningHandler, static, above)