Hello community,

here is the log from the commit of package wget for openSUSE:Factory checked in 
at 2012-10-03 10:14:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/wget (Old)
 and      /work/SRC/openSUSE:Factory/.wget.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "wget", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/wget/wget.changes        2012-07-30 
11:49:51.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.wget.new/wget.changes   2012-10-03 
10:14:47.000000000 +0200
@@ -1,0 +2,7 @@
+Thu Sep 27 13:46:49 UTC 2012 - [email protected]
+
+- Add wget-openssl-no-intern.patch to Build with OPENSSL_NO_SSL_INTERN,
+  which is openssl's poor man's version of visibility, to avoid breaking
+  applications ABI on library internal changes. 
+
+-------------------------------------------------------------------

New:
----
  wget-openssl-no-intern.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ wget.spec ++++++
--- /var/tmp/diff_new_pack.cLesMG/_old  2012-10-03 10:14:48.000000000 +0200
+++ /var/tmp/diff_new_pack.cLesMG/_new  2012-10-03 10:14:48.000000000 +0200
@@ -30,6 +30,7 @@
 Patch1:         wget-libproxy.patch
 Patch3:         wget-sni.patch
 Patch4:         wget-stdio.h.patch
+Patch5:         wget-openssl-no-intern.patch
 BuildRequires:  libpng-devel
 %if 0%{suse_version} > 1110
 BuildRequires:  libproxy-devel
@@ -53,6 +54,7 @@
 %endif
 %patch3
 %patch4 -p1
+%patch5
 
 %build
 %if 0%{suse_version} > 1110

++++++ wget-openssl-no-intern.patch ++++++
--- src/openssl.c.orig
+++ src/openssl.c
@@ -29,6 +29,7 @@ Corresponding Source for a non-source fo
 shall include the source code for the parts of OpenSSL used as well
 as that of the covered work.  */
 
+#define OPENSSL_NO_SSL_INTERN
 #include "wget.h"
 
 #include <assert.h>
@@ -429,7 +430,7 @@ ssl_connect_wget (int fd, const char *ho
   if (!SSL_set_fd (conn, FD_TO_SOCKET (fd)))
     goto error;
   SSL_set_connect_state (conn);
-  if (SSL_connect (conn) <= 0 || conn->state != SSL_ST_OK)
+  if (SSL_connect (conn) <= 0 || SSL_get_state(conn) != SSL_ST_OK)
     goto error;
 
   ctx = xnew0 (struct openssl_transport_context);
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to