Hi,
I'm forwarding a patch sent to Debian to allow building widl on hppa.
Regards,
Stephen
Begin forwarded message:
Date: Sun, 24 Nov 2013 12:51:23 -0500
From: John David Anglin <dave.ang...@bell.net>
To: Debian Bug Tracking System <sub...@bugs.debian.org>
Subject: Bug#730398: mingw-w64: FTBFS on hppa
Package: mingw-w64
Version: 3.0.0-2
Severity: normal
Tags: patch
gcc-4.8 -DHAVE_CONFIG_H -I. -I../../mingw-w64-tools/widl -I./include
-I../../mingw-w64-tools/widl/include
-DDEFAULT_INCLUDE_DIR=\"/usr/include/../i686-w64-mingw32/include\"
-D_FORTIFY_SOURCE=2 -O3 -g -Wall -Wformat -Wpacked -Wmissing-declarations
-Wimplicit-function-declaration -Wmissing-prototypes -Wstrict-aliasing=2 -g
-O2 -Wformat -Werror=format-security -c -o src/widl-hash.o `test -f
'src/hash.c' || echo '../../mingw-w64-tools/widl/'`src/hash.c In file
included from ../../mingw-w64-tools/widl/include/winnt.h:24:0,
from ../../mingw-w64-tools/widl/include/windef.h:252,
from ../../mingw-w64-tools/widl/src/hash.c:24:
../../mingw-w64-tools/widl/include/basetsd.h:325:3:
error: #error Unknown CPU architecture! # error Unknown CPU architecture! ^
-- System Information:
Debian Release: 7.0
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: hppa (parisc64)
Kernel: Linux 3.12.0-rc7+ (SMP w/2 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages mingw-w64 depends on:
ii g++-mingw-w64 4.6.4-4+b1+8
ii gcc-mingw-w64 4.6.4-4+b1+8
mingw-w64 recommends no packages.
mingw-w64 suggests no packages.
-- no debconf information
--- ./mingw-w64-tools/widl/include/basetsd.h.save 2013-11-22 23:06:37.000000000 -0500
+++ ./mingw-w64-tools/widl/include/basetsd.h 2013-11-24 11:59:37.354363464 -0500
@@ -313,6 +313,10 @@
# undef WORDS_BIGENDIAN
# undef BITFIELDS_BIGENDIAN
# undef ALLOW_UNALIGNED_ACCESS
+#elif defined(__hppa__)
+# undef WORDS_BIGENDIAN
+# undef BITFIELDS_BIGENDIAN
+# undef ALLOW_UNALIGNED_ACCESS
#elif defined(__ia64__)
# undef WORDS_BIGENDIAN
# undef BITFIELDS_BIGENDIAN
------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing
conversations that shape the rapidly evolving mobile landscape. Sign up now.
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public