Patches for dtscreen, dtsearchpath, dtsession on OBSD.
Do not redefine round(3), and provide a manpath for OpenBSD. (this is one of the few things that need to be adjusted for other BSDs)
This commit is contained in:
committed by
Jon Trulson
parent
43bae997c8
commit
71f3ed16f8
@@ -53,7 +53,7 @@
|
||||
#endif
|
||||
#include <errno.h>
|
||||
|
||||
#if defined(sun) || defined(_AIX) || defined(__osf__) || defined(USL) || defined(__uxp__) || (linux)
|
||||
#if defined(sun) || defined(_AIX) || defined(__osf__) || defined(USL) || defined(__uxp__) || defined(linux) || defined(CSRG_BASED)
|
||||
#define UID_NO_CHANGE ((uid_t) -1)
|
||||
#define GID_NO_CHANGE ((gid_t) -1)
|
||||
#endif
|
||||
@@ -80,6 +80,8 @@ UnixEnvironment::UnixEnvironment()
|
||||
manpath = "/usr/share/%L/man:/usr/share/man:/usr/local/man";
|
||||
#elif defined(linux)
|
||||
manpath = "/usr/share/man/%L:/usr/share/man:/usr/contrib/man/%L:/usr/contrib/man:/usr/local/man/%L:/usr/local/man";
|
||||
#elif defined(__OpenBSD__)
|
||||
manpath = "/usr/share/man:/usr/X11R6/man:/usr/local/man:/usr/ports/infrastructure/man";
|
||||
#endif
|
||||
else
|
||||
manpath = temp;
|
||||
|
||||
Reference in New Issue
Block a user