packages: libguestfs/ncurses.patch (NEW) - fix curses include

wiget wiget at pld-linux.org
Sun Oct 9 21:06:47 CEST 2011


Author: wiget                        Date: Sun Oct  9 19:06:47 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix curses include

---- Files affected:
packages/libguestfs:
   ncurses.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/libguestfs/ncurses.patch
diff -u /dev/null packages/libguestfs/ncurses.patch:1.1
--- /dev/null	Sun Oct  9 21:06:47 2011
+++ packages/libguestfs/ncurses.patch	Sun Oct  9 21:06:41 2011
@@ -0,0 +1,13 @@
+--- libguestfs-1.12.7/fish/progress.c.wiget	2011-10-09 14:09:04.429015818 +0200
++++ libguestfs-1.12.7/fish/progress.c	2011-10-09 14:09:31.781454156 +0200
+@@ -31,8 +31,8 @@
+ /* Include these last since they redefine symbols such as 'lines'
+  * which seriously breaks other headers.
+  */
+-#include <term.h>
+-#include <curses.h>
++#include <ncurses/term.h>
++#include <ncurses/curses.h>
+ 
+ /* Provided by termcap or terminfo emulation, but not defined
+  * in any header file.
================================================================


More information about the pld-cvs-commit mailing list