diff options
Diffstat (limited to 'pkg')
| -rw-r--r-- | pkg/oksh/patch/0001-Use-typedef-for-function-pointer.patch | 55 | ||||
| m--------- | pkg/oksh/src | 0 | ||||
| -rw-r--r-- | pkg/oksh/ver | 2 |
3 files changed, 1 insertions, 56 deletions
diff --git a/pkg/oksh/patch/0001-Use-typedef-for-function-pointer.patch b/pkg/oksh/patch/0001-Use-typedef-for-function-pointer.patch deleted file mode 100644 index 76f4ec8f..00000000 --- a/pkg/oksh/patch/0001-Use-typedef-for-function-pointer.patch +++ /dev/null @@ -1,55 +0,0 @@ -From 39e18e1c8b6979de2c56caa232795a645e37f6b2 Mon Sep 17 00:00:00 2001 -From: Michael Forney <mforney@mforney.org> -Date: Sat, 4 Apr 2020 20:43:09 -0700 -Subject: [PATCH] Use typedef for function pointer - ---- - emacs.c | 10 ++++++---- - 1 file changed, 6 insertions(+), 4 deletions(-) - -diff --git a/emacs.c b/emacs.c -index 5a7edc0..b4fad8e 100644 ---- a/emacs.c -+++ b/emacs.c -@@ -49,8 +49,10 @@ static Area aedit; - #define KEOL 1 /* ^M, ^J */ - #define KINTR 2 /* ^G, ^C */ - -+typedef int (*kb_func)(int); -+ - struct x_ftab { -- int (*xf_func)(int c); -+ kb_func xf_func; - const char *xf_name; - short xf_flags; - }; -@@ -869,7 +871,7 @@ x_eot_del(int c) - return (x_del_char(c)); - } - --static void * -+static kb_func - kb_find_hist_func(char c) - { - struct kb_entry *k; -@@ -1323,7 +1325,7 @@ kb_del(struct kb_entry *k) - } - - static struct kb_entry * --kb_add_string(void *func, void *args, char *str) -+kb_add_string(kb_func func, void *args, char *str) - { - unsigned int ele, count; - struct kb_entry *k; -@@ -1358,7 +1360,7 @@ kb_add_string(void *func, void *args, char *str) - } - - static struct kb_entry * --kb_add(void *func, ...) -+kb_add(kb_func func, ...) - { - va_list ap; - unsigned char ch; --- -2.26.0 - diff --git a/pkg/oksh/src b/pkg/oksh/src -Subproject ddc59b95605e43c5bc2682d5ed5d44a702fca8f +Subproject d5dc133a78fc3790f6338fe0353e63129205026 diff --git a/pkg/oksh/ver b/pkg/oksh/ver index ae72a1da..1d260a24 100644 --- a/pkg/oksh/ver +++ b/pkg/oksh/ver @@ -1 +1 @@ -6.7 r0 +6.7-2-gd5dc133 r0 |
