easysoap/easysoap.patch

Wed, 01 Aug 2012 23:49:03 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 01 Aug 2012 23:49:03 +0200
changeset 436
f26e9329b115
permissions
-rw-r--r--

Hack rpmconstant header file to allow targets to build, because...
Solaris studio cc(1) fails to build targets in rpmconstant with errors:
'undefined symbol first referenced in file constant.o' regarding symbols:
rpmdsInit, rpmdsNext, rpmdsTagN, rpmHeaderFormats, hdrVec, rpmTagTable,
rpmdsSearch, rpmdsResult, rpmTags, rpmdsIx, rpmdsDNEVR, rpmdsSetResult.
It seems that these symbols are not used by RPM in any way, and thus
the build configuration can succeed without including the nasty headers.

     1 Index: src/SOAPSSLContext.cpp
     2 --- src/SOAPSSLContext.cpp.orig	2005-09-24 09:24:24 +0200
     3 +++ src/SOAPSSLContext.cpp	2006-11-11 09:19:55 +0100
     4 @@ -18,6 +18,7 @@
     5   *
     6   * $Id: easysoap.patch,v 1.4 2006/11/11 08:50:52 rse Exp $
     7   */
     8 +#define OPENSSL_NO_SHA512
    10  #include <easysoap/SOAP.h>
    11  #include <easysoap/SOAPDebugger.h>
    12 Index: src/SOAPSecureSocketImp.cpp
    13 --- src/SOAPSecureSocketImp.cpp.orig	2005-09-24 09:24:24 +0200
    14 +++ src/SOAPSecureSocketImp.cpp	2006-11-11 09:19:02 +0100
    15 @@ -24,6 +24,8 @@
    16  #pragma warning (disable: 4786)
    17  #endif // _MSC_VER
    19 +#define OPENSSL_NO_SHA512
    20 +
    21  #include <easysoap/SOAP.h>
    22  #include <easysoap/SOAPDebugger.h>
    23  #include <easysoap/SOAPSSLContext.h>

mercurial