diff --git a/ncurses-6.0.dif b/ncurses-6.0.dif
index bc02abb..cef0361 100644
--- a/ncurses-6.0.dif
+++ b/ncurses-6.0.dif
@@ -944,6 +944,14 @@
  
      return (code);
  }
+@@ -712,6 +714,7 @@ _nc_read_tic_entry(char *filename,
+  * We take pains here to make sure no combination of environment variables and
+  * terminal type name can be used to overrun the file buffer.
+  */
++#undef _nc_read_entry2
+ NCURSES_EXPORT(int)
+ _nc_read_entry2(const char *const name, char *const filename, TERMTYPE2 *const tp)
+ {
 --- ncurses/tinfo/read_termcap.c
 +++ ncurses/tinfo/read_termcap.c	2017-07-17 08:46:48.060363396 +0000
 @@ -322,14 +322,18 @@ _nc_getent(