Package: hula
Severity: important
Tags: patch

Hi,

hula current fails to compile on m68k and the problem is caused by the
different alignment rules m68k has. The _TemplateStruct structure isn't
properly padded, as it's expected by mwcomp.c. The attached patch fixes
this and let's hula successfully compile on m68k.
Please consider applying, thanks.

bye, Roman

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: m68k
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.18-m68k-amiga
Locale: LANG=de_DE.UTF-8, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
diff -ur hula-0.1.0+svn379.org/include/mwtempl.h hula-0.1.0+svn379/include/mwtempl.h
--- hula-0.1.0+svn379.org/include/mwtempl.h	2005-08-30 17:59:48.000000000 +0200
+++ hula-0.1.0+svn379/include/mwtempl.h	2006-10-21 23:06:21.000000000 +0200
@@ -55,7 +55,7 @@
 	unsigned long	Colors[10][2];
 	unsigned long	DescriptionString;	/* 0 based, -1 = No Description */
 	unsigned long	Spare[9];
-    unsigned char SourcePath[XPL_MAX_PATH + 1];
+	unsigned char SourcePath[(XPL_MAX_PATH + 4) & -4];
 } TemplateStruct;
 
 typedef struct _TokenOverlayStruct {

Reply via email to