1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00
freebsd-ports/graphics/demeter/files/patch-samples-SampleUtilities-Data.cpp
Thierry Thomas 83026d2a1b Add demeter 3.21, a C++ library to render 3D terrains using OpenGL.
PR:		71347
Submitted by:	Igor Pokrovsky
2004-09-03 19:49:42 +00:00

12 lines
396 B
C++

--- 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);