summaryrefslogtreecommitdiff
path: root/graphics/libx3dtk/files/patch-examples-infoReader-Date.cpp
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2006-09-30 07:47:25 +0000
committerMartin Wilke <miwi@FreeBSD.org>2006-09-30 07:47:25 +0000
commit33c56fba95319226b53a9776f13a2f60653b963e (patch)
treea4fb6fda90e87b75b39657818817f54b850580a4 /graphics/libx3dtk/files/patch-examples-infoReader-Date.cpp
parent- Update to 20060928 (diff)
- Unbreak for 6.2
PR: ports/103752 Submitted by: German Tischler <tanis(at)gaspode.franken.de> (maintainer)
Notes
Notes: svn path=/head/; revision=174135
Diffstat (limited to 'graphics/libx3dtk/files/patch-examples-infoReader-Date.cpp')
-rw-r--r--graphics/libx3dtk/files/patch-examples-infoReader-Date.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/graphics/libx3dtk/files/patch-examples-infoReader-Date.cpp b/graphics/libx3dtk/files/patch-examples-infoReader-Date.cpp
new file mode 100644
index 000000000000..f4347029269c
--- /dev/null
+++ b/graphics/libx3dtk/files/patch-examples-infoReader-Date.cpp
@@ -0,0 +1,19 @@
+*** examples/infoReader/Date.cpp.orig Thu Sep 28 13:23:25 2006
+--- examples/infoReader/Date.cpp Thu Sep 28 13:23:36 2006
+***************
+*** 39,45 ****
+ return "\"" + m + "/" + d + "/" + y + "\"";
+ }
+
+! std::ostream& X3DTK::operator<<(std::ostream& o, const Date &date)
+ {
+ return o << date.month << "/" << date.day << "/" << date.year;
+ }
+--- 39,45 ----
+ return "\"" + m + "/" + d + "/" + y + "\"";
+ }
+
+! std::ostream& operator<<(std::ostream& o, const Date &date)
+ {
+ return o << date.month << "/" << date.day << "/" << date.year;
+ }