diff options
Diffstat (limited to 'dev-libs/libgcrypt/files/libgcrypt-powerpc-darwin.patch')
-rw-r--r-- | dev-libs/libgcrypt/files/libgcrypt-powerpc-darwin.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/dev-libs/libgcrypt/files/libgcrypt-powerpc-darwin.patch b/dev-libs/libgcrypt/files/libgcrypt-powerpc-darwin.patch new file mode 100644 index 000000000000..f1c7cf9e9500 --- /dev/null +++ b/dev-libs/libgcrypt/files/libgcrypt-powerpc-darwin.patch @@ -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) && \ |