summaryrefslogtreecommitdiff
path: root/textproc/scrollkeeper/patches/patch-ac
blob: 11cfb1f853826111a43ec9661d936ea398360079 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
$NetBSD: patch-ac,v 1.2 2001/09/10 00:23:32 mycroft Exp $

--- cl/src/get-cl.c.orig	Thu Mar 15 11:10:33 2001
+++ cl/src/get-cl.c	Mon Sep 10 00:16:56 2001
@@ -19,6 +19,7 @@
 #include <config.h>
 #include <sys/types.h>
 #include <sys/stat.h>
+#include <sys/param.h>
 #include <libintl.h>
 #include <stdio.h>
 #include <stdlib.h>
@@ -29,7 +30,7 @@
 
 #define SCROLLKEEPERLOCALEDIR "/usr/share/locale"
 
-#define PATHLEN	256
+#define PATHLEN	MAXPATHLEN
 
 static char **av;
 
--- cl/src/install.c.orig	Thu Mar 15 11:10:33 2001
+++ cl/src/install.c	Mon Sep 10 00:17:09 2001
@@ -24,6 +24,7 @@
 #include <locale.h>
 #include <unistd.h>
 #include <sys/stat.h>
+#include <sys/param.h>
 #include <errno.h>
 #include <libintl.h>
 #include <dirent.h>
@@ -34,7 +35,7 @@
 #define _(String) gettext (String)
 
 #define SEP		"|"
-#define PATHLEN		256
+#define PATHLEN		MAXPATHLEN
 
 static int verbose = 0;
 
--- cl/src/uninstall.c.orig	Thu Mar 15 11:10:33 2001
+++ cl/src/uninstall.c	Mon Sep 10 00:17:21 2001
@@ -23,6 +23,7 @@
 #include <string.h>
 #include <unistd.h>
 #include <sys/stat.h>
+#include <sys/param.h>
 #include <libintl.h>
 #include <locale.h>
 #include <scrollkeeper.h>
@@ -31,7 +32,7 @@
 
 #define _(String) gettext (String)
 
-#define PATHLEN		256
+#define PATHLEN		MAXPATHLEN
 
 struct IdTab {
     int id;
--- cl/src/update.c.orig	Thu Mar 15 11:10:33 2001
+++ cl/src/update.c	Mon Sep 10 00:17:33 2001
@@ -19,6 +19,7 @@
 #include <config.h>
 #include <sys/types.h>
 #include <sys/stat.h>
+#include <sys/param.h>
 #include <limits.h>
 #include <stdio.h>
 #include <stdlib.h>
@@ -32,7 +33,7 @@
 
 #define SCROLLKEEPERLOCALEDIR "/usr/share/locale"
 
-#define PATHLEN	256
+#define PATHLEN	MAXPATHLEN
 
 char **av;