summaryrefslogtreecommitdiff
path: root/sysutils/mkisofs
diff options
context:
space:
mode:
authoris <is@pkgsrc.org>1998-02-13 11:19:22 +0000
committeris <is@pkgsrc.org>1998-02-13 11:19:22 +0000
commit8cccd76cc227992a33a20e781f68ee3e02241657 (patch)
treefe0eddd7db05082389f6bf6d1e40a55f9ad40475 /sysutils/mkisofs
parentfb3ccc5338e0573fdd599b1e1f6cafb8730030f3 (diff)
downloadpkgsrc-8cccd76cc227992a33a20e781f68ee3e02241657.tar.gz
Work around structure alignment problem on m68k cpus. Fixes PR 4952 by
Bob Nestor.
Diffstat (limited to 'sysutils/mkisofs')
-rw-r--r--sysutils/mkisofs/patches/patch-ae23
1 files changed, 23 insertions, 0 deletions
diff --git a/sysutils/mkisofs/patches/patch-ae b/sysutils/mkisofs/patches/patch-ae
new file mode 100644
index 00000000000..83bfd9242e2
--- /dev/null
+++ b/sysutils/mkisofs/patches/patch-ae
@@ -0,0 +1,23 @@
+--- iso9660.h.back Thu Apr 10 05:41:46 1997
++++ iso9660.h Fri Feb 13 12:13:11 1998
+@@ -136,9 +136,9 @@
+ char extent[4]; /* 731 */
+ char parent[2]; /* 721 */
+ char name[1];
+-};
++} __attribute((packed));
+
+-struct iso_directory_record {
++struct iso_directory_record {
+ unsigned char length [ISODCL (1, 1)]; /* 711 */
+ char ext_attr_length [ISODCL (2, 2)]; /* 711 */
+ char extent [ISODCL (3, 10)]; /* 733 */
+@@ -150,7 +150,7 @@
+ char volume_sequence_number [ISODCL (29, 32)]; /* 723 */
+ unsigned char name_len [ISODCL (33, 33)]; /* 711 */
+ char name [34]; /* Not really, but we need something here */
+-};
++} __attribute__((packed));
+ #endif
+
+