mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-09 20:40:13 -04:00
28 lines
846 B
Plaintext
28 lines
846 B
Plaintext
$NetBSD: patch-aa,v 1.13 2012/10/25 08:28:20 asau Exp $
|
|
|
|
--- src/constants.h.orig 2012-04-07 14:12:07.000000000 +0000
|
|
+++ src/constants.h
|
|
@@ -85,6 +85,13 @@
|
|
#define NUMLEN_STR STRINGIZE(NUMLEN)
|
|
#define TEMPSTRING_LEN_STR STRINGIZE(TEMPSTRING_LEN)
|
|
|
|
+#define STR2(x) #x
|
|
+#define STRINGIZE(x) STR2(x)
|
|
+#define PATLEN_STR STRINGIZE(PATLEN)
|
|
+#define PATHLEN_STR STRINGIZE(PATHLEN)
|
|
+#define NUMLEN_STR STRINGIZE(NUMLEN)
|
|
+#define TEMPSTRING_LEN_STR STRINGIZE(TEMPSTRING_LEN)
|
|
+
|
|
/* screen lines */
|
|
#define FLDLINE (LINES - FIELDS - 1) /* first input field line */
|
|
#define MSGLINE 0 /* message line */
|
|
@@ -103,7 +110,7 @@
|
|
#define INCLUDES 8
|
|
#define FIELDS 10
|
|
|
|
-#if (BSD || V9) && !__NetBSD__ && !__FreeBSD__
|
|
+#if (BSD || V9) && !__NetBSD__ && !__FreeBSD__ && !__APPLE__
|
|
# define TERMINFO 0 /* no terminfo curses */
|
|
#else
|
|
# define TERMINFO 1
|