libxmlsec: split the upstreamed part of xmlsec1-vc.patch.1 into a new patch
Change-Id: I1a6201a21cdf3a42475487a42cd80d11cd5e42b6 Reviewed-on: https://gerrit.libreoffice.org/24253 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
This commit is contained in:
2
external/libxmlsec/UnpackedTarball_xmlsec.mk
vendored
2
external/libxmlsec/UnpackedTarball_xmlsec.mk
vendored
@@ -15,6 +15,8 @@ xmlsec_patches += xmlsec1-nssmangleciphers.patch.1
|
||||
xmlsec_patches += xmlsec1-noverify.patch.1
|
||||
xmlsec_patches += xmlsec1-mingw-keymgr-mscrypto.patch.1
|
||||
xmlsec_patches += xmlsec1-vc.patch.1
|
||||
# Upstreamed as <https://github.com/lsh123/xmlsec/commit/727f1d3f1fa9c23d6d356b233c6fa274b5dd7d71>.
|
||||
xmlsec_patches += xmlsec1-vs2015.patch.1
|
||||
xmlsec_patches += xmlsec1-1.2.14_fix_extern_c.patch.1
|
||||
xmlsec_patches += xmlsec1-customkeymanage.patch.1
|
||||
# Upstreamed as <https://github.com/lsh123/xmlsec/commit/7069e2b0ab49679008abedd6d223fb95538b0684>.
|
||||
|
39
external/libxmlsec/xmlsec1-vc.patch.1
vendored
39
external/libxmlsec/xmlsec1-vc.patch.1
vendored
@@ -10,45 +10,6 @@ Subject: [PATCH] xmlsec1-vc.patch
|
||||
win32/Makefile.msvc | 10 +++++++++-
|
||||
4 files changed, 12 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/apps/cmdline.c b/apps/cmdline.c
|
||||
index b9ecafb..4425eaf 100644
|
||||
--- a/apps/cmdline.c
|
||||
+++ b/apps/cmdline.c
|
||||
@@ -7,7 +7,7 @@
|
||||
*
|
||||
* Copyright (C) 2002-2003 Aleksey Sanin <aleksey@aleksey.com>
|
||||
*/
|
||||
-#if defined(_MSC_VER)
|
||||
+#if defined(_MSC_VER) && _MSC_VER < 1900
|
||||
#define snprintf _snprintf
|
||||
#endif
|
||||
|
||||
diff --git a/apps/crypto.c b/apps/crypto.c
|
||||
index 49dd127..f46eeee 100644
|
||||
--- a/apps/crypto.c
|
||||
+++ b/apps/crypto.c
|
||||
@@ -7,7 +7,7 @@
|
||||
*
|
||||
* Copyright (C) 2002-2003 Aleksey Sanin <aleksey@aleksey.com>
|
||||
*/
|
||||
-#if defined(_MSC_VER)
|
||||
+#if defined(_MSC_VER) && _MSC_VER < 1900
|
||||
#define snprintf _snprintf
|
||||
#endif
|
||||
|
||||
diff --git a/apps/xmlsec.c b/apps/xmlsec.c
|
||||
index d551b5a..0467c25 100644
|
||||
--- a/apps/xmlsec.c
|
||||
+++ b/apps/xmlsec.c
|
||||
@@ -9,7 +9,7 @@
|
||||
#include <string.h>
|
||||
#include <time.h>
|
||||
|
||||
-#if defined(_MSC_VER)
|
||||
+#if defined(_MSC_VER) && _MSC_VER < 1900
|
||||
#define snprintf _snprintf
|
||||
#endif
|
||||
|
||||
diff --git a/win32/Makefile.msvc b/win32/Makefile.msvc
|
||||
index d833497..065595b 100644
|
||||
--- a/win32/Makefile.msvc
|
||||
|
46
external/libxmlsec/xmlsec1-vs2015.patch.1
vendored
Normal file
46
external/libxmlsec/xmlsec1-vs2015.patch.1
vendored
Normal file
@@ -0,0 +1,46 @@
|
||||
From 56448979392d78a6e1688f61ce7bc771f38a880b Mon Sep 17 00:00:00 2001
|
||||
From: Miklos Vajna <vmiklos@collabora.co.uk>
|
||||
Date: Fri, 4 Mar 2016 16:12:29 +0100
|
||||
Subject: [PATCH] xmlsec1-vs2015.patch
|
||||
|
||||
---
|
||||
|
||||
diff --git a/apps/cmdline.c b/apps/cmdline.c
|
||||
index b9ecafb..4425eaf 100644
|
||||
--- a/apps/cmdline.c
|
||||
+++ b/apps/cmdline.c
|
||||
@@ -7,7 +7,7 @@
|
||||
*
|
||||
* Copyright (C) 2002-2003 Aleksey Sanin <aleksey@aleksey.com>
|
||||
*/
|
||||
-#if defined(_MSC_VER)
|
||||
+#if defined(_MSC_VER) && _MSC_VER < 1900
|
||||
#define snprintf _snprintf
|
||||
#endif
|
||||
|
||||
diff --git a/apps/crypto.c b/apps/crypto.c
|
||||
index 49dd127..f46eeee 100644
|
||||
--- a/apps/crypto.c
|
||||
+++ b/apps/crypto.c
|
||||
@@ -7,7 +7,7 @@
|
||||
*
|
||||
* Copyright (C) 2002-2003 Aleksey Sanin <aleksey@aleksey.com>
|
||||
*/
|
||||
-#if defined(_MSC_VER)
|
||||
+#if defined(_MSC_VER) && _MSC_VER < 1900
|
||||
#define snprintf _snprintf
|
||||
#endif
|
||||
|
||||
diff --git a/apps/xmlsec.c b/apps/xmlsec.c
|
||||
index d551b5a..0467c25 100644
|
||||
--- a/apps/xmlsec.c
|
||||
+++ b/apps/xmlsec.c
|
||||
@@ -9,7 +9,7 @@
|
||||
#include <string.h>
|
||||
#include <time.h>
|
||||
|
||||
-#if defined(_MSC_VER)
|
||||
+#if defined(_MSC_VER) && _MSC_VER < 1900
|
||||
#define snprintf _snprintf
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user