summaryrefslogtreecommitdiff
path: root/editors/openoffice-3-devel/files/patch-i73217
blob: cea0759cd41ca47bc389b75112d7b158b56e6f9b (plain) (blame)
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
--- epm/epm-3.7.patch.org	2010-06-19 19:51:40.000000000 +0900
+++ epm/epm-3.7.patch	2010-06-20 08:09:43.000000000 +0900
@@ -303,6 +303,15 @@
 diff -urN epm-3.7-old//dist.c epm-3.7/dist.c
 --- misc/epm-3.7/dist.c	2003-08-07 14:14:40.000000000 +0000
 +++ misc/build/epm-3.7/dist.c	2010-04-19 22:52:32.000000000 +0000
+@@ -339,7 +339,7 @@
+ 	   const char *defval)		/* I - Default value of option */
+ {
+   char		*ptr;			/* Pointer to option */
+-  static char	option[256];		/* Copy of file option */
++  static char	option[1024];		/* Copy of file option */
+ 
+ 
+  /*
 @@ -394,8 +394,13 @@
    strcpy(platform->machine, "mips");
  #elif defined(__hpux)
@@ -332,6 +341,24 @@
    else if (strncmp(platform->machine, "sun", 3) == 0)
      strcpy(platform->machine, "sparc");
  #endif /* __sgi */
+@@ -560,13 +560,13 @@
+   char		line[2048],	/* Expanded line from list file */
+ 		buf[1024],	/* Original line from list file */
+ 		type,		/* File type */
+-		dst[256],	/* Destination path */
+-		src[256],	/* Source path */
+-		pattern[256],	/* Pattern for source files */
++		dst[1024],	/* Destination path */
++		src[1024],	/* Source path */
++		pattern[1024],	/* Pattern for source files */
+ 		user[32],	/* User */
+ 		group[32],	/* Group */
+ 		*temp,		/* Temporary pointer */
+-		options[256];	/* File options */
++		options[1024];	/* File options */
+   int		mode,		/* File permissions */
+ 		skip;		/* 1 = skip files, 0 = archive files */
+   dist_t	*dist;		/* Distribution data */
 diff -urN epm-3.7-old//epm.c epm-3.7/epm.c
 --- misc/epm-3.7/epm.c	2003-10-28 14:48:30.000000000 +0000
 +++ misc/build/epm-3.7/epm.c	2010-04-19 22:52:32.000000000 +0000
@@ -655,3 +682,19 @@
    return (0);
  }
  
+diff -urN epm-3.7-old//rpm.c epm-3.7/epm.h
+--- misc/epm-3.7/epm.h	2003-10-01 19:27:15.000000000 +0000
++++ misc/build/epm-3.7/epm.h	2010-04-19 22:52:32.000000000 +0000
+@@ -167,9 +167,9 @@
+   int	mode;				/* Permissions of file */
+   char	user[32],			/* Owner of file */
+ 	group[32],			/* Group of file */
+-	src[512],			/* Source path */
+-	dst[512],			/* Destination path */
+-	options[256];			/* File options (nostrip, etc.) */
++	src[1024],			/* Source path */
++	dst[1024],			/* Destination path */
++	options[1024];			/* File options (nostrip, etc.) */
+ } file_t;
+ 
+ typedef struct				/**** Install/Patch/Remove Commands ****/