diff --git a/srcpkgs/splix/patches/fix-alignment-problem-on-armel.patch b/srcpkgs/splix/patches/fix-alignment-problem-on-armel.patch new file mode 100644 index 00000000000..5398783a7b3 --- /dev/null +++ b/srcpkgs/splix/patches/fix-alignment-problem-on-armel.patch @@ -0,0 +1,21 @@ +From: Luca Niccoli +Date: Sun, 12 Jun 2011 15:30:15 +0200 +Subject: Fix alignment problem on armel + +--- + src/qpdl.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git src/qpdl.cpp src/qpdl.cpp +index 994e1c8..a95f361 100644 +--- src/qpdl.cpp ++++ src/qpdl.cpp +@@ -132,7 +132,7 @@ static bool _renderBand(const Request& request, const Band* band, bool mono) + { + unsigned long version, subVersion, size, dataSize, checkSum; + bool color, headerSent=false; +- unsigned char header[0x20]; ++ unsigned char header[0x20] __attribute__((aligned(4))); + const BandPlane *plane; + + version = request.printer()->qpdlVersion(); diff --git a/srcpkgs/splix/template b/srcpkgs/splix/template index 8325830ea85..9972f7364d9 100644 --- a/srcpkgs/splix/template +++ b/srcpkgs/splix/template @@ -1,7 +1,7 @@ # Template file for 'splix-svn' pkgname=splix version=2.0.0+svn315 -revision=1 +revision=2 wrksrc="$pkgname-$version.orig" build_style=gnu-makefile makedepends="cups-devel mit-krb5-devel jbigkit-devel"