summaryrefslogtreecommitdiff
path: root/devel/elfsh/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'devel/elfsh/patches/patch-ac')
-rw-r--r--devel/elfsh/patches/patch-ac30
1 files changed, 15 insertions, 15 deletions
diff --git a/devel/elfsh/patches/patch-ac b/devel/elfsh/patches/patch-ac
index 0e6fb742e96..3719e715e0a 100644
--- a/devel/elfsh/patches/patch-ac
+++ b/devel/elfsh/patches/patch-ac
@@ -1,17 +1,17 @@
-$NetBSD: patch-ac,v 1.1 2003/05/12 21:27:11 jmc Exp $
+$NetBSD: patch-ac,v 1.2 2004/02/17 12:45:56 cube Exp $
---- elfsh/include/elfsh.h.orig Mon May 12 15:59:28 2003
-+++ elfsh/include/elfsh.h Mon May 12 16:00:27 2003
-@@ -15,7 +15,12 @@
+--- vm/include/elfsh.h.orig 2003-08-21 03:11:02.000000000 +0200
++++ vm/include/elfsh.h
+@@ -91,10 +91,10 @@
+ #define ELFSH_SPACE ' '
+ #define ELFSH_VERSION "0.51b3"
+ #define ELFSH_PROMPT "[ELFsh-"ELFSH_VERSION"]$ "
+-#define ELFSH_SHELL "/bin/bash"
++#define ELFSH_SHELL "@@SH@@"
+ #define ELFSH_INIT "elfsh_init"
+ #define ELFSH_FINI "elfsh_fini"
+-#define ELFSH_MODPATH "/usr/share/elfsh/"
++#define ELFSH_MODPATH "@@PREFIX@@/lib/elfsh/"
-
- #if defined(__NetBSD__)
-+#include <sys/param.h>
-+#if __NetBSD_Version__ < 106000000
- #include <readline.h>
-+#else
-+#include <readline/readline.h>
-+#endif
- #elif defined(__linux__) || defined(__FreeBSD__) | defined(sun)
- #include <readline/readline.h>
- #endif
+ /* For elfsh/elfsh/disasm.c:display_object() */
+ #define ELFSH_HEXA_VIEW 0