external/openssl/opensslwnt.patch | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-)
New commits: commit 3ec327667e8870d171b9dad448b7f829909d7323 Author: Michael Stahl <mst...@redhat.com> Date: Tue Apr 8 14:35:38 2014 +0200 openssl: fix WNT patch to apply (cherry picked from commit 1c772b16829364ce6a98f3b9584fe68f8f93f7d7) Change-Id: I31494d4314557672b7e3c2ff6846663fb9ed981a diff --git a/external/openssl/opensslwnt.patch b/external/openssl/opensslwnt.patch index b68e037..69c1e4d 100644 --- a/external/openssl/opensslwnt.patch +++ b/external/openssl/opensslwnt.patch @@ -1,8 +1,8 @@ --- misc/openssl-0.9.8v/crypto/x509v3/v3_pci.c 2007-03-05 01:06:47.000000000 +0100 +++ build/openssl-0.9.8v/crypto/x509v3/v3_pci.c 2010-03-26 12:04:20.961547300 +0100 @@ -2,7 +2,7 @@ - /* Contributed to the OpenSSL Project 2004 - * by Richard Levitte (rich...@levitte.org) + * Contributed to the OpenSSL Project 2004 by Richard Levitte + * (rich...@levitte.org) */ -/* Copyright (c) 2004 Kungliga Tekniska Högskolan +/* Copyright (c) 2004 Kungliga Tekniska Hoegskolan @@ -12,8 +12,8 @@ --- misc/openssl-0.9.8v/crypto/x509v3/v3_pcia.c 2004-12-28 01:21:33.000000000 +0100 +++ build/openssl-0.9.8v/crypto/x509v3/v3_pcia.c 2010-03-26 12:04:20.961547300 +0100 @@ -2,7 +2,7 @@ - /* Contributed to the OpenSSL Project 2004 - * by Richard Levitte (rich...@levitte.org) + * Contributed to the OpenSSL Project 2004 by Richard Levitte + * (rich...@levitte.org) */ -/* Copyright (c) 2004 Kungliga Tekniska Högskolan +/* Copyright (c) 2004 Kungliga Tekniska Hoegskolan @@ -88,7 +88,7 @@ printf OUT <<EOF; #ifdef $platform_cpp_symbol /* auto-generated/updated by util/mk1mf.pl for crypto/cversion.c */ -- #define CFLAGS "$cc $cflags" +- #define CFLAGS "compiler: $cc $cflags" + #define CFLAGS "$cflags" #define PLATFORM "$platform" EOF @@ -96,7 +96,7 @@ --- misc/openssl-0.9.8v/util/pl/VC-32.pl 2010-02-04 02:10:24.000000000 +0100 +++ build/openssl-0.9.8v/util/pl/VC-32.pl 2010-03-26 12:04:20.977172300 +0100 @@ -32,7 +32,7 @@ - $l_flags =~ s/-L(\S+)/\/libpath:$1/g; + my $ff = ""; # C compiler stuff -$cc='cl'; @@ -104,7 +104,7 @@ if ($FLAVOR =~ /WIN64/) { # Note that we currently don't have /WX on Win64! There is a lot of -@@ -103,21 +103,21 @@ +@@ -103,22 +103,22 @@ } $cc='$(CC)'; @@ -125,10 +125,11 @@ + $base_cflags= " $mf_cflag"; - my $f = $shlib || $fips ?' /MD':' /MT'; - $lib_cflag='/Zl' if (!$shlib); # remove /DEFAULTLIBs from static lib -- $opt_cflags=$f.' /Ox /O2 /Ob2'; -- $dbg_cflags=$f.'d /Od -DDEBUG -D_DEBUG'; + my $f = $shlib || $fips ? (($ENV{MSVC_USE_DEBUG_RUNTIME} eq "TRUE") ? ' -MDd' : ' -MD' ):' -MT'; + $lib_cflag='-Zl' if (!$shlib); # remove /DEFAULTLIBs from static lib + $ff = "/fixed"; +- $opt_cflags=$f.' /Ox /O2 /Ob2'; +- $dbg_cflags=$f.'d /Od -DDEBUG -D_DEBUG'; + $opt_cflags=$f.' -Ox -O2 -Ob2'; + $dbg_cflags=$f.'d -Od -DDEBUG -D_DEBUG'; $lflags="/nologo /subsystem:console /opt:ref"; @@ -147,8 +148,8 @@ +++ build/openssl-0.9.8v/ms/uplink.c @@ -1,5 +1,6 @@ #if (defined(_WIN64) || defined(_WIN32_WCE)) && !defined(UNICODE) - #define UNICODE + # define UNICODE +#define _CRT_NON_CONFORMING_SWPRINTFS #endif #if defined(UNICODE) && !defined(_UNICODE) - #define _UNICODE + # define _UNICODE
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits