]> git.pld-linux.org Git - packages/john.git/commitdiff
- jumbo patch up to 1.7.9-jumbo-6
authorAdam Gołębiowski <adamg@pld-linux.org>
Sat, 14 Jul 2012 16:04:19 +0000 (18:04 +0200)
committerAdam Gołębiowski <adamg@pld-linux.org>
Sat, 14 Jul 2012 16:04:19 +0000 (18:04 +0200)
john-jumbo-optflags.patch
john.spec

index 005f739fbfa657b2c123316aeccc2196fefb8b66..ef176f594b714387d7f4ebcfa818a065e13951d8 100644 (file)
@@ -1,14 +1,14 @@
 --- john-1.7.8/src/Makefile~   2011-07-03 12:05:54.182086313 +0200
 +++ john-1.7.8/src/Makefile    2011-07-03 12:06:36.707718399 +0200
 @@ -32,7 +32,7 @@
- # icc with OpenMP (for make target linux-x86-64-icc)
- #OMPFLAGS = -openmp
--CFLAGS = -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include $(OMPFLAGS)
-+CFLAGS = -c $(OPTFLAGS) -fomit-frame-pointer -I/usr/local/include $(OMPFLAGS)
+ NSS_LDFLAGS = `pkg-config --libs nss`
+ endif
+
+-CFLAGS = -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include $(HAVE_NSS) $(OMPFLAGS) $(JOHN_CFLAGS) $(AMDAPP)
++CFLAGS = -c $(OPTFLAGS) -fomit-frame-pointer -I/usr/local/include $(HAVE_NSS) $(OMPFLAGS) $(JOHN_CFLAGS) $(AMDAPP)
  # -DHAVE_SKEY
- ASFLAGS = -c $(OMPFLAGS)
LDFLAGS = -s -L/usr/local/lib -L/usr/local/ssl/lib -lcrypto -lssl -lm $(OMPFLAGS)
+ # CFLAGS for use on the main john.c file only
CFLAGS_MAIN = $(CFLAGS)
 @@ -41,6 +41,7 @@
  OPT_NORMAL = -funroll-loops
  # Remove the "-Os" if you're using an ancient version of gcc
index 1803f52e5275d5234a92ca9b5a5b1b575d5ab731..5abd0bba1eabee523bbfaa20444e5ce26b563bdc 100644 (file)
--- a/john.spec
+++ b/john.spec
@@ -42,8 +42,8 @@ Source0:      http://www.openwall.com/john/g/%{name}-%{version}.tar.bz2
 # Source0-md5: 45f54fc59386ecd67daaef9f19781d93
 Patch0:                %{name}-mailer.patch
 Patch1:                optflags.patch
-Patch2:                http://www.openwall.com/john/g/%{name}-1.7.9-jumbo-5.diff.gz
-# Patch2-md5:  68cacb612f20c71eed6c24cbaf28148a
+Patch2:                http://www.openwall.com/john/g/%{name}-1.7.9-jumbo-6.diff.gz
+# Patch2-md5:  685c759ec6f865ea81f40a487cd56882
 Patch3:                %{name}-jumbo-optflags.patch
 URL:           http://www.openwall.com/john/
 %{?with_jumbopatch:BuildRequires: openssl-devel >= 0.9.7}
This page took 0.048296 seconds and 4 git commands to generate.