This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Pending Packages List, 2004-01-09


>>>>> "Yaakov" == Yaakov Selkowitz  writes:

    Yaakov> Rafael Kitover wrote:
    >> 
    >> Another example of a good Perl module to have packaged is Perl/Tk:
    >> http://tinyurl.com/yppmv 
    >> 
    >> And Perl/GTK:
    >> http://www.cygwin.com/ml/cygwin/2004-01/msg00230.html 

    Yaakov> How about Perl/Curses?  I could use that (along with Tk), but it won't 
    Yaakov> build by me when I tried recently.

Try this:

diff -Naurp -x .build -x .inst -x .sinst Curses-1.06-orig/Curses.c Curses-1.06/Curses.c
--- Curses-1.06-orig/Curses.c	2001-07-25 10:10:38.000000000 -0700
+++ Curses-1.06/Curses.c	2004-01-08 14:27:16.604120000 -0800
@@ -23,10 +23,8 @@
 #  define ITEM int
 #endif
 
-#ifndef C_FORMSUPPORT
-#  define FORM int
-#  define FIELD int
-#endif
+#define FORM int
+#define FIELD int
 
 #ifdef __PDCURSES__
 #undef SP
@@ -272,7 +270,7 @@ c_sv2window(sv, argnum)
 SV *sv;
 int argnum;
 {
-    if (Perl_sv_isa(sv, "Curses::Window")) {
+    if (sv_isa(sv, "Curses::Window")) {
       WINDOW *ret = (WINDOW *)SvIV((SV*)SvRV(sv));
       return ret;
     }
diff -Naurp -x .build -x .inst -x .sinst Curses-1.06-orig/hints/c-cygwin.h Curses-1.06/hints/c-cygwin.h
--- Curses-1.06-orig/hints/c-cygwin.h	2001-07-24 06:52:29.000000000 -0700
+++ Curses-1.06/hints/c-cygwin.h	2004-01-08 14:26:37.037225600 -0800
@@ -6,7 +6,7 @@
 
 /* These hints thanks to Federico Spinazzi <spinazzi@databankgroup.it> */
 
-#include <curses.h>
+#include <ncurses.h>
 
 #ifdef C_PANELSUPPORT
 #include <panel.h>
@@ -20,6 +20,11 @@
 #include <form.h>
 #endif
 
+/* vvvv */
+#undef bool
+#undef instr
+/* ^^^^ */
+
 #undef  C_LONGNAME
 #undef  C_LONG0ARGS
 #undef  C_LONG2ARGS

------------------------------------------------------------------------------------------------

    Yaakov> Yaakov

Ciao
  Volker


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]