forked from Lainports/freebsd-ports
- Passed maintainership to submitter - Added MAKE_JOBS_SAFE and LICENSE PR: ports/151393 Submitted by: Carlo Strub <c-s at c-s dot li>
20 lines
412 B
C++
20 lines
412 B
C++
--- ./src/help/data2c.cpp.orig 2010-10-09 07:48:30.000000000 -0400
|
|
+++ ./src/help/data2c.cpp 2010-11-11 20:19:35.000000000 -0500
|
|
@@ -48,6 +48,9 @@
|
|
fprintf(out, "\\x%02x", c);
|
|
}
|
|
|
|
+#if defined(__FreeBSD__)
|
|
+#include <libgen.h>
|
|
+#else
|
|
#if defined(WIN32) || defined(__APPLE__)
|
|
const char * basename(const char * n) {
|
|
|
|
@@ -62,6 +65,7 @@
|
|
return n;
|
|
}
|
|
#endif
|
|
+#endif
|
|
|
|
|
|
/* first param: output file name
|