Pārlūkot izejas kodu

upgrading package: gsoap 2.7.1 -> 2.7.9a

Ralf S. Engelschall 19 gadi atpakaļ
vecāks
revīzija
63c69c5e6b
2 mainītis faili ar 31 papildinājumiem un 5 dzēšanām
  1. 24 0
      gsoap/gsoap.patch
  2. 7 5
      gsoap/gsoap.spec

+ 24 - 0
gsoap/gsoap.patch

@@ -0,0 +1,24 @@
+Index: soapcpp2/stdsoap2.c
+--- soapcpp2/stdsoap2.c.orig	2006-11-20 03:56:24 +0100
++++ soapcpp2/stdsoap2.c	2006-12-04 20:22:19 +0100
+@@ -3334,7 +3334,7 @@
+   { host = NULL;
+     soap->errnum = h_errno;
+   }
+-#elif defined(HAVE_GETHOSTBYNAME_R)
++#elif defined(HAVE_GETHOSTBYNAME_R) && !defined(__FreeBSD__)
+   host = gethostbyname_r(addr, &hostent, soap->buf, SOAP_BUFLEN, &soap->errnum);
+ #elif defined(VXWORKS)
+   /* If the DNS resolver library resolvLib has been configured in the vxWorks
+Index: soapcpp2/stdsoap2.cpp
+--- soapcpp2/stdsoap2.cpp.orig	2006-11-20 03:56:24 +0100
++++ soapcpp2/stdsoap2.cpp	2006-12-04 20:22:44 +0100
+@@ -3334,7 +3334,7 @@
+   { host = NULL;
+     soap->errnum = h_errno;
+   }
+-#elif defined(HAVE_GETHOSTBYNAME_R)
++#elif defined(HAVE_GETHOSTBYNAME_R) && !defined(__FreeBSD__)
+   host = gethostbyname_r(addr, &hostent, soap->buf, SOAP_BUFLEN, &soap->errnum);
+ #elif defined(VXWORKS)
+   /* If the DNS resolver library resolvLib has been configured in the vxWorks

+ 7 - 5
gsoap/gsoap.spec

@@ -23,12 +23,12 @@
 ##
 
 #   package version
-%define       V_dist   2.7.1
+%define       V_dist   2.7.9a
 %define       V_subdir 2.7
 
 #   package information
 Name:         gsoap
-Summary:      Generator Tools for Web Service and Client in C and C++
+Summary:      C/C++ Generator for SOAP Client/Server
 URL:          http://gsoap2.sourceforge.net/
 Vendor:       Robert A. van Engelen
 Packager:     OpenPKG Foundation e.V.
@@ -37,10 +37,11 @@ Class:        EVAL
 Group:        RPC
 License:      gSOAP and GPL
 Version:      %{V_dist}
-Release:      20061013
+Release:      20061204
 
 #   list of sources
-Source0:      http://switch.dl.sourceforge.net/gsoap2/gsoap-%{V_dist}.tar.gz
+Source0:      http://switch.dl.sourceforge.net/gsoap2/gsoap_%{V_dist}.tar.gz
+Patch0:       gsoap.patch
 
 #   build information
 Prefix:       %{l_prefix}
@@ -62,11 +63,12 @@ AutoReqProv:  no
     prog gsoap = {
         version   = %{version}
         url       = http://prdownloads.sourceforge.net/gsoap2/
-        regex     = gsoap-(__VER__)\.tar\.gz
+        regex     = gsoap_(__VER__)\.tar\.gz
     }
 
 %prep
     %setup -q -n gsoap-%{V_subdir}
+    %patch -p0
 
 %build
     CC="%{l_cc}" \