summaryrefslogtreecommitdiff
path: root/lang/inform/patches
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2010-06-03 05:24:27 +0000
committerdholland <dholland@pkgsrc.org>2010-06-03 05:24:27 +0000
commit7d45447f43807a5fbe461474574fdd96cf595ed5 (patch)
tree63ddca3a44ff66aa1335d48a04ddc120448eb43c /lang/inform/patches
parent739174ba90bbc2ff4904888ca940118ed801a63d (diff)
downloadpkgsrc-7d45447f43807a5fbe461474574fdd96cf595ed5.tar.gz
Add my patch from PR 35548, to fix the path buffer sizes.
Diffstat (limited to 'lang/inform/patches')
-rw-r--r--lang/inform/patches/patch-ab30
1 files changed, 30 insertions, 0 deletions
diff --git a/lang/inform/patches/patch-ab b/lang/inform/patches/patch-ab
new file mode 100644
index 00000000000..550369a196a
--- /dev/null
+++ b/lang/inform/patches/patch-ab
@@ -0,0 +1,30 @@
+$NetBSD: patch-ab,v 1.3 2010/06/03 05:24:27 dholland Exp $
+
+Fix default path lengths too short for it to hold its own include path.
+
+--- src/header.h.dist 2007-02-04 18:15:15.000000000 -0500
++++ src/header.h 2007-02-04 18:17:15.000000000 -0500
+@@ -342,6 +342,7 @@
+ #define FN_SEP '/'
+ /* 5 */
+ #define Temporary_Directory "/tmp"
++#define PATHLEN 1024
+ #define INCLUDE_TASK_ID
+ #define _POSIX_C_SOURCE 199506L
+ #define _XOPEN_SOURCE 500
+@@ -403,6 +404,7 @@
+ #define FN_SEP '/'
+ /* 5 */
+ #define Temporary_Directory "/tmp"
++#define PATHLEN 1024
+ #define INCLUDE_TASK_ID
+ #ifdef MAIN_INFORM_FILE
+ static int32 unique_task_id(void)
+@@ -424,6 +426,7 @@
+ #define FN_SEP '/'
+ /* 5 */
+ #define Temporary_Directory "/tmp"
++#define PATHLEN 1024
+ #define INCLUDE_TASK_ID
+ #ifdef MAIN_INFORM_FILE
+ static int32 unique_task_id(void)