Package: mkisofs
Version: 4:2.01+01a03-5
Severity: normal

/tmp/reportbug-mkisofs-20060206-3618-5vNNYZ

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: arm (armv5tel)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages mkisofs depends on:
ii  libc6                         2.3.5-12   GNU C Library: Shared libraries an
ii  zlib1g                        1:1.2.3-9  compression library - runtime

mkisofs recommends no packages.

-- no debconf information
--- cdrtools-2.01+01a03/mkisofs/iso9660.h.orig	2004-03-02 09:10:28.000000000 +1000
+++ cdrtools-2.01+01a03/mkisofs/iso9660.h	2006-02-05 09:06:52.000000000 +1000
@@ -32,12 +32,17 @@
 /* This part borrowed from the bsd386 isofs */
 #define	ISODCL(from, to) (to - from + 1)
 
+#ifndef __GNUC__
+#define __attribute__(X)
+#endif
+
+
 struct iso_volume_descriptor {
 	char type	[ISODCL(1, 1)]; /* 711 */
 	char id		[ISODCL(2, 6)];
 	char version	[ISODCL(7, 7)];
 	char data	[ISODCL(8, 2048)];
-};
+} __attribute__((packed));
 
 /* volume descriptor types */
 #define	ISO_VD_PRIMARY		1
@@ -94,7 +99,7 @@
 	char unused4			[ISODCL(883, 883)];
 	char application_data		[ISODCL(884, 1395)];
 	char unused5			[ISODCL(1396, 2048)];
-};
+} __attribute__((packed));
 
 /*
  * Supplementary or enhanced volume descriptor
@@ -133,7 +138,7 @@
 	char unused4			[ISODCL(883, 883)];
 	char application_data		[ISODCL(884, 1395)];
 	char unused5			[ISODCL(1396, 2048)];
-};
+} __attribute__((packed));
 
 /* El Torito Boot Record Volume Descriptor */
 struct eltorito_boot_descriptor {
@@ -144,7 +149,7 @@
 	char unused2			[ISODCL(40,  71)];
 	char bootcat_ptr		[ISODCL(72,  75)];
 	char unused5			[ISODCL(76, 2048)];
-};
+} __attribute__((packed));
 
 /* Validation entry for El Torito */
 struct eltorito_validation_entry {
@@ -155,7 +160,7 @@
 	char cksum			[ISODCL(29,  30)];
 	char key1			[ISODCL(31,  31)];
 	char key2			[ISODCL(32,  32)];
-};
+} __attribute__((packed));
 
 /* El Torito initial/default entry in boot catalog */
 struct eltorito_defaultboot_entry {
@@ -167,7 +172,7 @@
 	char nsect			[ISODCL(7,    8)];
 	char bootoff			[ISODCL(9,   12)];
 	char pad2			[ISODCL(13,  32)];
-};
+} __attribute__((packed));
 
 /*
  * XXX JS: The next two structures have odd lengths!
@@ -185,7 +190,7 @@
 	char extent[4];			/* 731 */
 	char  parent[2];		/* 721 */
 	char name[1];
-};
+} __attribute__((packed));
 
 /*
  * A ISO filename is: "abcde.eee;1" -> <filename> '.' <ext> ';' <version #>
@@ -225,7 +230,7 @@
 	char volume_sequence_number	[ISODCL(29, 32)]; /* 723 */
 	unsigned char name_len		[ISODCL(33, 33)]; /* 711 */
 	char name			[MAX_ISONAME+1]; /* Not really, but we need something here */
-};
+} __attribute__((packed));
 
 
 /*
@@ -261,7 +266,7 @@
 	char appl_use_len		[ISODCL(247, 250)]; /* 723 */
 	char appl_use[1];		/* really more */
 /*	char esc_seq[];			escape sequences recorded after appl_use */
-};
+} __attribute__((packed));
 
 /*
  * Iso extended attribute permissions.
@@ -299,7 +304,7 @@
 	char signature			[ISODCL(7, 8)];
 	char file_number		[ISODCL(9, 9)];
 	char reserved			[ISODCL(10, 14)];
-};
+} __attribute__((packed));
 
 /*
  * Definitions for XA attributes
@@ -330,7 +335,7 @@
 	Uchar	channel_number;		/* Playback channel selection	*/
 	Uchar	sub_mode;		/* See bit definitions below	*/
 	Uchar	coding;			/* Coding information		*/
-};
+} __attribute__((packed));
 
 /*
  * Sub mode bit definitions

Reply via email to