SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
16
editors/xwpe/patches/patch-we_fl_unix_c
Normal file
16
editors/xwpe/patches/patch-we_fl_unix_c
Normal file
|
@ -0,0 +1,16 @@
|
|||
--- we_fl_unix.c.orig Tue Dec 9 11:35:46 2008
|
||||
+++ we_fl_unix.c Tue Dec 9 11:36:54 2008
|
||||
@@ -3532,7 +3532,12 @@ struct dirfile *e_make_funct(char *man)
|
||||
}
|
||||
if ((!manpath) || (manpath[0] == '\0'))
|
||||
{
|
||||
- manpath = strdup("/usr/man:/usr/share/man:/usr/X11R6/man:/usr/local/man");
|
||||
+ manpath = strdup(
|
||||
+#if (defined(BSD) && (BSD >= 199306)) || (defined(sun) && defined(__svr4__))
|
||||
+ "/usr/share/man:/usr/local/man");
|
||||
+#else
|
||||
+ "/usr/man:/usr/local/man");
|
||||
+#endif
|
||||
}
|
||||
/* Allocate the maximum possible rather than continually realloc. */
|
||||
sustr = malloc(strlen(manpath) + 10);
|
Loading…
Add table
Add a link
Reference in a new issue