466c89c5be
Funded by: OpenOffice.org community. Feature safe: yes
63 lines
2.3 KiB
Text
63 lines
2.3 KiB
Text
--- 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 ****/
|