summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavoz@gentoo.org>2006-06-19 20:43:38 +0000
committerGustavo Zacarias <gustavoz@gentoo.org>2006-06-19 20:43:38 +0000
commit4415735d56503e52e2f95662516aa67a29eafa56 (patch)
treecfb8a0966d6ee6ee6366961750f842b446e4280f /sys-boot/silo/files/silo-1.4.12-iso.patch
parentStable on x86, bug #134960. (diff)
downloadhistorical-4415735d56503e52e2f95662516aa67a29eafa56.tar.gz
historical-4415735d56503e52e2f95662516aa67a29eafa56.tar.bz2
historical-4415735d56503e52e2f95662516aa67a29eafa56.zip
Revbump with the iso patch, hopefully fixes CD issues
Package-Manager: portage-2.1
Diffstat (limited to 'sys-boot/silo/files/silo-1.4.12-iso.patch')
-rw-r--r--sys-boot/silo/files/silo-1.4.12-iso.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/sys-boot/silo/files/silo-1.4.12-iso.patch b/sys-boot/silo/files/silo-1.4.12-iso.patch
new file mode 100644
index 000000000000..3dc8d7b86f65
--- /dev/null
+++ b/sys-boot/silo/files/silo-1.4.12-iso.patch
@@ -0,0 +1,35 @@
+--- first-isofs/isofs.c.~1~ 2006-06-18 19:05:53.000000000 -0700
++++ first-isofs/isofs.c 2006-06-18 19:06:08.000000000 -0700
+@@ -101,6 +101,23 @@
+ return 0;
+ }
+
++static void cd_fini(void)
++{
++ switch (prom_vers) {
++ case PROM_V0:
++ romvec->pv_v0devops.v0_devclose(fd);
++ break;
++
++ case PROM_V2:
++ case PROM_V3:
++ romvec->pv_v2devops.v2_dev_close(fd);
++ break;
++
++ case PROM_P1275:
++ p1275_cmd("close", 1, fd);
++ break;
++ };
++}
+
+ static int cd_read_block(unsigned long long offset, int size, void *data)
+ {
+@@ -445,6 +462,8 @@
+ sinfo->conf_part = 1;
+ strcpy(sinfo->conf_file, silo_conf);
+
++ cd_fini();
++
+ prom_putchar(sinfo->id);
+
+ return dest;