[arch-commits] Commit in gsoap/trunk (0001-no-xlocale.patch PKGBUILD)

Christian Hesse eworm at archlinux.org
Wed Feb 28 08:21:18 UTC 2018


    Date: Wednesday, February 28, 2018 @ 08:21:17
  Author: eworm
Revision: 299888

upgpkg: gsoap 2.8.63-2

do not include xlocale.h

Added:
  gsoap/trunk/0001-no-xlocale.patch
Modified:
  gsoap/trunk/PKGBUILD

-----------------------+
 0001-no-xlocale.patch |   12 ++++++++++++
 PKGBUILD              |   13 ++++++++++---
 2 files changed, 22 insertions(+), 3 deletions(-)

Added: 0001-no-xlocale.patch
===================================================================
--- 0001-no-xlocale.patch	                        (rev 0)
+++ 0001-no-xlocale.patch	2018-02-28 08:21:17 UTC (rev 299888)
@@ -0,0 +1,12 @@
+diff --git a/gsoap/stdsoap2.h b/gsoap/stdsoap2.h
+index 6871d25..d8fbafc 100644
+--- a/gsoap/stdsoap2.h
++++ b/gsoap/stdsoap2.h
+@@ -464,7 +464,6 @@ extern intmax_t __strtoull(const char*, char**, int);
+ #   define HAVE_STRTOD_L
+ #   define HAVE_SSCANF_L
+ #   define HAVE_LOCALE_H
+-#   define HAVE_XLOCALE_H
+ #  endif
+ # elif defined(TRU64)
+ #  define HAVE_SNPRINTF

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-02-28 08:15:04 UTC (rev 299887)
+++ PKGBUILD	2018-02-28 08:21:17 UTC (rev 299888)
@@ -5,7 +5,7 @@
 
 pkgname=gsoap
 pkgver=2.8.63
-pkgrel=1
+pkgrel=2
 pkgdesc="Offers an XML language binding to ease the development of SOAP/XML Web services in C and C/C++"
 url="http://www.cs.fsu.edu/~engelen/soap.html"
 arch=('x86_64')
@@ -13,11 +13,18 @@
 depends=('openssl' 'zlib' 'gcc-libs')
 makedepends=('autoconf' 'automake')
 options=('staticlibs')
-source=(https://prdownloads.sourceforge.net/gsoap2/${pkgname}_${pkgver}.zip
-	LICENSE)
+source=("https://prdownloads.sourceforge.net/gsoap2/${pkgname}_${pkgver}.zip"
+	'0001-no-xlocale.patch'
+	'LICENSE')
 sha256sums=('c6bbd6cd4290136db77649dd709e7d42dfd7625116487350d5ed6b799b02b72d'
+            '7abffd5ddbd261ad899de12cbf09af144f7b07257935e3945cf818a116533059'
             '0457ad7ae5599c7ee2e30f94d685dfd1a39cc9a9e3937aef1417d1752dfc6eb3')
 
+prepare() {
+  cd "$srcdir"/gsoap-2.8
+  patch -Np1 < "${srcdir}"/0001-no-xlocale.patch
+}
+
 build() {
   cd "$srcdir"/gsoap-2.8
   # needed for programs which use gsoap and have -fPIC enabled



More information about the arch-commits mailing list