summaryrefslogtreecommitdiff
path: root/graphics/demeter/files/patch-samples-SampleUtilities-Data.cpp
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2004-09-03 19:49:42 +0000
committerThierry Thomas <thierry@FreeBSD.org>2004-09-03 19:49:42 +0000
commit83026d2a1b8ddab16406ce8e9a40bc8c1b60dd36 (patch)
tree4a53bd1669d70043aa4ac7d5a8ebf5a2ffe19270 /graphics/demeter/files/patch-samples-SampleUtilities-Data.cpp
parentAdded Locale.get method. (diff)
Add demeter 3.21, a C++ library to render 3D terrains using OpenGL.
PR: 71347 Submitted by: Igor Pokrovsky
Notes
Notes: svn path=/head/; revision=118074
Diffstat (limited to '')
-rw-r--r--graphics/demeter/files/patch-samples-SampleUtilities-Data.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/demeter/files/patch-samples-SampleUtilities-Data.cpp b/graphics/demeter/files/patch-samples-SampleUtilities-Data.cpp
new file mode 100644
index 000000000000..8a168293359c
--- /dev/null
+++ b/graphics/demeter/files/patch-samples-SampleUtilities-Data.cpp
@@ -0,0 +1,11 @@
+--- samples/SampleUtilities/Data.cpp.orig Mon Jan 26 13:46:44 2004
++++ samples/SampleUtilities/Data.cpp Mon Jan 26 13:49:15 2004
+@@ -53,7 +53,7 @@
+ sprintf(szPath, szFullPath);
+ return true;
+ }
+- sprintf(szFullPath, "/usr/local/share/DemeterSampleData-3.20/");
++ sprintf(szFullPath, "%%EXAMPLESDIR%%/DemeterSampleData-3.20/");
+ if (TestPath(szFullPath))
+ {
+ sprintf(szPath, szFullPath);