SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
16
cad/oce/patches/patch-src_OSD_OSD_Path_cxx
Normal file
16
cad/oce/patches/patch-src_OSD_OSD_Path_cxx
Normal file
|
@ -0,0 +1,16 @@
|
|||
Index: src/OSD/OSD_Path.cxx
|
||||
--- src/OSD/OSD_Path.cxx.orig
|
||||
+++ src/OSD/OSD_Path.cxx
|
||||
@@ -21,9 +21,11 @@
|
||||
#include <Standard_ProgramError.hxx>
|
||||
#include <TCollection_AsciiString.hxx>
|
||||
|
||||
+#include <sys/utsname.h> // For 'uname'
|
||||
+
|
||||
static OSD_SysType whereAmI()
|
||||
{
|
||||
-#if defined(__digital__) || defined(__FreeBSD__) || defined(SUNOS) || defined(__APPLE__) || defined(__QNX__) || defined(__FreeBSD_kernel__)
|
||||
+#if defined(__digital__) || defined(__FreeBSD__) || defined(SUNOS) || defined(__APPLE__) || defined(__QNX__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__)
|
||||
return OSD_UnixBSD;
|
||||
#elif defined(sgi) || defined(IRIX) || defined(__sun) || defined(SOLARIS) || defined(__sco__) || defined(__hpux) || defined(HPUX)
|
||||
return OSD_UnixSystemV;
|
Loading…
Add table
Add a link
Reference in a new issue