packages (DEVEL): wine/wine-ncurses.patch - adjusted for 1.3.12

lisu lisu at pld-linux.org
Mon Jan 24 20:03:11 CET 2011


Author: lisu                         Date: Mon Jan 24 19:03:11 2011 GMT
Module: packages                      Tag: DEVEL
---- Log message:
- adjusted for 1.3.12

---- Files affected:
packages/wine:
   wine-ncurses.patch (1.10 -> 1.10.2.1) 

---- Diffs:

================================================================
Index: packages/wine/wine-ncurses.patch
diff -u packages/wine/wine-ncurses.patch:1.10 packages/wine/wine-ncurses.patch:1.10.2.1
--- packages/wine/wine-ncurses.patch:1.10	Sat Jul 14 22:58:42 2007
+++ packages/wine/wine-ncurses.patch	Mon Jan 24 20:03:06 2011
@@ -37,3 +37,31 @@
  # define CURSES_NAME "ncurses"
  #else
  # define CURSES_NAME "curses"
+--- wine-1.3.12/dlls/kernel32/term.c~	2011-01-21 20:31:58.000000000 +0100
++++ wine-1.3.12/dlls/kernel32/term.c	2011-01-24 20:02:20.736666685 +0100
+@@ -25,13 +25,14 @@
+ # include <ncurses.h>
+ #elif defined(HAVE_CURSES_H)
+ # include <curses.h>
++#elif defined(HAVE_NCURSES_NCURSES_H)
++# include <ncurses/ncurses.h>
++# include <ncurses/term.h>
+ #endif
+ /* avoid redefinition warnings */
+ #undef KEY_EVENT
+ #undef MOUSE_MOVED
+ 
+-#include <term.h>
+-
+ #include <windef.h>
+ #include <winbase.h>
+ #include <winnls.h>
+@@ -147,7 +148,7 @@
+ 
+ #if defined(SONAME_LIBCURSES) || defined(SONAME_LIBNCURSES)
+ 
+-#ifdef HAVE_NCURSES_H
++#ifdef HAVE_NCURSES_H || defined(HAVE_NCURSES_NCURSES_H)
+ # define CURSES_NAME "ncurses"
+ #else
+ # define CURSES_NAME "curses"
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/wine/wine-ncurses.patch?r1=1.10&r2=1.10.2.1&f=u



More information about the pld-cvs-commit mailing list