summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2006-07-31 11:28:39 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2006-07-31 11:28:39 +0800
commit25d1a3033fc1968628c7a7224c345b656bef0984 (patch)
tree868f4eaa6323706cd186210f8cd6c604a943f1d8 /graphics
parent0d50c0b23784053a9fbae34cac66f9cec48f9982 (diff)
downloadmarcuscom-ports-25d1a3033fc1968628c7a7224c345b656bef0984.tar
marcuscom-ports-25d1a3033fc1968628c7a7224c345b656bef0984.tar.gz
marcuscom-ports-25d1a3033fc1968628c7a7224c345b656bef0984.tar.bz2
marcuscom-ports-25d1a3033fc1968628c7a7224c345b656bef0984.tar.lz
marcuscom-ports-25d1a3033fc1968628c7a7224c345b656bef0984.tar.xz
marcuscom-ports-25d1a3033fc1968628c7a7224c345b656bef0984.tar.zst
marcuscom-ports-25d1a3033fc1968628c7a7224c345b656bef0984.zip
X11BASE -> LOCALBASE, gtk12 lives in LOCALBASE. Bump the PORTREVISION.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6899 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'graphics')
-rw-r--r--graphics/gsculpt/Makefile38
-rw-r--r--graphics/gsculpt/distinfo3
-rw-r--r--graphics/gsculpt/files/patch-Makefile27
-rw-r--r--graphics/gsculpt/files/patch-src::Edges::CEdgeContainer.h10
-rw-r--r--graphics/gsculpt/files/patch-src::Editor::StatusBar.h11
-rw-r--r--graphics/gsculpt/files/patch-src::Editor::Toolbox.h11
-rw-r--r--graphics/gsculpt/files/patch-src::Events::Event.h11
-rw-r--r--graphics/gsculpt/files/patch-src::Faces::CFace.h10
-rw-r--r--graphics/gsculpt/files/patch-src::FileIO::fileio.h11
-rw-r--r--graphics/gsculpt/files/patch-src::Journal::JournalTaskProgress.h11
-rw-r--r--graphics/gsculpt/files/patch-src::LogGrid::CGrid.h11
-rw-r--r--graphics/gsculpt/files/patch-src::Math::BBox.h10
-rw-r--r--graphics/gsculpt/files/patch-src::Model::CModel.cpp23
-rw-r--r--graphics/gsculpt/files/patch-src::ObjEdit::ObjectCollection.cpp19
-rw-r--r--graphics/gsculpt/files/patch-src::ObjEdit::ObjectCollection.h14
-rw-r--r--graphics/gsculpt/files/patch-src::Patch::Patch.h11
-rw-r--r--graphics/gsculpt/files/patch-src::PolylineTools::ToolPolyDraw.cpp11
-rw-r--r--graphics/gsculpt/files/patch-src::SelectTools::ToolSelectBase.cpp11
-rw-r--r--graphics/gsculpt/files/patch-src::Templates::array.h11
-rw-r--r--graphics/gsculpt/files/patch-src::Tools::ToolGroup.h12
-rw-r--r--graphics/gsculpt/files/patch-src::Tools::Toolset.h12
-rw-r--r--graphics/gsculpt/files/patch-src::TypeManager::TypeManager.h14
-rw-r--r--graphics/gsculpt/files/patch-src::Widgets::ListManager.cpp11
-rw-r--r--graphics/gsculpt/files/patch-src::Widgets::ListManager.h12
-rw-r--r--graphics/gsculpt/files/patch-src::Widgets::NameDialog.cpp13
-rw-r--r--graphics/gsculpt/files/patch-src::Widgets::NameDialog.h11
-rw-r--r--graphics/gsculpt/files/patch-src::Widgets::VectorWidget.cpp12
-rw-r--r--graphics/gsculpt/files/patch-src::Widgets::messageBox.h12
-rw-r--r--graphics/gsculpt/files/patch-src::WorkArea::CAEH_grid.cpp11
-rw-r--r--graphics/gsculpt/files/patch-src::WorkArea::DrawingArea.h11
-rw-r--r--graphics/gsculpt/files/patch-src::XformTools::ToolTransformModel.cpp11
-rw-r--r--graphics/gsculpt/pkg-descr5
32 files changed, 411 insertions, 0 deletions
diff --git a/graphics/gsculpt/Makefile b/graphics/gsculpt/Makefile
new file mode 100644
index 000000000..4267a45ca
--- /dev/null
+++ b/graphics/gsculpt/Makefile
@@ -0,0 +1,38 @@
+# ex:ts=8
+# New ports collection makefile for: gSculpt
+# Date created: Oct 10, 2001
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= gsculpt
+PORTVERSION= 0.3
+PORTREVISION= 4
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+DISTNAME= gSculpt-${PORTVERSION}-src
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= An Opensource 3D modelling application
+
+PLIST_FILES= bin/gsculpt
+WRKSRC= ${WRKDIR}/gSculpt-${PORTVERSION}
+USE_GNOME= gtk12
+USE_GMAKE= yes
+
+.include <bsd.port.pre.mk>
+
+post-patch:
+ @${REINPLACE_CMD} -e "s,-O3 -Wall -Werror,${CXXFLAGS},g ; \
+ s,gtk-config,${GTK_CONFIG},g ; \
+ s,/usr/include/glib.h,${LOCALBASE}/include/glib12/glib.h,g ; \
+ s,/usr/include/gtk/,${LOCALBASE}/include/gtk12/gtk/,g ; \
+ s,/usr/include/gdk/,${LOCALBASE}/include/gtk12/gdk/,g" \
+ ${WRKSRC}/Makefile
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/gsculpt ${PREFIX}/bin
+
+.include <bsd.port.post.mk>
diff --git a/graphics/gsculpt/distinfo b/graphics/gsculpt/distinfo
new file mode 100644
index 000000000..bd58d60c3
--- /dev/null
+++ b/graphics/gsculpt/distinfo
@@ -0,0 +1,3 @@
+MD5 (gSculpt-0.3-src.tar.gz) = acd33484cfd48677caec059ef8f77e43
+SHA256 (gSculpt-0.3-src.tar.gz) = cea315052c4dc2c82d9fb375f8a770b0224fe4c63a51f1f3cc4c79cc64edc179
+SIZE (gSculpt-0.3-src.tar.gz) = 157228
diff --git a/graphics/gsculpt/files/patch-Makefile b/graphics/gsculpt/files/patch-Makefile
new file mode 100644
index 000000000..7612dd4ea
--- /dev/null
+++ b/graphics/gsculpt/files/patch-Makefile
@@ -0,0 +1,27 @@
+--- Makefile.orig Mon Jul 21 19:59:12 2003
++++ Makefile Mon Jul 21 19:59:38 2003
+@@ -27,7 +27,6 @@
+
+ # C
+
+-CC := gcc
+ CFLAGS = ${DEPENDFLAGS}
+
+ %.o : %.c
+@@ -35,7 +34,6 @@
+
+ # C++
+
+-CXX := g++
+ CXXFLAGS = ${DEPENDFLAGS}
+
+ %.o : %.cc
+@@ -57,7 +55,7 @@
+
+ # linker
+
+-LINKER := g++
++LINKER := ${CXX}
+ LDFLAGS =
+ LOADLIBES := -O3 -lm `gtk-config --libs`
+
diff --git a/graphics/gsculpt/files/patch-src::Edges::CEdgeContainer.h b/graphics/gsculpt/files/patch-src::Edges::CEdgeContainer.h
new file mode 100644
index 000000000..41590d53b
--- /dev/null
+++ b/graphics/gsculpt/files/patch-src::Edges::CEdgeContainer.h
@@ -0,0 +1,10 @@
+--- ./src/Edges/CEdgeContainer.h.orig Mon Jul 21 18:32:59 2003
++++ ./src/Edges/CEdgeContainer.h Mon Jul 21 18:33:24 2003
+@@ -13,6 +13,7 @@
+
+ #include "CEdge.h"
+
++using std::set;
+
+ /*
+ *******************************************************************************
diff --git a/graphics/gsculpt/files/patch-src::Editor::StatusBar.h b/graphics/gsculpt/files/patch-src::Editor::StatusBar.h
new file mode 100644
index 000000000..05288044f
--- /dev/null
+++ b/graphics/gsculpt/files/patch-src::Editor::StatusBar.h
@@ -0,0 +1,11 @@
+--- ./src/Editor/StatusBar.h.orig Mon Jul 21 16:36:37 2003
++++ ./src/Editor/StatusBar.h Mon Jul 21 16:36:49 2003
+@@ -9,7 +9,7 @@
+
+ #include <gtk/gtkwidget.h>
+
+-
++using std::string;
+
+ class StatusBar
+ {
diff --git a/graphics/gsculpt/files/patch-src::Editor::Toolbox.h b/graphics/gsculpt/files/patch-src::Editor::Toolbox.h
new file mode 100644
index 000000000..9912d1691
--- /dev/null
+++ b/graphics/gsculpt/files/patch-src::Editor::Toolbox.h
@@ -0,0 +1,11 @@
+--- ./src/Editor/Toolbox.h.orig Mon Jul 21 18:37:37 2003
++++ ./src/Editor/Toolbox.h Mon Jul 21 18:37:46 2003
+@@ -13,7 +13,7 @@
+
+ #include <gtk/gtkwidget.h>
+
+-
++using std::string;
+
+ class Toolbox
+ {
diff --git a/graphics/gsculpt/files/patch-src::Events::Event.h b/graphics/gsculpt/files/patch-src::Events::Event.h
new file mode 100644
index 000000000..e79de7bc1
--- /dev/null
+++ b/graphics/gsculpt/files/patch-src::Events::Event.h
@@ -0,0 +1,11 @@
+--- ./src/Events/Event.h.orig Mon Jul 21 16:31:20 2003
++++ ./src/Events/Event.h Mon Jul 21 16:31:32 2003
+@@ -10,7 +10,7 @@
+ #define EVENTH
+
+ #include <string>
+-
++using std::string;
+
+
+
diff --git a/graphics/gsculpt/files/patch-src::Faces::CFace.h b/graphics/gsculpt/files/patch-src::Faces::CFace.h
new file mode 100644
index 000000000..24f6eb5e4
--- /dev/null
+++ b/graphics/gsculpt/files/patch-src::Faces::CFace.h
@@ -0,0 +1,10 @@
+--- ./src/Faces/CFace.h.orig Mon Jul 21 18:33:51 2003
++++ ./src/Faces/CFace.h Mon Jul 21 18:34:02 2003
+@@ -17,6 +17,7 @@
+
+ #include "Point3.h"
+
++using std::vector;
+
+ /*
+ *******************************************************************************
diff --git a/graphics/gsculpt/files/patch-src::FileIO::fileio.h b/graphics/gsculpt/files/patch-src::FileIO::fileio.h
new file mode 100644
index 000000000..3c0ad9085
--- /dev/null
+++ b/graphics/gsculpt/files/patch-src::FileIO::fileio.h
@@ -0,0 +1,11 @@
+--- ./src/FileIO/fileio.h.orig Mon Jul 21 16:28:28 2003
++++ ./src/FileIO/fileio.h Mon Jul 21 16:28:40 2003
+@@ -8,7 +8,7 @@
+ #include <stdio.h>
+
+ #include <string>
+-
++using std::string;
+
+ string readString(FILE *f);
+ void writeString(FILE *f, const string& s);
diff --git a/graphics/gsculpt/files/patch-src::Journal::JournalTaskProgress.h b/graphics/gsculpt/files/patch-src::Journal::JournalTaskProgress.h
new file mode 100644
index 000000000..572aeed90
--- /dev/null
+++ b/graphics/gsculpt/files/patch-src::Journal::JournalTaskProgress.h
@@ -0,0 +1,11 @@
+--- ./src/Journal/JournalTaskProgress.h.orig Mon Jul 21 16:38:59 2003
++++ ./src/Journal/JournalTaskProgress.h Mon Jul 21 16:39:09 2003
+@@ -10,7 +10,7 @@
+
+ #include "MultiThreading.h"
+
+-
++using std::string;
+
+
+ class JournalTaskProgress
diff --git a/graphics/gsculpt/files/patch-src::LogGrid::CGrid.h b/graphics/gsculpt/files/patch-src::LogGrid::CGrid.h
new file mode 100644
index 000000000..409b3b140
--- /dev/null
+++ b/graphics/gsculpt/files/patch-src::LogGrid::CGrid.h
@@ -0,0 +1,11 @@
+--- ./src/LogGrid/CGrid.h.orig Mon Jul 21 16:32:01 2003
++++ ./src/LogGrid/CGrid.h Mon Jul 21 16:32:11 2003
+@@ -6,7 +6,7 @@
+ #define CGRIDH
+
+ #include <list>
+-
++using std::list;
+
+ #include "array.h"
+
diff --git a/graphics/gsculpt/files/patch-src::Math::BBox.h b/graphics/gsculpt/files/patch-src::Math::BBox.h
new file mode 100644
index 000000000..2747163d1
--- /dev/null
+++ b/graphics/gsculpt/files/patch-src::Math::BBox.h
@@ -0,0 +1,10 @@
+--- ./src/Math/BBox.h.orig Mon Jul 21 16:29:27 2003
++++ ./src/Math/BBox.h Mon Jul 21 16:30:21 2003
+@@ -12,6 +12,7 @@
+ #include "Point3.h"
+ #include "Plane.h"
+ #include "Line3.h"
++using std::vector;
+
+
+
diff --git a/graphics/gsculpt/files/patch-src::Model::CModel.cpp b/graphics/gsculpt/files/patch-src::Model::CModel.cpp
new file mode 100644
index 000000000..9461fdb76
--- /dev/null
+++ b/graphics/gsculpt/files/patch-src::Model::CModel.cpp
@@ -0,0 +1,23 @@
+--- ./src/Model/CModel.cpp.orig Mon Jul 21 18:40:40 2003
++++ ./src/Model/CModel.cpp Mon Jul 21 18:41:05 2003
+@@ -68,17 +68,17 @@
+ }
+
+
+-BBox CModel::getBBox(bool selectedOnly = true) const
++BBox CModel::getBBox(bool selectedOnly) const
+ {
+ return BBox();
+ }
+
+-BBox CModel::getBBox(const Matrix4& m, bool selectedOnly = true) const
++BBox CModel::getBBox(const Matrix4& m, bool selectedOnly) const
+ {
+ return BBox();
+ }
+
+-BBox CModel::getBBox(const Transformation *x, bool selectedOnly = true) const
++BBox CModel::getBBox(const Transformation *x, bool selectedOnly) const
+ {
+ return BBox();
+ }
diff --git a/graphics/gsculpt/files/patch-src::ObjEdit::ObjectCollection.cpp b/graphics/gsculpt/files/patch-src::ObjEdit::ObjectCollection.cpp
new file mode 100644
index 000000000..e24a6a158
--- /dev/null
+++ b/graphics/gsculpt/files/patch-src::ObjEdit::ObjectCollection.cpp
@@ -0,0 +1,19 @@
+--- ./src/ObjEdit/ObjectCollection.cpp.orig Mon Jul 21 18:47:55 2003
++++ ./src/ObjEdit/ObjectCollection.cpp Mon Jul 21 19:44:26 2003
+@@ -326,11 +326,14 @@
+ UniqueId ObjectCollection::getUniqueId(const string& name) const
+ {
+ IdTable::const_iterator iter = nameToId.find(name);
+- if ( iter != objects.end() )
++
++ //if (iter != objects.end() )
++ // Is this correct? 21.7.03, barner@in.tum.de
++ if (iter != nameToId.end())
+ {
+ return (*iter).second;
+ }
+- else
++ else
+ {
+ return -1;
+ }
diff --git a/graphics/gsculpt/files/patch-src::ObjEdit::ObjectCollection.h b/graphics/gsculpt/files/patch-src::ObjEdit::ObjectCollection.h
new file mode 100644
index 000000000..055cced04
--- /dev/null
+++ b/graphics/gsculpt/files/patch-src::ObjEdit::ObjectCollection.h
@@ -0,0 +1,14 @@
+--- ./src/ObjEdit/ObjectCollection.h.orig Mon Jul 21 18:43:57 2003
++++ ./src/ObjEdit/ObjectCollection.h Mon Jul 21 18:47:09 2003
+@@ -23,7 +23,10 @@
+ #include "Journal.h"
+ #include "ListManager.h"
+
+-
++using std::string;
++using std::map;
++using std::set;
++using std::list;
+
+
+ class ObjectCollection : public JournalCollection
diff --git a/graphics/gsculpt/files/patch-src::Patch::Patch.h b/graphics/gsculpt/files/patch-src::Patch::Patch.h
new file mode 100644
index 000000000..8ce79f8fc
--- /dev/null
+++ b/graphics/gsculpt/files/patch-src::Patch::Patch.h
@@ -0,0 +1,11 @@
+--- ./src/Patch/Patch.h.orig Mon Jul 21 16:20:46 2003
++++ ./src/Patch/Patch.h Mon Jul 21 16:27:54 2003
+@@ -7,6 +7,8 @@
+
+ #include <vector>
+
++using std::vector;
++
+ //generates the indices of the vertices which make up quadrilateral faces, which
+ //form a rectangular patch
+ void patchGenerateQuadList(vector<int>& quads, int widthFaces, int heightFaces,
diff --git a/graphics/gsculpt/files/patch-src::PolylineTools::ToolPolyDraw.cpp b/graphics/gsculpt/files/patch-src::PolylineTools::ToolPolyDraw.cpp
new file mode 100644
index 000000000..be37e1b41
--- /dev/null
+++ b/graphics/gsculpt/files/patch-src::PolylineTools::ToolPolyDraw.cpp
@@ -0,0 +1,11 @@
+--- ./src/PolylineTools/ToolPolyDraw.cpp.orig Mon Jul 21 19:13:35 2003
++++ ./src/PolylineTools/ToolPolyDraw.cpp Mon Jul 21 19:14:06 2003
+@@ -27,7 +27,7 @@
+
+ #include "Point3.h"
+
+-
++using std::ostrstream;
+
+
+
diff --git a/graphics/gsculpt/files/patch-src::SelectTools::ToolSelectBase.cpp b/graphics/gsculpt/files/patch-src::SelectTools::ToolSelectBase.cpp
new file mode 100644
index 000000000..bd87ff642
--- /dev/null
+++ b/graphics/gsculpt/files/patch-src::SelectTools::ToolSelectBase.cpp
@@ -0,0 +1,11 @@
+--- ./src/SelectTools/ToolSelectBase.cpp.orig Mon Jul 21 19:10:28 2003
++++ ./src/SelectTools/ToolSelectBase.cpp Mon Jul 21 19:11:17 2003
+@@ -146,7 +146,7 @@
+ ToolSelectBase::ToolSelectBase( CadView *v,
+ ObjPainterManager *pman,
+ const string& funcName, const string& optTitle,
+- int tableWidth = 1 )
++ int tableWidth )
+ : ToolSelectModel( v, pman, funcName, optTitle, tableWidth ),
+ CadClickAndDragEventHandler( v->getCadArea() )
+ {
diff --git a/graphics/gsculpt/files/patch-src::Templates::array.h b/graphics/gsculpt/files/patch-src::Templates::array.h
new file mode 100644
index 000000000..b4ba45b02
--- /dev/null
+++ b/graphics/gsculpt/files/patch-src::Templates::array.h
@@ -0,0 +1,11 @@
+--- src/Templates/array.h.orig Thu Jan 10 07:22:01 2002
++++ src/Templates/array.h Fri Sep 3 00:48:47 2004
+@@ -100,7 +100,7 @@
+ }
+
+ //construct from C array
+- array(T *inData, int aSize, int initialCap = aSize)
++ array(T *inData, int aSize, int initialCap)
+ {
+ sz = aSize;
+ cap = initialCap;
diff --git a/graphics/gsculpt/files/patch-src::Tools::ToolGroup.h b/graphics/gsculpt/files/patch-src::Tools::ToolGroup.h
new file mode 100644
index 000000000..b75f2d3f9
--- /dev/null
+++ b/graphics/gsculpt/files/patch-src::Tools::ToolGroup.h
@@ -0,0 +1,12 @@
+--- ./src/Tools/ToolGroup.h.orig Mon Jul 21 18:34:42 2003
++++ ./src/Tools/ToolGroup.h Mon Jul 21 18:34:57 2003
+@@ -13,7 +13,8 @@
+
+ #include "GridLayout.h"
+
+-
++using std::vector;
++using std::string;
+
+ class ToolGroup
+ {
diff --git a/graphics/gsculpt/files/patch-src::Tools::Toolset.h b/graphics/gsculpt/files/patch-src::Tools::Toolset.h
new file mode 100644
index 000000000..709d10b6d
--- /dev/null
+++ b/graphics/gsculpt/files/patch-src::Tools::Toolset.h
@@ -0,0 +1,12 @@
+--- ./src/Tools/Toolset.h.orig Mon Jul 21 16:35:45 2003
++++ ./src/Tools/Toolset.h Mon Jul 21 16:36:04 2003
+@@ -18,7 +18,8 @@
+ #include "CadView.h"
+ #include "Toolbox.h"
+
+-
++using std::string;
++using std::vector;
+
+ class Toolset
+ {
diff --git a/graphics/gsculpt/files/patch-src::TypeManager::TypeManager.h b/graphics/gsculpt/files/patch-src::TypeManager::TypeManager.h
new file mode 100644
index 000000000..bf9f4ed1f
--- /dev/null
+++ b/graphics/gsculpt/files/patch-src::TypeManager::TypeManager.h
@@ -0,0 +1,14 @@
+--- ./src/TypeManager/TypeManager.h.orig Mon Jul 21 16:37:26 2003
++++ ./src/TypeManager/TypeManager.h Mon Jul 21 16:38:08 2003
+@@ -10,7 +10,10 @@
+ #include <map>
+ #include <list>
+
+-
++using std::string;
++using std::vector;
++using std::map;
++using std::list;
+
+
+
diff --git a/graphics/gsculpt/files/patch-src::Widgets::ListManager.cpp b/graphics/gsculpt/files/patch-src::Widgets::ListManager.cpp
new file mode 100644
index 000000000..0853e22d5
--- /dev/null
+++ b/graphics/gsculpt/files/patch-src::Widgets::ListManager.cpp
@@ -0,0 +1,11 @@
+--- ./src/Widgets/ListManager.cpp.orig Mon Jul 21 19:25:18 2003
++++ ./src/Widgets/ListManager.cpp Mon Jul 21 19:25:30 2003
+@@ -10,7 +10,7 @@
+
+ #include "ListManager.h"
+
+-
++using std::set;
+
+
+ ListManager::ListManager(const string& columnTitle)
diff --git a/graphics/gsculpt/files/patch-src::Widgets::ListManager.h b/graphics/gsculpt/files/patch-src::Widgets::ListManager.h
new file mode 100644
index 000000000..2b6e18dcb
--- /dev/null
+++ b/graphics/gsculpt/files/patch-src::Widgets::ListManager.h
@@ -0,0 +1,12 @@
+--- ./src/Widgets/ListManager.h.orig Mon Jul 21 18:41:55 2003
++++ ./src/Widgets/ListManager.h Mon Jul 21 18:43:28 2003
+@@ -14,7 +14,8 @@
+
+ #include <gtk/gtkwidget.h>
+
+-
++using std::multiset;
++using std::string;
+
+
+ class ListManager
diff --git a/graphics/gsculpt/files/patch-src::Widgets::NameDialog.cpp b/graphics/gsculpt/files/patch-src::Widgets::NameDialog.cpp
new file mode 100644
index 000000000..ccd764ccb
--- /dev/null
+++ b/graphics/gsculpt/files/patch-src::Widgets::NameDialog.cpp
@@ -0,0 +1,13 @@
+--- ./src/Widgets/NameDialog.cpp.orig Mon Jul 21 19:27:45 2003
++++ ./src/Widgets/NameDialog.cpp Mon Jul 21 19:28:18 2003
+@@ -44,8 +44,8 @@
+ }
+
+ NameDialog::NameDialog(NameDialogListener *l,
+- const string& title = "Name",
+- const string& prompt = "name:")
++ const string& title,
++ const string& prompt )
+ {
+ listener = l;
+ constructorCommon(title, prompt);
diff --git a/graphics/gsculpt/files/patch-src::Widgets::NameDialog.h b/graphics/gsculpt/files/patch-src::Widgets::NameDialog.h
new file mode 100644
index 000000000..989200a7a
--- /dev/null
+++ b/graphics/gsculpt/files/patch-src::Widgets::NameDialog.h
@@ -0,0 +1,11 @@
+--- ./src/Widgets/NameDialog.h.orig Mon Jul 21 19:26:12 2003
++++ ./src/Widgets/NameDialog.h Mon Jul 21 19:26:22 2003
+@@ -15,7 +15,7 @@
+
+ #include "callback.h"
+
+-
++using std::string;
+
+
+ class NameDialog;
diff --git a/graphics/gsculpt/files/patch-src::Widgets::VectorWidget.cpp b/graphics/gsculpt/files/patch-src::Widgets::VectorWidget.cpp
new file mode 100644
index 000000000..b14e44bae
--- /dev/null
+++ b/graphics/gsculpt/files/patch-src::Widgets::VectorWidget.cpp
@@ -0,0 +1,12 @@
+--- ./src/Widgets/VectorWidget.cpp.orig Mon Jul 21 19:22:12 2003
++++ ./src/Widgets/VectorWidget.cpp Mon Jul 21 19:23:30 2003
+@@ -13,7 +13,8 @@
+
+ #include "VectorWidget.h"
+
+-
++using std::ostrstream;
++using std::istrstream;
+
+ /*
+ *******************************************************************************
diff --git a/graphics/gsculpt/files/patch-src::Widgets::messageBox.h b/graphics/gsculpt/files/patch-src::Widgets::messageBox.h
new file mode 100644
index 000000000..3629cf869
--- /dev/null
+++ b/graphics/gsculpt/files/patch-src::Widgets::messageBox.h
@@ -0,0 +1,12 @@
+--- ./src/Widgets/messageBox.h.orig Mon Jul 21 18:59:01 2003
++++ ./src/Widgets/messageBox.h Mon Jul 21 18:59:17 2003
+@@ -8,7 +8,8 @@
+ #include <string>
+ #include <vector>
+
+-
++using std::string;
++using std::vector;
+
+ /*
+ *******************************************************************************
diff --git a/graphics/gsculpt/files/patch-src::WorkArea::CAEH_grid.cpp b/graphics/gsculpt/files/patch-src::WorkArea::CAEH_grid.cpp
new file mode 100644
index 000000000..8d642da37
--- /dev/null
+++ b/graphics/gsculpt/files/patch-src::WorkArea::CAEH_grid.cpp
@@ -0,0 +1,11 @@
+--- ./src/WorkArea/CAEH_grid.cpp.orig Mon Jul 21 16:34:35 2003
++++ ./src/WorkArea/CAEH_grid.cpp Mon Jul 21 16:34:54 2003
+@@ -8,7 +8,7 @@
+ #include "CAEH_grid.h"
+
+ #include <strstream>
+-
++using std::ostrstream;
+
+
+ CAEH_grid::CAEH_grid(CadArea *c, const CGrid& gr)
diff --git a/graphics/gsculpt/files/patch-src::WorkArea::DrawingArea.h b/graphics/gsculpt/files/patch-src::WorkArea::DrawingArea.h
new file mode 100644
index 000000000..a89c2964d
--- /dev/null
+++ b/graphics/gsculpt/files/patch-src::WorkArea::DrawingArea.h
@@ -0,0 +1,11 @@
+--- ./src/WorkArea/DrawingArea.h.orig Mon Jul 21 16:32:55 2003
++++ ./src/WorkArea/DrawingArea.h Mon Jul 21 16:33:25 2003
+@@ -27,7 +27,7 @@
+ #include "Geometry.h"
+ #include "PointerStatus.h"
+
+-
++using std::list;
+
+ /******************************************************************************
+ ******************************************************************************
diff --git a/graphics/gsculpt/files/patch-src::XformTools::ToolTransformModel.cpp b/graphics/gsculpt/files/patch-src::XformTools::ToolTransformModel.cpp
new file mode 100644
index 000000000..681ce650e
--- /dev/null
+++ b/graphics/gsculpt/files/patch-src::XformTools::ToolTransformModel.cpp
@@ -0,0 +1,11 @@
+--- ./src/XformTools/ToolTransformModel.cpp.orig Mon Jul 21 19:05:58 2003
++++ ./src/XformTools/ToolTransformModel.cpp Mon Jul 21 19:06:20 2003
+@@ -15,7 +15,7 @@
+ ObjPainterManager *pman,
+ const string& funcName,
+ const string& optTitle,
+- int tableWidth = 1)
++ int tableWidth)
+ : ToolModifyModel(v, pman, funcName, optTitle, tableWidth)
+ {
+ }
diff --git a/graphics/gsculpt/pkg-descr b/graphics/gsculpt/pkg-descr
new file mode 100644
index 000000000..395eda6fd
--- /dev/null
+++ b/graphics/gsculpt/pkg-descr
@@ -0,0 +1,5 @@
+gSculpt is a 3D modelling program that allows models to be built by
+performing sweeps on polylines. These models can then be transformed
+using a variety of tools. Aimed at hobbyists, and demo coders.
+
+WWW: http://gsculpt.sourceforge.net/