File: fix_ftbfs_mips64el.patch

package info (click to toggle)
acpica-unix 20250404-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 39,648 kB
  • sloc: ansic: 139,761; sh: 4,385; yacc: 4,377; lex: 1,345; makefile: 1,337
file content (15 lines) | stat: -rw-r--r-- 752 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Add __mips64 support for ACPI_MACHINE_WIDTH 64-bit configuration.

Index: acpica-unix-20240927/source/include/platform/aclinux.h
===================================================================
--- acpica-unix-20240927.orig/source/include/platform/aclinux.h
+++ acpica-unix-20240927/source/include/platform/aclinux.h
@@ -225,7 +225,7 @@
 
 #if defined(__ia64__)    || (defined(__x86_64__) && !defined(__ILP32__)) ||\
     defined(__aarch64__) || defined(__PPC64__) ||\
-    defined(__s390x__)   || defined(__loongarch__) ||\
+    defined(__s390x__)   || defined(__mips64) || defined(__loongarch__) ||\
     (defined(__riscv) && (defined(__LP64__) || defined(_LP64)))
 #define ACPI_MACHINE_WIDTH          64
 #define COMPILER_DEPENDENT_INT64    long