From 547da9bb1247dea40dbdc71ea2d638154a9f0469 Mon Sep 17 00:00:00 2001 From: newbluemoon Date: Mon, 22 Jan 2018 09:28:43 +0100 Subject: [PATCH] john: use the right preprocessor Closes: #11030 [via git-merge-pr] --- srcpkgs/john/template | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/srcpkgs/john/template b/srcpkgs/john/template index 6b64c2f22a..69e34a7cfa 100644 --- a/srcpkgs/john/template +++ b/srcpkgs/john/template @@ -1,7 +1,7 @@ # Template file for 'john' pkgname=john version=1.8.0 -revision=8 +revision=9 _jumbover=1 wrksrc="${pkgname}-${version}-jumbo-${_jumbover}" build_wrksrc="src" @@ -20,6 +20,7 @@ checksum=bac93d025995a051f055adbd7ce2f1975676cac6c74a6c7a3ee4cfdd9c160923 pre_configure() { rm rawSHA0_fmt_plug.c # SHA no longer available in libressl sed -i 's|des_|DES_|g' KRB4*.c + sed -i -e 's|^$CPP|$CC -E|' configure export AS= LD= export OPENSSL_LIBS="-lssl -lcrypto" CFLAGS+=" -DJOHN_SYSTEMWIDE=1"