diff options
author | is <is> | 1998-02-13 11:19:22 +0000 |
---|---|---|
committer | is <is> | 1998-02-13 11:19:22 +0000 |
commit | 58003a609800f3b845cdc1fcbd8f20f3b5351e79 (patch) | |
tree | fe0eddd7db05082389f6bf6d1e40a55f9ad40475 /sysutils | |
parent | b7d2e96d42518202635468042a968a93722def62 (diff) | |
download | pkgsrc-58003a609800f3b845cdc1fcbd8f20f3b5351e79.tar.gz |
Work around structure alignment problem on m68k cpus. Fixes PR 4952 by
Bob Nestor.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/mkisofs/patches/patch-ae | 23 |
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 + + |