elogind: fix build on ppcle
This commit is contained in:
parent
b215450289
commit
8155eb6adb
1 changed files with 25 additions and 0 deletions
25
srcpkgs/elogind/patches/ppcle.patch
Normal file
25
srcpkgs/elogind/patches/ppcle.patch
Normal file
|
@ -0,0 +1,25 @@
|
|||
From 836f3efb84a703b3594906572a54616d25cecf5e Mon Sep 17 00:00:00 2001
|
||||
From: q66 <daniel@octaforge.org>
|
||||
Date: Thu, 21 Jan 2021 21:59:12 +0100
|
||||
Subject: [PATCH] add ppcle 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..afdff7a 100644
|
||||
--- src/basic/architecture.h
|
||||
+++ src/basic/architecture.h
|
||||
@@ -94,7 +94,7 @@ int uname_architecture(void);
|
||||
# endif
|
||||
# else
|
||||
# define native_architecture() ARCHITECTURE_PPC_LE
|
||||
-# error "Missing LIB_ARCH_TUPLE for PPCLE"
|
||||
+# define LIB_ARCH_TUPLE "powerpcle-linux-gnu"
|
||||
# endif
|
||||
#elif defined(__ia64__)
|
||||
# define native_architecture() ARCHITECTURE_IA64
|
||||
--
|
||||
2.30.0
|
||||
|
Loading…
Reference in a new issue