Annotation of pkgsrc/lang/python311/patches/patch-Modules_readline.c, revision 1.2
1.2 ! cheusov 1: $NetBSD: patch-Modules_readline.c,v 1.1 2024/04/30 16:55:22 cheusov Exp $
1.1 cheusov 2:
3: pkgsrc buildlink framework installs libedit headers to readline/ subdirectory.
4:
1.2 ! cheusov 5: VFunction type is not available on NetBSD`s native libedit.
! 6:
! 7: --- Modules/readline.c.orig 2024-04-02 08:25:04.000000000 +0000
1.1 cheusov 8: +++ Modules/readline.c
9: @@ -29,7 +29,7 @@
10: #endif
11:
12: #ifdef WITH_EDITLINE
13: -# include <editline/readline.h>
14: +# include <readline/readline.h>
15: #else
16: /* GNU readline definitions */
17: # undef HAVE_CONFIG_H /* Else readline/chardefs.h includes strings.h */
1.2 ! cheusov 18: @@ -443,7 +443,7 @@ readline_set_completion_display_matches_
! 19: #if defined(HAVE_RL_COMPDISP_FUNC_T)
! 20: (rl_compdisp_func_t *)on_completion_display_matches_hook : 0;
! 21: #else
! 22: - (VFunction *)on_completion_display_matches_hook : 0;
! 23: + on_completion_display_matches_hook : 0;
! 24: #endif
! 25: #endif
! 26: return result;
CVSweb <webmaster@jp.NetBSD.org>