summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRick Farina <zerochaos@gentoo.org>2013-01-22 21:09:06 +0000
committerRick Farina <zerochaos@gentoo.org>2013-01-22 21:09:06 +0000
commit708afcb53faa9f049b2214ed5ef50ef6fee6720a (patch)
treeb8eb423a65e4964a46968b5b8907a50505d82a88 /app-crypt/johntheripper/files
parentold (diff)
downloadgentoo-2-708afcb53faa9f049b2214ed5ef50ef6fee6720a.tar.gz
gentoo-2-708afcb53faa9f049b2214ed5ef50ef6fee6720a.tar.bz2
gentoo-2-708afcb53faa9f049b2214ed5ef50ef6fee6720a.zip
build fix for ppc, as reported and fixed by peratu and approved by upstream for this version. bug #452592
(Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key DD11F94A)
Diffstat (limited to 'app-crypt/johntheripper/files')
-rw-r--r--app-crypt/johntheripper/files/johntheripper-1.7.9-ppc-compile-fix.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/app-crypt/johntheripper/files/johntheripper-1.7.9-ppc-compile-fix.patch b/app-crypt/johntheripper/files/johntheripper-1.7.9-ppc-compile-fix.patch
new file mode 100644
index 000000000000..c28ec21a0ae8
--- /dev/null
+++ b/app-crypt/johntheripper/files/johntheripper-1.7.9-ppc-compile-fix.patch
@@ -0,0 +1,17 @@
+diff -ru john-1.7.9.orig/src/gost_plug.c john-1.7.9/src/gost_plug.c
+--- john-1.7.9.orig/src/gost_plug.c 2013-01-20 16:15:45.464000001 +0000
++++ john-1.7.9/src/gost_plug.c 2013-01-20 16:16:06.104000001 +0000
+@@ -531,7 +531,6 @@
+ }
+ #endif
+
+-#ifndef __GLIBC__
+ void rhash_u32_swap_copy(void* to, int index, const void* from, size_t length) {
+ size_t i;
+ unsigned int *pO, *pI;
+@@ -542,4 +541,3 @@
+ *pO++ = bswap_32(*pI++);
+ }
+ }
+-#endif
+