elogind: fix ppc64 tuple
This commit is contained in:
parent
8155eb6adb
commit
6955cd6d8b
1 changed files with 25 additions and 0 deletions
25
srcpkgs/elogind/patches/ppc64-bad-tuple.patch
Normal file
25
srcpkgs/elogind/patches/ppc64-bad-tuple.patch
Normal file
|
@ -0,0 +1,25 @@
|
|||
From 0ce8ef86e8bfc872b40bc090fea9873fa1f51836 Mon Sep 17 00:00:00 2001
|
||||
From: q66 <daniel@octaforge.org>
|
||||
Date: Thu, 21 Jan 2021 22:22:28 +0100
|
||||
Subject: [PATCH] fix ppc64 arch tuple
|
||||
|
||||
---
|
||||
src/basic/architecture.h | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git src/basic/architecture.h src/basic/architecture.h
|
||||
index 620b522..3ea6e52 100644
|
||||
--- src/basic/architecture.h
|
||||
+++ src/basic/architecture.h
|
||||
@@ -77,7 +77,7 @@ int uname_architecture(void);
|
||||
#elif defined(__powerpc64__)
|
||||
# if __BYTE_ORDER == __BIG_ENDIAN
|
||||
# define native_architecture() ARCHITECTURE_PPC64
|
||||
-# define LIB_ARCH_TUPLE "ppc64-linux-gnu"
|
||||
+# define LIB_ARCH_TUPLE "powerpc64-linux-gnu"
|
||||
# define SECONDARY_ARCHITECTURE ARCHITECTURE_PPC
|
||||
# else
|
||||
# define native_architecture() ARCHITECTURE_PPC64_LE
|
||||
--
|
||||
2.30.0
|
||||
|
Loading…
Reference in a new issue