File: ftbfs_alpha_ia64.patch

package info (click to toggle)
mame 0.280%2Bdfsg.1-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 911,560 kB
  • sloc: cpp: 5,252,752; xml: 2,221,427; ansic: 750,970; sh: 34,449; lisp: 19,643; python: 16,304; makefile: 13,251; java: 8,492; yacc: 8,152; javascript: 7,069; cs: 6,013; asm: 4,786; ada: 1,681; pascal: 1,191; lex: 1,174; perl: 585; ruby: 373
file content (64 lines) | stat: -rw-r--r-- 1,542 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
Description: Do not pass -m64 to alpha, ia64, loong64 or riscv64 builds.
Author: Jordi Mallach <jordi@debian.org>
Forwarded: no
Last-Update: 2025-05-14

Index: mame/makefile
===================================================================
--- mame.orig/makefile
+++ mame/makefile
@@ -194,6 +194,14 @@ else ifneq ($(filter arm%,$(UNAME_M)),)
 PLATFORM := arm
 else ifneq ($(filter arm%,$(UNAME_P)),)
 PLATFORM := arm
+else ifneq ($(filter ia64,$(UNAME_M)),)
+PLATFORM := ia64
+else ifneq ($(filter ia64,$(UNAME_P)),)
+PLATFORM := ia64
+else ifneq ($(filter loongarch64,$(UNAME_M)),)
+PLATFORM := loong64
+else ifneq ($(filter loongarch64,$(UNAME_P)),)
+PLATFORM := loong64
 else ifneq ($(filter powerpc,$(UNAME_P)),)
 PLATFORM := powerpc
 else ifneq ($(filter riscv64%,$(UNAME_M)),)
@@ -410,9 +418,39 @@ else
 BIGENDIAN := 1
 endif
 endif
+
+ifeq ($(findstring alpha,$(UNAME)),alpha)
+ARCHITECTURE :=
+ifndef FORCE_DRC_C_BACKEND
+	FORCE_DRC_C_BACKEND := 1
+endif
+endif
+
+ifeq ($(findstring ia64,$(UNAME)),ia64)
+ARCHITECTURE :=
+ifndef FORCE_DRC_C_BACKEND
+	FORCE_DRC_C_BACKEND := 1
+endif
+endif
+
+ifeq ($(findstring loongarch64,$(UNAME)),loongarch64)
+ARCHITECTURE :=
+ifndef FORCE_DRC_C_BACKEND
+	FORCE_DRC_C_BACKEND := 1
+endif
+endif
+
+ifeq ($(findstring riscv64,$(UNAME)),riscv64)
+ARCHITECTURE :=
+ifndef FORCE_DRC_C_BACKEND
+	FORCE_DRC_C_BACKEND := 1
+endif
+endif
+
 ifneq (,$(findstring s390x,$(UNAME)))
 BIGENDIAN := 1
 endif
+
 # FreeBSD
 ifneq (,$(findstring powerpc,$(UNAME)))
 ifneq (,$(findstring powerpc64le,$(UNAME)))