Package: tbox
Version: 1.6.7-2
Severity: important
Tags: hppa, patch
tbox fails currently on hppa:
https://buildd.debian.org/status/logs.php?pkg=tbox&arch=hppa
The attached patch fixes this.
Please apply.
Thanks!
Helge
diff -up ./src/tbox/prefix/arch.h.org ./src/tbox/prefix/arch.h
--- ./src/tbox/prefix/arch.h.org2022-03-15 07:33:07.918940173 +
+++ ./src/tbox/prefix/arch.h2022-03-15 07:33:14.026900513 +
@@ -238,6 +238,13 @@
# else
# error unknown arch for tiny c, please define target like
-DTCC_TARGET_I386
# endif
+#elif defined(__hppa__)
+# define TB_ARCH_HPPA
+# if defined(__LP64__)
+# define TB_ARCH_STRING "hppa64"
+# else
+# define TB_ARCH_STRING "hppa"
+# endif
#else
# error unknown arch
# define TB_ARCH_STRING "unknown_arch"