mxe/src/gsoap-1-fixes.patch

107 lines
3.7 KiB
Diff
Raw Normal View History

2012-03-28 14:46:58 +01:00
This file is part of MXE.
2012-03-29 11:14:15 +01:00
See index.html for further information.
2011-09-19 14:39:23 +01:00
Contains ad hoc patches for cross building.
2014-10-20 21:38:10 +01:00
From 186d8a982336f627bafc9b8a3f1487ab124e220b Mon Sep 17 00:00:00 2001
From: Mark Brand <mabrand@mabrand.nl>
Date: Sun, 23 Oct 2011 21:36:53 +0200
2013-05-13 09:38:24 +01:00
Subject: [PATCH 1/2] support static linking to ntlm
2011-09-19 14:39:23 +01:00
diff --git a/configure b/configure
2014-10-20 21:38:10 +01:00
index df6419e..7085c88 100755
--- a/configure
+++ b/configure
2014-10-20 21:38:10 +01:00
@@ -5023,7 +5023,7 @@ case "${host}" in
;;
*-*-cygwin*) platform=CYGWIN ;;
*-*-mingw*) platform=MINGW
2013-01-22 10:19:40 +00:00
- SAMPLE_EXTRA_LIBS="-lws2_32 -lkernel32 -luser32 -lgdi32 -lm"
+ SAMPLE_EXTRA_LIBS="-lntlm -lws2_32 -lkernel32 -luser32 -lgdi32 -lm"
2014-10-20 21:38:10 +01:00
WSDL2H_EXTRA_LIBS="-lws2_32 -lkernel32 -luser32 -lgdi32 -lm"
;;
*-*-freebsd*) platform=FREEBSD ;;
2014-10-20 21:38:10 +01:00
@@ -6186,7 +6186,7 @@ $as_echo_n "checking for enable gnutls in library... " >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
2013-01-22 10:19:40 +00:00
WSDL2H_EXTRA_FLAGS="-DWITH_GNUTLS -DWITH_GZIP"
2014-10-20 21:38:10 +01:00
- WSDL2H_EXTRA_LIBS="${WSDL2H_EXTRA_LIBS} -lgnutls -lgcrypt -lgpg-error -lz"
+ WSDL2H_EXTRA_LIBS="${WSDL2H_EXTRA_LIBS} -lntlm -lgnutls -lgcrypt -lgpg-error -lz"
SAMPLE_INCLUDES=
2013-01-22 10:19:40 +00:00
SAMPLE_SSL_LIBS="-lgnutls -lgcrypt -lgpg-error -lz"
WSDL2H_SOAP_CPP_LIB="libgsoapssl++.a"
--
2014-10-20 21:38:10 +01:00
1.8.4.5
2014-10-20 21:38:10 +01:00
From 38b02f235f09e907867bf9bc660bbada315d1094 Mon Sep 17 00:00:00 2001
From: Mark Brand <mabrand@mabrand.nl>
Date: Mon, 24 Oct 2011 11:17:13 +0200
2013-05-13 09:38:24 +01:00
Subject: [PATCH 2/2] ntlm support in .pc files
diff --git a/gsoap++.pc.in b/gsoap++.pc.in
2014-10-20 21:38:10 +01:00
index e22c7e4..cefef8c 100644
--- a/gsoap++.pc.in
+++ b/gsoap++.pc.in
2014-10-20 21:38:10 +01:00
@@ -9,4 +9,4 @@ Version: @VERSION@
Requires:
2014-10-20 21:38:10 +01:00
Libs: -L${libdir} -lgsoap++
Libs.private: @SAMPLE_EXTRA_LIBS@
-Cflags: @SOAPCPP2_IPV6@ -DWITH_DOM -I${includedir}
+Cflags: @SOAPCPP2_IPV6@ -DWITH_DOM -DWITH_NTLM -I${includedir}
diff --git a/gsoap.pc.in b/gsoap.pc.in
2014-10-20 21:38:10 +01:00
index d5e1860..810dea1 100644
--- a/gsoap.pc.in
+++ b/gsoap.pc.in
2014-10-20 21:38:10 +01:00
@@ -9,4 +9,4 @@ Version: @VERSION@
Requires:
2014-10-20 21:38:10 +01:00
Libs: -L${libdir} -lgsoap
Libs.private: @SAMPLE_EXTRA_LIBS@
-Cflags: @SOAPCPP2_IPV6@ -DWITH_DOM -I${includedir}
+Cflags: @SOAPCPP2_IPV6@ -DWITH_DOM -DWITH_NTLM -I${includedir}
diff --git a/gsoapck++.pc.in b/gsoapck++.pc.in
2014-10-20 21:38:10 +01:00
index 9699198..7d023b2 100644
--- a/gsoapck++.pc.in
+++ b/gsoapck++.pc.in
2014-10-20 21:38:10 +01:00
@@ -9,4 +9,4 @@ Version: @VERSION@
Requires:
2014-10-20 21:38:10 +01:00
Libs: -L${libdir} -lgsoapck++
Libs.private: @SAMPLE_EXTRA_LIBS@
-Cflags: @SOAPCPP2_IPV6@ -DWITH_COOKIES -DWITH_DOM -I${includedir}
+Cflags: @SOAPCPP2_IPV6@ -DWITH_COOKIES -DWITH_DOM -DWITH_NTLM -I${includedir}
diff --git a/gsoapck.pc.in b/gsoapck.pc.in
2014-10-20 21:38:10 +01:00
index 96b94ee..3e01ef6 100644
--- a/gsoapck.pc.in
+++ b/gsoapck.pc.in
2014-10-20 21:38:10 +01:00
@@ -9,4 +9,4 @@ Version: @VERSION@
Requires:
2014-10-20 21:38:10 +01:00
Libs: -L${libdir} -lgsoapck
Libs.private: @SAMPLE_EXTRA_LIBS@
-Cflags: @SOAPCPP2_IPV6@ -DWITH_COOKIES -DWITH_DOM -I${includedir}
+Cflags: @SOAPCPP2_IPV6@ -DWITH_COOKIES -DWITH_DOM -DWITH_NTLM -I${includedir}
diff --git a/gsoapssl++.pc.in b/gsoapssl++.pc.in
2013-01-22 10:19:40 +00:00
index 6378d0e..2a68e09 100644
--- a/gsoapssl++.pc.in
+++ b/gsoapssl++.pc.in
2013-01-22 10:19:40 +00:00
@@ -9,4 +9,4 @@ Version: @VERSION@
Requires:
2013-01-22 10:19:40 +00:00
Libs: -L${libdir} -lgsoapssl++
Libs.private: @SAMPLE_SSL_LIBS@ @SAMPLE_EXTRA_LIBS@
-Cflags: @SOAPCPP2_IPV6@ -DWITH_OPENSSL -DWITH_DOM -DWITH_COOKIES -DWITH_GZIP -I${includedir}
+Cflags: @SOAPCPP2_IPV6@ -DWITH_OPENSSL -DWITH_DOM -DWITH_NTLM -DWITH_COOKIES -DWITH_GZIP -I${includedir}
diff --git a/gsoapssl.pc.in b/gsoapssl.pc.in
2013-01-22 10:19:40 +00:00
index 365274b..82af331 100644
--- a/gsoapssl.pc.in
+++ b/gsoapssl.pc.in
2013-01-22 10:19:40 +00:00
@@ -9,4 +9,4 @@ Version: @VERSION@
Requires:
2013-01-22 10:19:40 +00:00
Libs: -L${libdir} -lgsoapssl
Libs.private: @SAMPLE_SSL_LIBS@ @SAMPLE_EXTRA_LIBS@
-Cflags: @SOAPCPP2_IPV6@ -DWITH_OPENSSL -DWITH_DOM -DWITH_COOKIES -DWITH_GZIP -I${includedir}
+Cflags: @SOAPCPP2_IPV6@ -DWITH_OPENSSL -DWITH_DOM -DWITH_NTLM -DWITH_COOKIES -DWITH_GZIP -I${includedir}
--
2014-10-20 21:38:10 +01:00
1.8.4.5
2012-08-20 12:27:23 +01:00