aboutsummaryrefslogtreecommitdiff
path: root/graphics/demeter/files/patch-samples-SampleUtilities-Data.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/demeter/files/patch-samples-SampleUtilities-Data.cpp')
-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);