aboutsummaryrefslogtreecommitdiff
path: root/graphics/opendx
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2002-11-27 14:01:49 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2002-11-27 14:01:49 +0000
commit2af6288575ce6f63fc089949bed859cef2d57ce0 (patch)
tree7347b669349a0545218f3e2545145a21c67988ed /graphics/opendx
parent95c8162b297df1d9ea37ba53e801deae211ace45 (diff)
downloadports-2af6288575ce6f63fc089949bed859cef2d57ce0.tar.gz
ports-2af6288575ce6f63fc089949bed859cef2d57ce0.zip
Fix Build on -CURRENT
PR 45788 Submitted by: Stephen Montgomery-Smith <stephen@math.missouri.edu>
Notes
Notes: svn path=/head/; revision=71151
Diffstat (limited to 'graphics/opendx')
-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
+ {