mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-31 10:46:16 +00:00
2bca0228ef
- Passed maintainership to submitter - Added MAKE_JOBS_SAFE and LICENSE PR: ports/151393 Submitted by: Carlo Strub <c-s at c-s dot li>
21 lines
567 B
C++
21 lines
567 B
C++
--- ./src/lib/stl.cpp.orig 2010-10-09 07:48:31.000000000 -0400
|
|
+++ ./src/lib/stl.cpp 2010-11-11 20:19:35.000000000 -0500
|
|
@@ -40,6 +40,9 @@
|
|
* The concrete classes do the grid dependend stuff and add lots of triangles to the file
|
|
*/
|
|
|
|
+#if defined(__FreeBSD__)
|
|
+#include <libgen.h>
|
|
+#else
|
|
#if defined(WIN32) || defined(__APPLE__)
|
|
const char * basename(const char * name) {
|
|
const char * res1 = strchr(name, '/');
|
|
@@ -55,6 +58,7 @@
|
|
return res;
|
|
}
|
|
#endif
|
|
+#endif
|
|
|
|
|
|
void stlExporter_c::write(const char * fname, const voxel_c & v, const faceList_c & holes)
|