aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2002-11-27 22:01:49 +0800
committerarved <arved@FreeBSD.org>2002-11-27 22:01:49 +0800
commit5416cf9367c406ac85836746cc7c8e7232e2a545 (patch)
tree6fe4b39d8cc92373e08be97b3f823bcf3ba36495 /graphics
parentff5fc914d0c9c808ead772a6da3d21b3cd0b67f8 (diff)
downloadfreebsd-ports-gnome-5416cf9367c406ac85836746cc7c8e7232e2a545.tar.gz
freebsd-ports-gnome-5416cf9367c406ac85836746cc7c8e7232e2a545.tar.zst
freebsd-ports-gnome-5416cf9367c406ac85836746cc7c8e7232e2a545.zip
Fix Build on -CURRENT
PR 45788 Submitted by: Stephen Montgomery-Smith <stephen@math.missouri.edu>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/opendx/files/patch-GARCommand.C22
-rw-r--r--graphics/opendx/files/patch-src:exec:dpexec:yuiif.y24
2 files changed, 46 insertions, 0 deletions
diff --git a/graphics/opendx/files/patch-GARCommand.C b/graphics/opendx/files/patch-GARCommand.C
new file mode 100644
index 000000000000..ae978ea280f2
--- /dev/null
+++ b/graphics/opendx/files/patch-GARCommand.C
@@ -0,0 +1,22 @@
+--- src/uipp/prompter/GARCommand.C.orig Sat Nov 30 02:48:50 2002
++++ src/uipp/prompter/GARCommand.C Sat Nov 30 02:46:44 2002
+@@ -18,6 +18,7 @@
+ #elif defined(HAVE_STRSTREA_H)
+ #include <strstrea.h>
+ #endif
++#include <strstream>
+
+ #include "NoUndoCommand.h"
+ #include "GARApplication.h"
+@@ -50,9 +51,9 @@
+ char *fname;
+ unsigned long mode;
+ int dirty;
+- strstream tmpstr;
++ std::strstream tmpstr;
+ #ifdef aviion
+- strstream tmpstr2;
++ std::strstream tmpstr2;
+ #endif
+
+ switch (this->option)
diff --git a/graphics/opendx/files/patch-src:exec:dpexec:yuiif.y b/graphics/opendx/files/patch-src:exec:dpexec:yuiif.y
new file mode 100644
index 000000000000..816f264d2fb7
--- /dev/null
+++ b/graphics/opendx/files/patch-src:exec:dpexec:yuiif.y
@@ -0,0 +1,24 @@
+--- src/exec/dpexec/yuiif.y-orig Mon Jul 31 10:10:38 2000
++++ src/exec/dpexec/yuiif.y Tue Nov 26 14:31:53 2002
+@@ -1550,18 +1550,21 @@
+ if (! _dxd_exUIPacket)
+ yyerrok;
+ }
++ ;
+
+ rightparen : T_RPAR
+ {
+ if (! _dxd_exUIPacket)
+ yyerrok;
+ }
++ ;
+
+ rightbracket : T_RBRA
+ {
+ if (! _dxd_exUIPacket)
+ yyerrok;
+ }
++ ;
+
+ id : T_ID
+ {