openbsd-ports/misc/deco/patches/patch-help_c
naddy e772a3c041 * use libc execvpe()
* include missing prototypes
2012-03-23 21:08:09 +00:00

18 lines
458 B
Plaintext

$OpenBSD: patch-help_c,v 1.3 2012/03/23 21:08:09 naddy Exp $
--- help.c.orig Sat Jul 12 20:54:34 1997
+++ help.c Fri Mar 23 22:03:21 2012
@@ -1,3 +1,4 @@
+#include <string.h>
#if HAVE_UNISTD_H
# include <unistd.h>
#endif
@@ -10,7 +11,7 @@
#define CS 34
#define HELPDIR "/usr/lib/deco/help/"
-#define LCLHELPDIR "/usr/local/lib/deco/help/"
+#define LCLHELPDIR PREFIX "/share/deco/help/"
struct helptab {
char row;