Browse Source

upgrading package: gsoap 2.7.16 -> 2.8.29

Ralf S. Engelschall 9 years ago
parent
commit
c0fd8d758a
2 changed files with 24 additions and 15 deletions
  1. 16 7
      gsoap/gsoap.patch
  2. 8 8
      gsoap/gsoap.spec

+ 16 - 7
gsoap/gsoap.patch

@@ -1,12 +1,21 @@
 Index: gsoap/stdsoap2.h
---- gsoap/stdsoap2.h.orig	2008-07-26 20:39:37 +0200
-+++ gsoap/stdsoap2.h	2008-07-27 09:22:05 +0200
-@@ -465,7 +465,7 @@
- # endif
+--- gsoap/stdsoap2.h.orig	2016-02-24 20:11:10.000000000 +0100
++++ gsoap/stdsoap2.h	2016-03-06 21:20:35.272820217 +0100
+@@ -598,7 +598,7 @@
  #endif
  
+ /* if we have xlocale.h then we can use it WITH_C_LOCALE enabled to avoid decimal point conversion issues */
 -#ifdef WITH_C_LOCALE
 +#if defined(HAVE_XLOCALE_H)
- # include <xlocale.h>
- #else
- # undef HAVE_STRTOF_L
+ # ifdef WIN32
+ #  include <locale.h>
+ #  define SOAP_LOCALE(soap) ((soap)->c_locale ? (soap)->c_locale : ((soap)->c_locale = _create_locale(LC_ALL, "C")))
+@@ -706,7 +706,7 @@
+ #   include <sys/types.h>
+ #  endif
+ #  ifndef WITH_LEAN
+-#   ifdef HAVE_SYS_TIMEB_H
++#   if defined(HAVE_SYS_TIMEB_H) && !defined(__FreeBSD__)
+ #    include <sys/timeb.h>              /* for ftime() */
+ #   endif
+ #   include <time.h>

+ 8 - 8
gsoap/gsoap.spec

@@ -22,8 +22,8 @@
 ##
 
 #   package version
-%define       V_dist   2.7.16
-%define       V_subdir 2.7
+%define       V_dist   2.8.29
+%define       V_subdir 2.8
 
 #   package information
 Name:         gsoap
@@ -36,15 +36,15 @@ Class:        EVAL
 Group:        RPC
 License:      gSOAP and GPL
 Version:      %{V_dist}
-Release:      20100406
+Release:      20160306
 
 #   list of sources
-Source0:      http://download.sourceforge.net/gsoap2/gsoap_%{V_dist}.tar.gz
+Source0:      http://download.sourceforge.net/gsoap2/gsoap_%{V_dist}.zip
 Patch0:       gsoap.patch
 
 #   build information
-BuildPreReq:  OpenPKG, openpkg >= 20100101, make, gcc, gcc::with_cxx = yes, flex, bison
-PreReq:       OpenPKG, openpkg >= 20100101
+BuildPreReq:  OpenPKG, openpkg >= 20160101, make, gcc, gcc::with_cxx = yes, flex, bison
+PreReq:       OpenPKG, openpkg >= 20160101
 
 %description
     Conforming to all SOAP 1.1 and 1.2 as well as the WSDL 1.1 standard,
@@ -57,8 +57,8 @@ PreReq:       OpenPKG, openpkg >= 20100101
 %track
     prog gsoap = {
         version   = %{version}
-        url       = http://sourceforge.net/projects/gsoap2/files/
-        regex     = gsoap_(__VER__)\.tar\.gz
+        url       = https://sourceforge.net/projects/gsoap2/files/gSOAP/
+        regex     = gsoap_(__VER__)\.zip
     }
 
 %prep