diff options
author | John Marino <marino@FreeBSD.org> | 2015-12-17 12:08:06 +0000 |
---|---|---|
committer | John Marino <marino@FreeBSD.org> | 2015-12-17 12:08:06 +0000 |
commit | 929e5dccb6e08e3f5a38cf6fa0009d996d6ef3d4 (patch) | |
tree | 654fd5e566c815748b90097985f159e1da2e730b /databases/mysql57-client/files/patch-cmd-line-utils_libedit_vi.c | |
parent | - Don't override/force logfile configuration (diff) |
databases/mysql57-*: Support DragonFly
PR: 204607
Diffstat (limited to '')
-rw-r--r-- | databases/mysql57-client/files/patch-cmd-line-utils_libedit_vi.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/databases/mysql57-client/files/patch-cmd-line-utils_libedit_vi.c b/databases/mysql57-client/files/patch-cmd-line-utils_libedit_vi.c new file mode 100644 index 000000000000..0847a07c84d4 --- /dev/null +++ b/databases/mysql57-client/files/patch-cmd-line-utils_libedit_vi.c @@ -0,0 +1,20 @@ +--- cmd-line-utils/libedit/vi.c.orig 2015-11-29 19:16:24 UTC ++++ cmd-line-utils/libedit/vi.c +@@ -919,7 +919,7 @@ vi_comment_out(EditLine *el, Int c __att + * NB: posix implies that we should enter insert mode, however + * this is against historical precedent... + */ +-#if defined(__weak_reference) && !defined(__FreeBSD__) ++#if defined(__weak_reference) && !defined(__FreeBSD__) && !defined(__DragonFly__) + __weakref_visible char *my_get_alias_text(const char *) + __weak_reference(get_alias_text); + #endif +@@ -928,7 +928,7 @@ protected el_action_t + vi_alias(EditLine *el __attribute__((__unused__)), + Int c __attribute__((__unused__))) + { +-#if defined(__weak_reference) && !defined(__FreeBSD__) ++#if defined(__weak_reference) && !defined(__FreeBSD__) && !defined(__DragonFly__) + char alias_name[3]; + char *alias_text; + |