[vcpkg baseline] Fix baseline errors (#12067)

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
This commit is contained in:
Jack·Boos·Yu 2020-06-26 02:11:17 +08:00 committed by GitHub
parent 70ab27fcad
commit 1f0db1f06a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 165 additions and 26 deletions

View File

@ -1,5 +1,5 @@
Source: apr
Version: 1.7.0
Version: 1.7.0-1
Homepage: https://apr.apache.org/
Description: The Apache Portable Runtime (APR) is a C library that forms a system portability layer that covers many operating systems.
Supports: !uwp

View File

@ -76,6 +76,13 @@ else()
vcpkg_install_make()
vcpkg_replace_string(${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/apr-1.pc
"-lapr-\${APR_MAJOR_VERSION}" "-lapr-1"
)
vcpkg_replace_string(${CURRENT_PACKAGES_DIR}/lib/pkgconfig/apr-1.pc
"-lapr-\${APR_MAJOR_VERSION}" "-lapr-1"
)
vcpkg_fixup_pkgconfig(SYSTEM_LIBRARIES pthread rt dl)
endif()
# Handle copyright

View File

@ -1,5 +1,5 @@
Source: paraview
Version: 5.8.0
Version: 5.8.0-1
Homepage: https://www.paraview.org/
Description: VTK-based Data Analysis and Visualization Application
Build-Depends: vtk[core,paraview], protobuf, cgns, boost-core, boost-format, boost-algorithm

View File

@ -0,0 +1,105 @@
diff --git a/databases/readers/M3DC1/avtM3DC1FileFormat.C b/databases/readers/M3DC1/avtM3DC1FileFormat.C
index 642be7e..d044b87 100644
--- a/databases/readers/M3DC1/avtM3DC1FileFormat.C
+++ b/databases/readers/M3DC1/avtM3DC1FileFormat.C
@@ -2051,10 +2051,10 @@ avtM3DC1FileFormat::linkIterator(hid_t locId, const char* name,
switch (linfo->type) {
case H5L_TYPE_HARD: {
- H5O_info_t objinfo;
+ H5O_info1_t objinfo;
/* Stat the object */
- if(H5Oget_info_by_name(locId, name, &objinfo, H5P_DEFAULT) < 0) {
+ if(H5Oget_info_by_name1(locId, name, &objinfo, H5P_DEFAULT) < 0) {
debug5 << "visitLinks() - unable to open object with name " <<name <<std::endl;
debug5 << "visitLinks() - this object and all children will be dropped." <<std::endl;
return 0;
@@ -2103,7 +2103,7 @@ avtM3DC1FileFormat::linkIterator(hid_t locId, const char* name,
targbuf = NULL;
// Get info of the linked object.
- H5O_info_t objinfo;
+ H5O_info1_t objinfo;
hid_t obj_id = H5Oopen(locId, name, H5P_DEFAULT);
if (obj_id < 0) {
@@ -2113,7 +2113,7 @@ avtM3DC1FileFormat::linkIterator(hid_t locId, const char* name,
}
//Test-open the linked object
- if (H5Oget_info (obj_id, &objinfo) < 0) {
+ if (H5Oget_info1(obj_id, &objinfo) < 0) {
debug5 << "visitLinks() - unable to open external object " <<name <<std::endl;
debug5 << "visitLinks() - this object and all children will be dropped." <<std::endl;
return 0;
diff --git a/databases/readers/Pixie/avtPixieFileFormat.C b/databases/readers/Pixie/avtPixieFileFormat.C
index 6532b4e..ff56604 100644
--- a/databases/readers/Pixie/avtPixieFileFormat.C
+++ b/databases/readers/Pixie/avtPixieFileFormat.C
@@ -1979,10 +1979,10 @@ avtPixieFileFormat::VisitLinks(hid_t locId, const char* name,
switch (linfo->type) {
case H5L_TYPE_HARD: {
- H5O_info_t objinfo;
+ H5O_info1_t objinfo;
/* Stat the object */
- if(H5Oget_info_by_name(locId, name, &objinfo, H5P_DEFAULT) < 0) {
+ if(H5Oget_info_by_name1(locId, name, &objinfo, H5P_DEFAULT) < 0) {
debug5 << "visitLinks() - unable to open object with name " <<name <<std::endl;
debug5 << "visitLinks() - this object and all children will be dropped." <<std::endl;
return 0;
@@ -2031,7 +2031,7 @@ avtPixieFileFormat::VisitLinks(hid_t locId, const char* name,
targbuf = NULL;
// Get info of the linked object.
- H5O_info_t objinfo;
+ H5O_info1_t objinfo;
hid_t obj_id = H5Oopen(locId, name, H5P_DEFAULT);
if (obj_id < 0) {
@@ -2041,7 +2041,7 @@ avtPixieFileFormat::VisitLinks(hid_t locId, const char* name,
}
//Test-open the linked object
- if (H5Oget_info (obj_id, &objinfo) < 0) {
+ if (H5Oget_info1(obj_id, &objinfo) < 0) {
debug5 << "visitLinks() - unable to open external object " <<name <<std::endl;
debug5 << "visitLinks() - this object and all children will be dropped." <<std::endl;
return 0;
diff --git a/databases/readers/Vs/VsFilter.C b/databases/readers/Vs/VsFilter.C
index c6caba6..b95f424 100644
--- a/databases/readers/Vs/VsFilter.C
+++ b/databases/readers/Vs/VsFilter.C
@@ -60,10 +60,10 @@ int VsFilter::visitLinks(hid_t locId, const char* name,
switch (linfo->type) {
case H5L_TYPE_HARD: {
- H5O_info_t objinfo;
+ H5O_info1_t objinfo;
/* Stat the object */
- if(H5Oget_info_by_name(locId, name, &objinfo, H5P_DEFAULT) < 0) {
+ if(H5Oget_info_by_name1(locId, name, &objinfo, H5P_DEFAULT) < 0) {
VsLog::errorLog() <<"VsFilter::visitLinks() - unable to open object with name " <<name <<std::endl;
VsLog::errorLog() <<"VsFilter::visitLinks() - this object and all children will be dropped." <<std::endl;
return 0;
@@ -112,7 +112,7 @@ int VsFilter::visitLinks(hid_t locId, const char* name,
targbuf = NULL;
// Get info of the linked object.
- H5O_info_t objinfo;
+ H5O_info1_t objinfo;
#ifndef H5_USE_16_API
hid_t obj_id = H5Oopen(locId, name, H5P_DEFAULT);
#else
@@ -126,7 +126,7 @@ int VsFilter::visitLinks(hid_t locId, const char* name,
}
//Test-open the linked object
- if (H5Oget_info (obj_id, &objinfo) < 0) {
+ if (H5Oget_info1(obj_id, &objinfo) < 0) {
VsLog::errorLog() <<"VsFilter::visitLinks() - unable to open external object " <<name <<std::endl;
VsLog::errorLog() <<"VsFilter::visitLinks() - this object and all children will be dropped." <<std::endl;
return 0;

View File

@ -40,6 +40,7 @@ vcpkg_from_gitlab(
SHA512 6d2c1d6e1cd345547926938451755e7a8be5dabd89e18a2ceb419db16c5b29f354554a5130eb365b7e522d655370fd4766953813ff530c06e4851fe26104ce58
PATCHES
VisIt_Build.patch
fix-using-hdf5.patch
#removeunusedsymbols.patch # These also get remove in master of ParaView
${VisItPatches}
)

View File

@ -1,5 +1,5 @@
Source: vtk
Version: 9.0-3
Version: 9.0-4
Description: Software system for 3D computer graphics, image processing, and visualization
Homepage: https://github.com/Kitware/VTK
Build-Depends: zlib, libpng, tiff, libxml2, jsoncpp, glew, freetype, expat, hdf5[core], libjpeg-turbo, proj4, lz4, liblzma, libtheora, eigen3, double-conversion, pugixml, libharu[notiffsymbols], sqlite3, netcdf-c, utfcpp, libogg, pegtl-2

View File

@ -0,0 +1,22 @@
diff --git a/ThirdParty/h5part/vtkh5part/src/H5Part.c b/ThirdParty/h5part/vtkh5part/src/H5Part.c
index 228d246..41af04d 100644
--- a/ThirdParty/h5part/vtkh5part/src/H5Part.c
+++ b/ThirdParty/h5part/vtkh5part/src/H5Part.c
@@ -2092,7 +2092,7 @@ _H5Part_iteration_operator2 (
case H5L_TYPE_HARD: {
H5O_info_t objinfo;
- if( H5Oget_info_by_name( group_id, member_name, &objinfo, H5P_DEFAULT ) < 0 ) {
+ if( H5Oget_info_by_name1( group_id, member_name, &objinfo, H5P_DEFAULT ) < 0 ) {
return (herr_t)HANDLE_H5G_GET_OBJINFO_ERR ( member_name );
}
@@ -2142,7 +2142,7 @@ _H5Part_iteration_operator2 (
if ( obj_id < 0 ) {
return (herr_t)HANDLE_H5G_OPEN_ERR ( member_name );
}
- else if ( H5Oget_info ( obj_id, &objinfo ) < 0 ) {
+ else if ( H5Oget_info1 ( obj_id, &objinfo ) < 0 ) {
return (herr_t)HANDLE_H5G_GET_OBJINFO_ERR ( member_name );
}
else {

View File

@ -101,6 +101,7 @@ vcpkg_from_github(
pythonwrapper.patch # Required by ParaView to Wrap required classes
NoUndefDebug.patch # Required to link against correct Python library depending on build type.
python_debug.patch
fix-using-hdf5.patch
# Last patch TODO: Patch out internal loguru
)

View File

@ -1965,13 +1965,16 @@ xerces-c:x64-uwp=fail
xeus:x64-linux=ignore
xmlsec:arm-uwp=fail
xmlsec:x64-uwp=fail
xmsh:arm64-windows=fail
xmsh:arm-uwp=fail
xmsh:x64-uwp=fail
xmsh:x64-windows=fail
xmsh:x64-windows-static=fail
xmsh:x86-windows=fail
xmsh:x64-linux=ignore
# The xmsh upstream repository is gone, if we find no replacement before
# 2021-01-01 we will remove the port outright.
xmsh:arm-uwp=skip
xmsh:arm64-windows=skip
xmsh:x64-linux=skip
xmsh:x64-osx=skip
xmsh:x64-uwp=skip
xmsh:x64-windows-static=skip
xmsh:x64-windows=skip
xmsh:x86-windows=skip
xtensor-io:x64-uwp=ignore
x-plane:arm64-windows=fail
x-plane:arm-uwp=fail