* update xsd to 4.0.0-4.1
This commit is contained in:
parent
195605b0bc
commit
a8ce28b529
14
xsd/PKGBUILD
14
xsd/PKGBUILD
@ -5,24 +5,25 @@
|
||||
pkgname=xsd
|
||||
pkgver=4.0.0
|
||||
_pkgver=4.0.0+dep
|
||||
pkgrel=4
|
||||
pkgrel=4.1
|
||||
pkgdesc="An open-source, cross-platform W3C XML Schema to C++ data binding compiler"
|
||||
arch=(x86_64 powerpc64le powerpc)
|
||||
arch=(x86_64 powerpc64le powerpc riscv64)
|
||||
url="https://www.codesynthesis.com/products/xsd"
|
||||
license=('GPL2')
|
||||
depends=('xerces-c')
|
||||
makedepends_powerpc=(gcc6)
|
||||
source=("https://www.codesynthesis.com/download/${pkgname}/4.0/${pkgname}-${_pkgver}.tar.bz2"
|
||||
"xsdcxx.patch"
|
||||
"C++Parser_Expat_support.patch"
|
||||
"Fix_path_handling_bug.patch"
|
||||
"xerces-c3.2.patch"
|
||||
"xsd-gcc10.patch"
|
||||
)
|
||||
sha256sums=('eca52a9c8f52cdbe2ae4e364e4a909503493a0d51ea388fc6c9734565a859817'
|
||||
'93f2e6a9dc942cf1fcab7edbe9c38fc102cbaf86f8b667b70aad4e8e2d1e2fd3'
|
||||
'f3e984fdc1cae51e2394170c69f6d0c37e1e82182d8b7b202e458ec0afcf2e1d'
|
||||
'be445dd180038df42fa4610737406e4405f4517311fe726e993a9fc8914f5247'
|
||||
'bd228182441245d3572ec6f64c77fe622d4fc99857a2a4d1f72bda461ba43475')
|
||||
'bd228182441245d3572ec6f64c77fe622d4fc99857a2a4d1f72bda461ba43475'
|
||||
'30842fa7267309571851b7b6733cc97d7b6a441791b6c5003fa94f5aaac4aecf')
|
||||
|
||||
prepare() {
|
||||
cd ${pkgname}-${_pkgver}
|
||||
@ -30,15 +31,12 @@ prepare() {
|
||||
patch -p1 -i "${srcdir}/C++Parser_Expat_support.patch"
|
||||
patch -p1 -i "${srcdir}/Fix_path_handling_bug.patch"
|
||||
patch -p1 -i "${srcdir}/xerces-c3.2.patch"
|
||||
patch -p1 -i "${srcdir}/xsd-gcc10.patch"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd ${pkgname}-${_pkgver}
|
||||
|
||||
case "${CARCH}" in
|
||||
powerpc) export CXX=g++-6 ;;
|
||||
esac
|
||||
|
||||
make CXXFLAGS="${CXXFLAGS} -Wno-error -std=c++0x"
|
||||
}
|
||||
|
||||
|
19
xsd/xsd-gcc10.patch
Normal file
19
xsd/xsd-gcc10.patch
Normal file
@ -0,0 +1,19 @@
|
||||
Description: Fix FTBFS with gcc-10
|
||||
Author: Boris Kolpackov <boris@codesynthesis.com>
|
||||
Origin: upstream, https://git.codesynthesis.com/cgit/libxsd-frontend/libxsd-frontend/commit/?id=5029f8665190879285787a9dcdaf5f997cadd2e2
|
||||
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=957999
|
||||
Last-Update: 2020-09-10
|
||||
---
|
||||
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
|
||||
Index: trunk/libxsd-frontend/xsd-frontend/semantic-graph/elements.cxx
|
||||
===================================================================
|
||||
--- trunk.orig/libxsd-frontend/xsd-frontend/semantic-graph/elements.cxx
|
||||
+++ trunk/libxsd-frontend/xsd-frontend/semantic-graph/elements.cxx
|
||||
@@ -3,6 +3,7 @@
|
||||
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
|
||||
|
||||
#include <algorithm>
|
||||
+#include <iostream>
|
||||
|
||||
#include <cutl/compiler/type-info.hxx>
|
||||
|
Loading…
x
Reference in New Issue
Block a user