diff options
author | dirk <dirk@FreeBSD.org> | 2000-02-21 14:34:12 +0000 |
---|---|---|
committer | dirk <dirk@FreeBSD.org> | 2000-02-21 14:34:12 +0000 |
commit | cd5dbde7c13fecce8971478f53387d73f33ef5f4 (patch) | |
tree | 916338f2d65ed26601fb94a1644f981eab4508b5 /graphics | |
parent | e1096d555da8aeb41df5f08607bf08f3d3b2e905 (diff) | |
download | FreeBSD-ports-cd5dbde7c13fecce8971478f53387d73f33ef5f4.zip FreeBSD-ports-cd5dbde7c13fecce8971478f53387d73f33ef5f4.tar.gz |
Fix building under 4.0-CURRENT.
Submitted by: Jeremy Lea <reg@FreeBSD.org>
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/gtkfig/files/patch-ab | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/graphics/gtkfig/files/patch-ab b/graphics/gtkfig/files/patch-ab new file mode 100644 index 0000000..8159830 --- /dev/null +++ b/graphics/gtkfig/files/patch-ab @@ -0,0 +1,42 @@ +--- src/arrowproperties.cc.orig Mon Feb 7 22:46:26 2000 ++++ src/arrowproperties.cc Mon Feb 7 22:48:41 2000 +@@ -40,7 +40,7 @@ + gpointer user_data) + { + area=area; +- DoDraw(widget,(TArrowStyle)user_data); ++ DoDraw(widget,*(TArrowStyle*)user_data); + } + + +@@ -50,7 +50,7 @@ + gpointer user_data) + { + event = event; +- DoDraw(widget,(TArrowStyle)user_data); ++ DoDraw(widget,*(TArrowStyle *)user_data); + return FALSE; + } + +--- src/line.h.orig Mon Feb 7 22:48:55 2000 ++++ src/line.h Mon Feb 7 22:49:24 2000 +@@ -18,7 +18,7 @@ + + class TCADLine : public TCADObject, TCADLinePropertiesI { + protected: +- const unsigned int MAXNUMHANDLES = 10; ++ static const unsigned int MAXNUMHANDLES = 10; + + GdkPoint First,Last; + TCADHandle Handle[MAXNUMHANDLES]; +--- src/rightangleline.h.orig Mon Feb 7 22:49:50 2000 ++++ src/rightangleline.h Mon Feb 7 22:50:24 2000 +@@ -11,7 +11,7 @@ + + class TCADRightAngleLine : public TCADLine { + protected: +- const int MAXNUMPOINTS = MAXNUMHANDLES+3; ++ static const int MAXNUMPOINTS = MAXNUMHANDLES+3; + GdkPoint Points[MAXNUMPOINTS]; + int NumPoints; + int XLPN,YLPN; // LoadPointNumber - for loading |