# HG changeset patch # User Christian Brabandt # Date 1483991104 -3600 # Node ID a3cef16bea27796327402497840bacae1210b9bd # Parent aafe5fa393416ae81fc85a2960b287d59c0a467c patch 8.0.0162: build error on Fedora 23 commit https://github.com/vim/vim/commit/009c7b2640b6e04c101118cc7d0dc5785f9aa116 Author: Bram Moolenaar Date: Mon Jan 9 20:30:27 2017 +0100 patch 8.0.0162: build error on Fedora 23 Problem: Build error on Fedora 23 with small features and gnome2. Solution: Undefine ngettext(). (Hirohito Higashi) diff --git a/src/gui_gtk.c b/src/gui_gtk.c --- a/src/gui_gtk.c +++ b/src/gui_gtk.c @@ -51,6 +51,9 @@ # ifdef _ # undef _ # endif +# ifdef ngettext +# undef ngettext +# endif # ifdef N_ # undef N_ # endif diff --git a/src/gui_gtk_x11.c b/src/gui_gtk_x11.c --- a/src/gui_gtk_x11.c +++ b/src/gui_gtk_x11.c @@ -35,6 +35,9 @@ # ifdef _ # undef _ # endif +# ifdef ngettext +# undef ngettext +# endif # ifdef N_ # undef N_ # endif diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -765,6 +765,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 162, +/**/ 161, /**/ 160,