pkgsrc/devel/p5-Curses/patches/patch-ab
jlam e81df6dcf6 Update p5-Curses to 1.05. Some changes in the new version:
o Added the missing support functions c_chstrlen, c_Screen2sv.
   Oops. :)

 o Updated DIAGNOSTICS section of pod.

 o Added typedef detection support.

 o Rearranged PANELS support a little.

 o Removed support for wattr_get, wattr_off, wattr_on, and
   wattr_set (for now).  I got the prototypes from ncurses-1.9.9g,
   but they apparently differ from the "standard" ones.

 o Renamed "lines" everywhere, 'cause some curses library writer
   was stupid enough to #define it.  (Go figure.)

 o Reworked "optional" arguments, which only affects newterm(),
   panel_above() and panel_below().  Now, if you want to specify
   "NULL" as an argument, use "undef" instead of omitting the
   argument.  (Don't worry if this doesn't make sense.  You
   probably aren't affected anyway.)

 o Added the ncurses "curs_mouse" functions, but I have no idea
   if they work.  I couldn't even get the C versions to work, so
   I had no way of testing them.  Feedback on these functions
   would be appreciated.
2000-08-28 18:20:37 +00:00

28 lines
650 B
Text

$NetBSD: patch-ab,v 1.3 2000/08/28 18:20:43 jlam Exp $
--- /dev/null Mon Aug 28 13:46:05 2000
+++ hints/c-netbsd.ncurses.h Mon Aug 28 13:51:36 2000
@@ -0,0 +1,23 @@
+/* Hint file for the NetBSD platform, ncurses version of libcurses.
+ *
+ * If this configuration doesn't work, look at the file "c-none.h"
+ * for how to set the configuration options.
+ */
+
+/* These hints copied from FreeBSD file, with adjustments. */
+
+#include <ncurses.h>
+
+#ifdef C_PANELSUPPORT
+#include <panel.h>
+#endif
+
+#undef instr
+
+#define C_LONGNAME
+#define C_LONG0ARGS
+#undef C_LONG2ARGS
+
+#define C_TOUCHLINE
+#define C_TOUCH3ARGS
+#undef C_TOUCH4ARGS