File: 0203_generic-arch-fallback.patch

package info (click to toggle)
mplayer 2%3A1.5%2Bsvn38408-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 64,436 kB
  • sloc: ansic: 324,752; xml: 116,492; sh: 9,876; perl: 1,152; objc: 1,073; makefile: 1,006; cpp: 875; asm: 346; awk: 223; python: 98; cs: 10
file content (18 lines) | stat: -rw-r--r-- 575 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Fallback to the "generic" architecture if cpu detection fails
 Should fix FTBFS on m68k and riscv.
Author: James Cowgill <jcowgill@debian.org>
Bug: https://trac.mplayerhq.hu/ticket/2344
Bug-Debian: https://bugs.debian.org/728772
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/configure
+++ b/configure
@@ -1857,7 +1857,7 @@
       nios2) host_arch=nios2 ;;
       vax) host_arch=vax ;;
       xtensa*) host_arch=xtensa ;;
-      *) host_arch=UNKNOWN ;;
+      *) host_arch=generic ;;
   esac
   }
   set_host_arch "$(uname -m 2>&1)"