summaryrefslogtreecommitdiffstats
path: root/src/ncurses-1-fix-headers.patch
diff options
context:
space:
mode:
authorLuis Saavedra <luis94855510@gmail.com>2012-12-14 05:05:43 (GMT)
committerLuis Saavedra <luis94855510@gmail.com>2012-12-14 05:28:01 (GMT)
commit328d7035fe94c80fe7b6bafaa538790ed3c9caba (patch)
tree0a0a0ba600ca638a0328e0c7aef0a18be9f61ca3 /src/ncurses-1-fix-headers.patch
parentffc65a4ed2201a4327de2466e57ab6c069b2cfae (diff)
downloadmxe-328d7035fe94c80fe7b6bafaa538790ed3c9caba.zip
mxe-328d7035fe94c80fe7b6bafaa538790ed3c9caba.tar.gz
mxe-328d7035fe94c80fe7b6bafaa538790ed3c9caba.tar.bz2
this patch is an extract of 20120707-patch of ncurses development see this thread:
http://lists.gnu.org/archive/html/bug-ncurses/2012-07/msg00007.html with this patch is added ncurses_mingw.h to installed headers and with this header term.h becomes usable (to support termcap with ncurses)
Diffstat (limited to 'src/ncurses-1-fix-headers.patch')
-rw-r--r--src/ncurses-1-fix-headers.patch57
1 files changed, 57 insertions, 0 deletions
diff --git a/src/ncurses-1-fix-headers.patch b/src/ncurses-1-fix-headers.patch
new file mode 100644
index 0000000..eb4a237
--- /dev/null
+++ b/src/ncurses-1-fix-headers.patch
@@ -0,0 +1,57 @@
+# ncurses 5.9 - patch 20120707 - Thomas E. Dickey
+#
+# ------------------------------------------------------------------------------
+#
+# Ncurses 5.9 is at
+# ftp.gnu.org:/pub/gnu
+#
+# Patches for ncurses 5.9 are in the subdirectory
+# ftp://invisible-island.net/ncurses/5.9
+#
+# ------------------------------------------------------------------------------
+# ftp://invisible-island.net/ncurses/5.9/ncurses-5.9-20120707.patch.gz
+# patch by Thomas E. Dickey <dickey@invisible-island.net>
+# created Sat Jul 7 23:45:45 UTC 2012
+# ------------------------------------------------------------------------------
+# include/headers | 17 +++++++++++++----
+# 15 files changed, 13 insertions(+), 4 deletions(-)
+# ------------------------------------------------------------------------------
+Index: include/headers
+Prereq: 1.10
+--- ncurses-5.9-20120630+/include/headers 2009-09-05 17:46:30.000000000 +0000
++++ ncurses-5.9-20120707/include/headers 2012-07-07 19:58:24.000000000 +0000
+@@ -1,6 +1,6 @@
+-# $Id: headers,v 1.10 2009/09/05 17:46:30 tom Exp $
++# $Id: headers,v 1.11 2012/07/07 19:58:24 tom Exp $
+ ##############################################################################
+-# Copyright (c) 1998-2007,2009 Free Software Foundation, Inc. #
++# Copyright (c) 1998-2009,2012 Free Software Foundation, Inc. #
+ # #
+ # Permission is hereby granted, free of charge, to any person obtaining a #
+ # copy of this software and associated documentation files (the "Software"), #
+@@ -29,14 +29,23 @@
+ #
+ # Author: Thomas E. Dickey 1996-on
+ #
+-term.h
+ curses.h
+ unctrl.h
+-termcap.h
+ ncurses_dll.h
++
++# Support for termcap (and tic, etc.), which can be a separate library
++@ termlib
++term.h
++termcap.h
++
++# Headers used only for tic, other programs using internal interfaces
+ @ ticlib
+ $(srcdir)/tic.h
+ $(srcdir)/term_entry.h
+ $(srcdir)/nc_tparm.h
+
++# Porting
++@ port_win32con
++$(srcdir)/ncurses_mingw.h
++
+ # vile:makemode