mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-libs/libgcrypt-1.9.4: fix compilation for ppc-macos
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
This commit is contained in:
16
dev-libs/libgcrypt/files/libgcrypt-powerpc-darwin.patch
Normal file
16
dev-libs/libgcrypt/files/libgcrypt-powerpc-darwin.patch
Normal file
@@ -0,0 +1,16 @@
|
||||
Drop guard for CPU detection, configure won't get this wrong, and this
|
||||
check fails on some PPC platforms where these guards aren't set (due to
|
||||
different kernel/libc).
|
||||
|
||||
--- a/src/hwf-ppc.c
|
||||
+++ b/src/hwf-ppc.c
|
||||
@@ -33,9 +33,6 @@
|
||||
#include "g10lib.h"
|
||||
#include "hwf-common.h"
|
||||
|
||||
-#if !defined (__powerpc__) && !defined (__powerpc64__)
|
||||
-# error Module build for wrong CPU.
|
||||
-#endif
|
||||
|
||||
|
||||
#if defined(HAVE_SYS_AUXV_H) && defined(HAVE_ELF_AUX_INFO) && \
|
||||
@@ -20,6 +20,7 @@ BDEPEND="doc? ( virtual/texi2dvi )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-multilib-syspath.patch
|
||||
"${FILESDIR}"/${PN}-powerpc-darwin.patch
|
||||
)
|
||||
|
||||
MULTILIB_CHOST_TOOLS=(
|
||||
|
||||
Reference in New Issue
Block a user