summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirk Froemberg <dirk@FreeBSD.org>2002-12-22 21:40:34 +0000
committerDirk Froemberg <dirk@FreeBSD.org>2002-12-22 21:40:34 +0000
commite2a0567c9c8419345d2277f0a974d36a77708f9a (patch)
tree8f7ae7ad106847efdc9ce414f5e36af715f17fc4
parentFix build on -current. (diff)
Fix build on -CURRENT.
PR: ports/46474 Submitted by: Kuang-che Wu <kcwu@kcwu.homeip.net>
Notes
Notes: svn path=/head/; revision=71806
-rw-r--r--graphics/gtkfig/files/patch-src::line.cc11
-rw-r--r--graphics/gtkfig/files/patch-src::rightangleline.cc11
-rw-r--r--graphics/gtkfig/files/patch-src::sheet.cc11
-rw-r--r--graphics/gtkfig/files/patch-src::simpleline.cc11
-rw-r--r--graphics/gtkfig/files/patch-src::texteditbox.cc10
5 files changed, 54 insertions, 0 deletions
diff --git a/graphics/gtkfig/files/patch-src::line.cc b/graphics/gtkfig/files/patch-src::line.cc
new file mode 100644
index 000000000000..f77efb5c3c8d
--- /dev/null
+++ b/graphics/gtkfig/files/patch-src::line.cc
@@ -0,0 +1,11 @@
+--- src/line.cc.orig Mon Dec 23 03:58:33 2002
++++ src/line.cc Mon Dec 23 03:58:44 2002
+@@ -14,7 +14,7 @@
+ // he/she clicked on the line.
+ #define SELECT_DISTANCE 4
+
+-TCADLine::TCADLine(TCADSheet *Sheet,int x=0,int y=0) : TCADObject(Sheet)
++TCADLine::TCADLine(TCADSheet *Sheet,int x,int y) : TCADObject(Sheet)
+ {
+ First.x = x;
+ First.y = y;
diff --git a/graphics/gtkfig/files/patch-src::rightangleline.cc b/graphics/gtkfig/files/patch-src::rightangleline.cc
new file mode 100644
index 000000000000..d3ab995320c5
--- /dev/null
+++ b/graphics/gtkfig/files/patch-src::rightangleline.cc
@@ -0,0 +1,11 @@
+--- src/rightangleline.cc.orig Mon Dec 23 03:59:17 2002
++++ src/rightangleline.cc Mon Dec 23 03:59:30 2002
+@@ -283,7 +283,7 @@
+ }
+ }
+
+-TCADRightAngleLine::TCADRightAngleLine(TCADSheet *Sheet,int x=0,int y=0) : TCADLine(Sheet,x,y)
++TCADRightAngleLine::TCADRightAngleLine(TCADSheet *Sheet,int x,int y) : TCADLine(Sheet,x,y)
+ {
+ int i;
+
diff --git a/graphics/gtkfig/files/patch-src::sheet.cc b/graphics/gtkfig/files/patch-src::sheet.cc
new file mode 100644
index 000000000000..a8e12d1a2e0c
--- /dev/null
+++ b/graphics/gtkfig/files/patch-src::sheet.cc
@@ -0,0 +1,11 @@
+--- src/sheet.cc.orig Mon Dec 23 04:01:02 2002
++++ src/sheet.cc Mon Dec 23 04:01:05 2002
+@@ -1142,7 +1142,7 @@
+ if (!Obj->HasText()) return;
+
+ OldText = ((TCADTextObject *)Obj)->GetText();
+- TextEditBox(OldText,NULL,EditTextCallback,this);
++ TextEditBox(OldText,NULL,(void(*)(char*,void*))EditTextCallback,this);
+ free(OldText);
+ }
+
diff --git a/graphics/gtkfig/files/patch-src::simpleline.cc b/graphics/gtkfig/files/patch-src::simpleline.cc
new file mode 100644
index 000000000000..60a7e7d6b3f0
--- /dev/null
+++ b/graphics/gtkfig/files/patch-src::simpleline.cc
@@ -0,0 +1,11 @@
+--- src/simpleline.cc.orig Mon Dec 23 04:01:18 2002
++++ src/simpleline.cc Mon Dec 23 04:01:41 2002
+@@ -8,7 +8,7 @@
+ #include <math.h>
+ #include "simpleline.h"
+
+-TCADSimpleLine::TCADSimpleLine(TCADSheet *Sheet,int x=0,int y=0) : TCADLine(Sheet,x,y)
++TCADSimpleLine::TCADSimpleLine(TCADSheet *Sheet,int x,int y) : TCADLine(Sheet,x,y)
+ {
+ RecomputeEncapRect();
+ RecomputeRefRect();
diff --git a/graphics/gtkfig/files/patch-src::texteditbox.cc b/graphics/gtkfig/files/patch-src::texteditbox.cc
new file mode 100644
index 000000000000..f8cc5a0945dd
--- /dev/null
+++ b/graphics/gtkfig/files/patch-src::texteditbox.cc
@@ -0,0 +1,10 @@
+--- src/texteditbox.cc.orig Mon Dec 23 04:02:07 2002
++++ src/texteditbox.cc Mon Dec 23 04:02:22 2002
+@@ -5,6 +5,7 @@
+ \********************************/
+
+ #include <stdlib.h>
++#include <string.h>
+ #include <gtk/gtk.h>
+ #include <gdk/gdkkeysyms.h>
+