commit:     2c95e38ec54cc00b694db04bf87329c2517dd91d
Author:     Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Thu Jun  6 18:11:00 2019 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Jun  6 20:33:16 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c95e38e

app-crypt/johntheripper: remove unused patch(es)

Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/12209
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 .../johntheripper-1.7.3.1-mkdir-sandbox.patch      | 12 ----
 .../files/johntheripper-1.7.6-cflags.patch         | 83 ----------------------
 .../files/johntheripper-1.7.9-clang.patch          | 15 ----
 .../johntheripper-1.7.9-ppc-compile-fix.patch      | 17 -----
 4 files changed, 127 deletions(-)

diff --git 
a/app-crypt/johntheripper/files/johntheripper-1.7.3.1-mkdir-sandbox.patch 
b/app-crypt/johntheripper/files/johntheripper-1.7.3.1-mkdir-sandbox.patch
deleted file mode 100644
index 5600f3cc17e..00000000000
--- a/app-crypt/johntheripper/files/johntheripper-1.7.3.1-mkdir-sandbox.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -urNp john-1.7.3.1.org/src/path.c john-1.7.3.1/src/path.c
---- john-1.7.3.1.org/src/path.c        2003-10-01 04:26:25.000000000 +0300
-+++ john-1.7.3.1/src/path.c    2007-11-10 15:53:23.000000000 +0200
-@@ -55,7 +55,7 @@ void path_init(char **argv)
- #ifdef JOHN_PRIVATE_HOME
-       private = path_expand(JOHN_PRIVATE_HOME);
-       if (mkdir(private, S_IRUSR | S_IWUSR | S_IXUSR)) {
--              if (errno != EEXIST) pexit("mkdir: %s", private);
-+              if (errno != EEXIST && errno != EACCES) pexit("mkdir: %s", 
private);
-       } else
-               fprintf(stderr, "Created directory: %s\n", private);
- #endif

