summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-10-30 05:32:24 +0000
committerMike Frysinger <vapier@gentoo.org>2005-10-30 05:32:24 +0000
commit9411c5fa7fab42d5d95801e0b3549a69306a030a (patch)
treeab2b7cc7da5e82151534b300b6ffe4794081dc7d /app-arch/lha/files
parentlet portage handle the unzip in src_unpack (diff)
downloadgentoo-2-9411c5fa7fab42d5d95801e0b3549a69306a030a.tar.gz
gentoo-2-9411c5fa7fab42d5d95801e0b3549a69306a030a.tar.bz2
gentoo-2-9411c5fa7fab42d5d95801e0b3549a69306a030a.zip
rename patches
Diffstat (limited to 'app-arch/lha/files')
-rw-r--r--app-arch/lha/files/lha-114i-dir_length_bounds_check.patch (renamed from app-arch/lha/files/lha-dir_length_bounds_check.patch)4
-rw-r--r--app-arch/lha/files/lha-114i-lhext.diff18
-rw-r--r--app-arch/lha/files/lha-114i-malloc.patch4
-rw-r--r--app-arch/lha/files/lha-114i-sec.patch (renamed from app-arch/lha/files/lha-114i.diff)8
-rw-r--r--app-arch/lha/files/lha-114i-sec2.patch (renamed from app-arch/lha/files/lha-command_buffer.patch)25
-rw-r--r--app-arch/lha/files/lha-114i-symlink.patch4
6 files changed, 20 insertions, 43 deletions
diff --git a/app-arch/lha/files/lha-dir_length_bounds_check.patch b/app-arch/lha/files/lha-114i-dir_length_bounds_check.patch
index 7a0ae1e086e2..78543673b982 100644
--- a/app-arch/lha/files/lha-dir_length_bounds_check.patch
+++ b/app-arch/lha/files/lha-114i-dir_length_bounds_check.patch
@@ -1,5 +1,5 @@
---- src/header.c 2002-07-19 17:23:58.000000000 +0900
-+++ src/header.c 2004-06-16 09:49:23.000000000 +0900
+--- lha-114i/src/header.c
++++ lha-114i/src/header.c
@@ -648,8 +648,17 @@
}
diff --git a/app-arch/lha/files/lha-114i-lhext.diff b/app-arch/lha/files/lha-114i-lhext.diff
deleted file mode 100644
index dca1f2a458be..000000000000
--- a/app-arch/lha/files/lha-114i-lhext.diff
+++ /dev/null
@@ -1,18 +0,0 @@
-diff -urN lha-114i/src/lhext.c lha-114i.lhext/src/lhext.c
---- lha-114i/src/lhext.c 2000-10-04 23:57:38.000000000 +0900
-+++ lha-114i.lhext/src/lhext.c 2004-05-20 01:06:41.000000000 +0900
-@@ -207,9 +207,11 @@
- }
-
- if (extract_directory)
-- sprintf(name, "%s/%s", extract_directory, q);
-- else
-- strcpy(name, q);
-+ snprintf(name, sizeof(name), "%s/%s", extract_directory, q);
-+ else {
-+ strncpy(name, q, sizeof(name));
-+ name[sizeof(name) - 1] = '\0';
-+ }
-
-
- /* LZHDIRS_METHODを持つヘッダをチェックする */
diff --git a/app-arch/lha/files/lha-114i-malloc.patch b/app-arch/lha/files/lha-114i-malloc.patch
index cc3b034dc5e3..9f4499aecaff 100644
--- a/app-arch/lha/files/lha-114i-malloc.patch
+++ b/app-arch/lha/files/lha-114i-malloc.patch
@@ -1,5 +1,5 @@
---- lha-114i/src/lha.h.orig 2004-05-19 19:24:19.000000000 -0400
-+++ lha-114i/src/lha.h 2004-05-19 19:23:19.000000000 -0400
+--- lha-114i/src/lha.h
++++ lha-114i/src/lha.h
@@ -16,6 +16,7 @@
#include <sys/types.h>
#include <sys/file.h>
diff --git a/app-arch/lha/files/lha-114i.diff b/app-arch/lha/files/lha-114i-sec.patch
index d723d668a94c..3f4dca7993d6 100644
--- a/app-arch/lha/files/lha-114i.diff
+++ b/app-arch/lha/files/lha-114i-sec.patch
@@ -1,5 +1,5 @@
---- header.c.old 2000-10-05 19:36:03.000000000 +0200
-+++ header.c 2004-04-17 23:55:54.000000000 +0200
+--- lha-114i/src/header.c
++++ lha-114i/src/header.c
@@ -538,6 +538,10 @@
/*
* filename
@@ -22,8 +22,8 @@
for (i = 0; i < header_size - 3; i++)
dirname[i] = (char) get_byte();
dirname[header_size - 3] = '\0';
---- lhext.c.old 2000-10-04 16:57:38.000000000 +0200
-+++ lhext.c 2004-04-18 01:27:44.000000000 +0200
+--- lha-114i/src/lhext.c
++++ lha-114i/src/lhext.c
@@ -190,8 +190,13 @@
q = (char *) rindex(hdr->name, '/') + 1;
}
diff --git a/app-arch/lha/files/lha-command_buffer.patch b/app-arch/lha/files/lha-114i-sec2.patch
index e2a477784470..897389def8d2 100644
--- a/app-arch/lha/files/lha-command_buffer.patch
+++ b/app-arch/lha/files/lha-114i-sec2.patch
@@ -1,6 +1,5 @@
-diff -urNp lha-114i.orig/src/lha_macro.h lha-114i/src/lha_macro.h
---- lha-114i.orig/src/lha_macro.h 2004-08-03 15:53:56.000000000 -0500
-+++ lha-114i/src/lha_macro.h 2004-08-03 15:54:05.000000000 -0500
+--- lha-114i/src/lha_macro.h
++++ lha-114i/src/lha_macro.h
@@ -53,7 +53,7 @@
#define SEEK_SET 0
#define SEEK_CUR 1
@@ -10,9 +9,8 @@ diff -urNp lha-114i.orig/src/lha_macro.h lha-114i/src/lha_macro.h
/* non-integral functions */
-diff -urNp lha-114i.orig/src/lharc.c lha-114i/src/lharc.c
---- lha-114i.orig/src/lharc.c 2004-08-03 15:53:56.000000000 -0500
-+++ lha-114i/src/lharc.c 2004-08-03 15:54:05.000000000 -0500
+--- lha-114i/src/lharc.c
++++ lha-114i/src/lharc.c
@@ -830,9 +830,10 @@ find_files(name, v_filec, v_filev)
DIRENTRY *dp;
struct stat tmp_stbuf, arc_stbuf, fil_stbuf;
@@ -86,9 +84,8 @@ diff -urNp lha-114i.orig/src/lharc.c lha-114i/src/lharc.c
if (open_old_archive_1(expanded_archive_name, &fp)) {
archive_name = expanded_archive_name;
return fp;
-diff -urNp lha-114i.orig/src/lhext.c lha-114i/src/lhext.c
---- lha-114i.orig/src/lhext.c 2004-08-03 15:53:56.000000000 -0500
-+++ lha-114i/src/lhext.c 2004-08-03 15:55:40.000000000 -0500
+--- lha-114i/src/lhext.c
++++ lha-114i/src/lhext.c
@@ -82,7 +82,8 @@ make_parent_path(name)
register char *p;
@@ -137,9 +134,8 @@ diff -urNp lha-114i.orig/src/lhext.c lha-114i/src/lhext.c
warning("Can't make Symbolic Link", buf);
return;
#endif
-diff -urNp lha-114i.orig/src/lhlist.c lha-114i/src/lhlist.c
---- lha-114i.orig/src/lhlist.c 2004-08-03 15:53:56.000000000 -0500
-+++ lha-114i/src/lhlist.c 2004-08-03 15:54:05.000000000 -0500
+--- lha-114i/src/lhlist.c
++++ lha-114i/src/lhlist.c
@@ -250,7 +250,8 @@ list_one(hdr)
printf(" %s", hdr->name);
else {
@@ -150,9 +146,8 @@ diff -urNp lha-114i.orig/src/lhlist.c lha-114i/src/lhlist.c
b1 = strtok(buf, "|");
b2 = strtok(NULL, "|");
printf(" %s -> %s", b1, b2);
-diff -urNp lha-114i.orig/src/util.c lha-114i/src/util.c
---- lha-114i.orig/src/util.c 2004-08-03 15:53:56.000000000 -0500
-+++ lha-114i/src/util.c 2004-08-03 15:54:05.000000000 -0500
+--- lha-114i/src/util.c
++++ lha-114i/src/util.c
@@ -276,21 +276,27 @@ rmdir(path)
char *path;
{
diff --git a/app-arch/lha/files/lha-114i-symlink.patch b/app-arch/lha/files/lha-114i-symlink.patch
index 1189eef82e16..a872fa5548f9 100644
--- a/app-arch/lha/files/lha-114i-symlink.patch
+++ b/app-arch/lha/files/lha-114i-symlink.patch
@@ -1,5 +1,5 @@
---- lha-114i/src/lhext.c.symlink 2000-10-04 10:57:38.000000000 -0400
-+++ lha-114i/src/lhext.c 2003-05-19 22:55:57.000000000 -0400
+--- lha-114i/src/lhext.c
++++ lha-114i/src/lhext.c
@@ -351,6 +351,7 @@ extract_one(afp, hdr)
}