From f41d1e587349e105b1ec32b2a461a0f000eb2676 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz=20=28arab=2C=20vx?= =?UTF-8?q?p=29?= Date: Sun, 11 Sep 2016 21:22:44 +0000 Subject: Fix {debug,release}-dependent stripping behaviour when building John the Ripper, netcat, pkg-cron and OpenSSH (via midipix.) --- john-1.8.0.local.patch | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'john-1.8.0.local.patch') diff --git a/john-1.8.0.local.patch b/john-1.8.0.local.patch index 8ffcc91c..c3d9dff9 100644 --- a/john-1.8.0.local.patch +++ b/john-1.8.0.local.patch @@ -63,9 +63,17 @@ diff -ru a/src/DES_bs.h b/src/DES_bs.h /* * Another special-case version: a non-zero IV, no salts, no iterations. -diff -ru a/src/Makefile b/src/Makefile ---- a/src/Makefile 2013-05-29 19:21:25.000000000 -0400 -+++ b/src/Makefile 2016-08-07 16:23:07.246422700 -0400 +--- john-1.8.0/src/Makefile.orig 2013-05-29 23:21:25.000000000 +0000 ++++ john-1.8.0/src/Makefile 2016-09-11 21:19:18.930129331 +0000 +@@ -32,7 +32,7 @@ + # CFLAGS for use on the main john.c file only + CFLAGS_MAIN = $(CFLAGS) + ASFLAGS = -c $(OMPFLAGS) +-LDFLAGS = -s $(OMPFLAGS) ++LDFLAGS = $(LDFLAGS_DEBUG) $(OMPFLAGS) + OPT_NORMAL = -funroll-loops + # Remove the "-Os" if you're using an ancient version of gcc + OPT_INLINE = -Os -funroll-loops -finline-functions @@ -104,6 +104,8 @@ # @echo "linux-ppc64-altivec Linux, PowerPC 64-bit w/AltiVec" @echo "linux-ppc64 Linux, PowerPC 64-bit" @@ -98,4 +106,3 @@ diff -ru a/src/Makefile b/src/Makefile freebsd-x86-64: $(LN) x86-64.h arch.h $(MAKE) $(PROJ) \ - -- cgit v1.2.3