diff --git a/app-crypt/johntheripper/files/johntheripper-1.7.6-cflags.patch 
b/app-crypt/johntheripper/files/johntheripper-1.7.6-cflags.patch
deleted file mode 100644
index 4b6637a29d8..00000000000
--- a/app-crypt/johntheripper/files/johntheripper-1.7.6-cflags.patch
+++ /dev/null
@@ -1,83 +0,0 @@
---- Makefile   2010-07-18 15:27:51.000000000 -0400
-+++ Makefile.mine      2010-07-18 15:30:09.000000000 -0400
-@@ -629,7 +629,7 @@
- macosx-ppc32-altivec:
-       $(LN) ppc32alt.h arch.h
-       $(MAKE) $(PROJ) \
--              CFLAGS="-c -Wall -fomit-frame-pointer" \
-+              CFLAGS="$(CFLAGS) -c -Wall -fomit-frame-pointer" \
-               OPT_NORMAL="-fast -mcpu=7450" \
-               OPT_INLINE="-fast -mcpu=7450 -finline-limit=4000 -faltivec 
-maltivec"
- 
-@@ -638,7 +638,7 @@
-       $(LN) ppc32alt.h arch.h
-       $(MAKE) $(PROJ) \
-               ASFLAGS="$(ASFLAGS) -arch ppc" \
--              CFLAGS="-c -Wall -arch ppc -fomit-frame-pointer" \
-+              CFLAGS="$(CFLAGS) -c -Wall -arch ppc -fomit-frame-pointer" \
-               LDFLAGS="$(LDFLAGS) -arch ppc" \
-               OPT_NORMAL="-fast -mcpu=7450" \
-               OPT_INLINE="-fast -mcpu=7450 -finline-limit=4000 -faltivec 
-maltivec"
-@@ -650,7 +650,7 @@
-       $(LN) ppc32.h arch.h
-       $(MAKE) $(PROJ) \
-               CC=cc \
--              CFLAGS="-c -traditional-cpp" \
-+              CFLAGS="$(CFLAGS) -c -traditional-cpp" \
-               OPT_NORMAL="-O2" \
-               OPT_INLINE="-O3"
- 
-@@ -658,7 +658,7 @@
-       $(LN) ppc32.h arch.h
-       $(MAKE) $(PROJ) \
-               ASFLAGS="$(ASFLAGS) -arch ppc" \
--              CFLAGS="-c -Wall -arch ppc -fomit-frame-pointer" \
-+              CFLAGS="$(CFLAGS) -c -Wall -arch ppc -fomit-frame-pointer" \
-               LDFLAGS="$(LDFLAGS) -arch ppc" \
-               OPT_NORMAL="-O2" \
-               OPT_INLINE="-O3 -finline-limit=4000"
-@@ -667,7 +667,7 @@
- macosx-ppc64-altivec:
-       $(LN) ppc64alt.h arch.h
-       $(MAKE) $(PROJ) \
--              CFLAGS="-c -m64 -Wall -fomit-frame-pointer" \
-+              CFLAGS="$(CFLAGS) -c -m64 -Wall -fomit-frame-pointer" \
-               LDFLAGS="$(LDFLAGS) -m64" \
-               OPT_NORMAL="-fast" \
-               OPT_INLINE="-fast -finline-limit=4000 -faltivec -maltivec"
-@@ -676,7 +676,7 @@
-       $(LN) ppc64alt.h arch.h
-       $(MAKE) $(PROJ) \
-               ASFLAGS="$(ASFLAGS) -arch ppc" \
--              CFLAGS="-c -arch ppc -m64 -Wall -fomit-frame-pointer" \
-+              CFLAGS="$(CFLAGS) -c -arch ppc -m64 -Wall -fomit-frame-pointer" 
\
-               LDFLAGS="$(LDFLAGS) -arch ppc -m64" \
-               OPT_NORMAL="-fast" \
-               OPT_INLINE="-fast -finline-limit=4000 -faltivec -maltivec"
-@@ -684,7 +684,7 @@
- macosx-ppc64:
-       $(LN) ppc64.h arch.h
-       $(MAKE) $(PROJ) \
--              CFLAGS="-c -m64 -Wall -fomit-frame-pointer" \
-+              CFLAGS="$(CFLAGS) -c -m64 -Wall -fomit-frame-pointer" \
-               LDFLAGS="$(LDFLAGS) -m64" \
-               OPT_NORMAL="-fast" \
-               OPT_INLINE="-fast -finline-limit=4000"
-@@ -693,7 +693,7 @@
-       $(LN) ppc64.h arch.h
-       $(MAKE) $(PROJ) \
-               ASFLAGS="$(ASFLAGS) -arch ppc" \
--              CFLAGS="-c -arch ppc -m64 -Wall -fomit-frame-pointer" \
-+              CFLAGS="$(CFLAGS) -c -arch ppc -m64 -Wall -fomit-frame-pointer" 
\
-               LDFLAGS="$(LDFLAGS) -arch ppc -m64" \
-               OPT_NORMAL="-fast" \
-               OPT_INLINE="-fast -finline-limit=4000"
-@@ -723,7 +723,7 @@
-       $(LN) ppc32alt.h arch.h
-       $(MAKE) $(PROJ) \
-               ASFLAGS="$(ASFLAGS) -arch ppc" \
--              CFLAGS="-c -Wall -arch ppc -fomit-frame-pointer" \
-+              CFLAGS="$(CFLAGS) -c -Wall -arch ppc -fomit-frame-pointer" \
-               LDFLAGS="$(LDFLAGS) -arch ppc" \
-               OPT_NORMAL="-fast -mcpu=7450" \
-               OPT_INLINE="-fast -mcpu=7450 -finline-limit=4000 -faltivec 
-maltivec"

diff --git a/app-crypt/johntheripper/files/johntheripper-1.7.9-clang.patch 
b/app-crypt/johntheripper/files/johntheripper-1.7.9-clang.patch
deleted file mode 100644
index 1b85914ed4f..00000000000
--- a/app-crypt/johntheripper/files/johntheripper-1.7.9-clang.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-Fix for building johntheripper with clang.
-
-https://bugs.gentoo.org/show_bug.cgi?id=554392 
-
---- john-1.7.9-jumbo-7/src/rawSHA1_ng_fmt.c
-+++ john-1.7.9-jumbo-7/src/rawSHA1_ng_fmt.c
-@@ -530,7 +530,7 @@
- 
- #if defined(__SSE4_1__)
- 
--# if !defined(__INTEL_COMPILER)
-+# if !defined(__INTEL_COMPILER) && !defined(__clang__)
- // This intrinsic is not always available in GCC, so define it here.
- static inline int _mm_testz_si128 (__m128i __M, __m128i __V)
- {

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
deleted file mode 100644
index c28ec21a0ae..00000000000
--- a/app-crypt/johntheripper/files/johntheripper-1.7.9-ppc-compile-fix.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-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
-

Reply via email to