summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2008-06-14 11:04:51 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2008-06-14 11:04:51 +0000
commitdfa6c0d314477f600b10420762ebdfc07c182efc (patch)
treed32cda888495a129d0a15443739638a206fd2e5f /dev-libs/libcdio/files
parentBug #226505 - For compatibity with phase execution order in >=portage-2.1.5, (diff)
downloadgentoo-2-dfa6c0d314477f600b10420762ebdfc07c182efc.tar.gz
gentoo-2-dfa6c0d314477f600b10420762ebdfc07c182efc.tar.bz2
gentoo-2-dfa6c0d314477f600b10420762ebdfc07c182efc.zip
Restore ebuild I removed by mistake. Sorry Mike (only your arches are involved).
(Portage version: 2.1.5.5, RepoMan options: --force)
Diffstat (limited to 'dev-libs/libcdio/files')
-rw-r--r--dev-libs/libcdio/files/libcdio-0.78.2-bug203777.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/dev-libs/libcdio/files/libcdio-0.78.2-bug203777.patch b/dev-libs/libcdio/files/libcdio-0.78.2-bug203777.patch
new file mode 100644
index 000000000000..9458eb4d3029
--- /dev/null
+++ b/dev-libs/libcdio/files/libcdio-0.78.2-bug203777.patch
@@ -0,0 +1,25 @@
+diff -Naur libcdio-0.78.2-orig/work/libcdio-0.78.2/src/cd-info.c libcdio-0.78.2/work/libcdio-0.78.2/src/cd-info.c
+--- libcdio-0.78.2-orig/work/libcdio-0.78.2/src/cd-info.c 2006-03-17 14:37:08.000000000 -0500
++++ libcdio-0.78.2/work/libcdio-0.78.2/src/cd-info.c 2007-12-30 10:49:40.000000000 -0500
+@@ -539,7 +539,7 @@
+ iso9660_stat_t *p_statbuf = _cdio_list_node_data (entnode);
+ char *psz_iso_name = p_statbuf->filename;
+ char _fullname[4096] = { 0, };
+- char translated_name[MAX_ISONAME+1];
++ char *translated_name = (char *) alloca(strlen(psz_iso_name)+1);
+
+ if (yep != p_statbuf->rr.b3_rock || 1 == opts.no_rock_ridge) {
+ iso9660_name_translate_ext(psz_iso_name, translated_name,
+diff -Naur libcdio-0.78.2-orig/work/libcdio-0.78.2/src/iso-info.c libcdio-0.78.2/work/libcdio-0.78.2/src/iso-info.c
+--- libcdio-0.78.2-orig/work/libcdio-0.78.2/src/iso-info.c 2006-03-17 14:37:08.000000000 -0500
++++ libcdio-0.78.2/work/libcdio-0.78.2/src/iso-info.c 2007-12-30 10:49:50.000000000 -0500
+@@ -224,7 +224,8 @@
+ iso9660_stat_t *p_statbuf = _cdio_list_node_data (entnode);
+ char *psz_iso_name = p_statbuf->filename;
+ char _fullname[4096] = { 0, };
+- char translated_name[MAX_ISONAME+1];
++ char *translated_name = (char *) alloca(strlen(psz_iso_name)+1);
++
+
+ if (yep != p_statbuf->rr.b3_rock || 1 == opts.no_rock_ridge) {
+ iso9660_name_translate_ext(psz_iso_name, translated_name,