To: vim_dev@googlegroups.com Subject: Patch 8.2.4278 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.4278 Problem: Build with Athena GUI fails. (Elimar Riesebieter) Solution: Add #ifdef. Files: src/testing.c *** ../vim-8.2.4277/src/testing.c 2022-01-31 17:39:45.394105533 +0000 --- src/testing.c 2022-02-01 10:12:44.551093682 +0000 *************** *** 1331,1336 **** --- 1331,1337 ---- return TRUE; } + #if defined(FIND_REPLACE_DIALOG) static int test_gui_find_repl(dict_T *args) { *************** *** 1357,1362 **** --- 1358,1364 ---- return retval; } + #endif static int test_gui_mouse_event(dict_T *args) *************** *** 1476,1483 **** --- 1478,1487 ---- event = tv_get_string(&argvars[0]); if (STRCMP(event, "dropfiles") == 0) rettv->vval.v_number = test_gui_drop_files(argvars[1].vval.v_dict); + # if defined(FIND_REPLACE_DIALOG) else if (STRCMP(event, "findrepl") == 0) rettv->vval.v_number = test_gui_find_repl(argvars[1].vval.v_dict); + # endif else if (STRCMP(event, "mouse") == 0) rettv->vval.v_number = test_gui_mouse_event(argvars[1].vval.v_dict); else if (STRCMP(event, "scrollbar") == 0) *** ../vim-8.2.4277/src/version.c 2022-01-31 18:59:09.844105727 +0000 --- src/version.c 2022-02-01 10:15:21.068537971 +0000 *************** *** 748,749 **** --- 748,751 ---- { /* Add new patch number below this line */ + /**/ + 4278, /**/ -- BEDEVERE: Wait. Wait ... tell me, what also floats on water? ALL: Bread? No, no, no. Apples .... gravy ... very small rocks ... ARTHUR: A duck. "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///