mirror of
https://git.freebsd.org/ports.git
synced 2025-05-21 03:23:10 -04:00
This is a development snapshot of upcoming MySQL 8.0. PR: 215738 Submitted by: Mahdi Mokhtari <mokhi64@gmail.com> Reviewed by: matthew, feld Approved by: matthew (mentor), feld Differential Revision: https://reviews.freebsd.org/D9031
20 lines
828 B
C
20 lines
828 B
C
--- cmd-line-utils/libedit/vi.c.orig 2016-03-28 18:06:12 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;
|
|
|