vsgxchange: update to 1.1.6
This commit is contained in:
parent
2b583bd595
commit
d5e01ed461
12
mingw-w64-vsgxchange/0001-vsgxchange-1.1.6-path-cast.patch
Normal file
12
mingw-w64-vsgxchange/0001-vsgxchange-1.1.6-path-cast.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -Naur vsgXchange-1.1.6.orig/src/gdal/GDAL.cpp vsgXchange-1.1.6/src/gdal/GDAL.cpp
|
||||
--- vsgXchange-1.1.6.orig/src/gdal/GDAL.cpp 2025-02-04 20:49:58.683453200 +0300
|
||||
+++ vsgXchange-1.1.6/src/gdal/GDAL.cpp 2025-02-04 20:50:23.570651800 +0300
|
||||
@@ -247,7 +247,7 @@
|
||||
vsg::ref_ptr<vsg::Object> GDAL::Implementation::read(const uint8_t* ptr, size_t size, vsg::ref_ptr<const vsg::Options> options) const
|
||||
{
|
||||
std::string temp_filename("/vsimem/temp");
|
||||
- temp_filename.append(options->extensionHint);
|
||||
+ temp_filename.append(options->extensionHint.string());
|
||||
|
||||
// create a GDAL Virtual File for memory block.
|
||||
VSILFILE* vsFile = VSIFileFromMemBuffer(temp_filename.c_str(), static_cast<GByte*>(const_cast<uint8_t*>(ptr)), static_cast<vsi_l_offset>(size), 0);
|
||||
@ -4,8 +4,8 @@ _realname=vsgXchange
|
||||
pkgbase=mingw-w64-${_realname,,}
|
||||
pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname,,}"
|
||||
"${MINGW_PACKAGE_PREFIX}-${_realname,,}-docs")
|
||||
pkgver=1.1.4
|
||||
pkgrel=2
|
||||
pkgver=1.1.6
|
||||
pkgrel=1
|
||||
pkgdesc="Utility library for converting data+materials to/from VulkanSceneGraph (mingw-w64)"
|
||||
arch=('any')
|
||||
mingw_arch=('mingw64' 'ucrt64' 'clang64' 'clangarm64')
|
||||
@ -27,8 +27,16 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-cmake"
|
||||
"${MINGW_PACKAGE_PREFIX}-vulkan-headers"
|
||||
"${MINGW_PACKAGE_PREFIX}-doxygen"
|
||||
"${MINGW_PACKAGE_PREFIX}-graphviz")
|
||||
source=("${msys2_repository_url}/archive/v${pkgver}/${_realname}-${pkgver}.tar.gz")
|
||||
sha256sums=('0b79369ddcb3676b6998a6660fcf938314ae34eea9fbababf8471e0b94502597')
|
||||
source=("${msys2_repository_url}/archive/v${pkgver}/${_realname}-${pkgver}.tar.gz"
|
||||
'0001-vsgxchange-1.1.6-path-cast.patch')
|
||||
sha256sums=('d45c24fea75ba3393bf676aa3a7576b22f6afec574aa18da114ce6a48181cd13'
|
||||
'd8f1a83aa6258f5450bed8fcb7ab23a360f717eb6bd9f1e29e6a79febae8a5e1')
|
||||
|
||||
prepare() {
|
||||
cd "${_realname}-${pkgver}"
|
||||
|
||||
patch -p1 -i "${srcdir}"/0001-vsgxchange-1.1.6-path-cast.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
declare -a extra_config
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user