diff options
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/Manifest.gz | bin | 44383 -> 44373 bytes | |||
-rw-r--r-- | sci-libs/cqrlib/Manifest | 5 | ||||
-rw-r--r-- | sci-libs/cqrlib/cqrlib-1.1.3.ebuild | 58 | ||||
-rw-r--r-- | sci-libs/cqrlib/cqrlib-1.1.4.ebuild | 2 | ||||
-rw-r--r-- | sci-libs/cqrlib/files/1.0.6-gentoo.patch | 101 | ||||
-rw-r--r-- | sci-libs/vtk/Manifest | 3 | ||||
-rw-r--r-- | sci-libs/vtk/files/vtk-9.1.0-Change-or-scope-struct-names-to-avoid-conflicts.patch | 127 | ||||
-rw-r--r-- | sci-libs/vtk/vtk-9.1.0-r2.ebuild | 1 |
8 files changed, 132 insertions, 165 deletions
diff --git a/sci-libs/Manifest.gz b/sci-libs/Manifest.gz Binary files differindex c9beb5427751..d0bedbdf3a4f 100644 --- a/sci-libs/Manifest.gz +++ b/sci-libs/Manifest.gz diff --git a/sci-libs/cqrlib/Manifest b/sci-libs/cqrlib/Manifest index ba6b43ea4fb3..b2e881b2f9d8 100644 --- a/sci-libs/cqrlib/Manifest +++ b/sci-libs/cqrlib/Manifest @@ -1,8 +1,5 @@ -AUX 1.0.6-gentoo.patch 4265 BLAKE2B 61e9f8fab6c84a1d809895b9de3b7106ab47853c60bf6c60f6a5676f6812ace111afdece07154174151befe6af8efb9ee5a406175fdb62f6fcd5f3974c07a18e SHA512 9a21d5950e378d041dc5fb318debc1790701fd3a8e2f8c651c9a77b526f641c1a5a2a1615c6c3af114f1a5a6e9246b30bbd774f15fc9eeefaf154a13e561a44e AUX 1.1.4-build.patch 14479 BLAKE2B 79cee0cc380ee3e9f703a9da8cf307e92093f56fd0f951a95b764276ac5e6e732622b31f72e7f1711fce0a94222684bd3fefab4b94cc04b41730511f58badb1b SHA512 c55e53f13884660f499841c6c658b3c1ea3a88a5a78a409af92e753568748dfad8d36261a092dfa1b2511b5b991d440155a17a3de45dd2688f0f199dbfe30078 AUX 1.1.4-libtool.patch 2256 BLAKE2B a70f6288a6f0343b725f2231c3aaa89e0b72c204f3463724478771d4b4143f2c2b7671a2a8e1c99d6790f5eba51f08a2e5b991c52279e2468f72d2789d7e5296 SHA512 d03c094be631f67346cc3d0409d25173b76a979622f52913055f55501fb5050e1c686a862819cb28bb20467867af770af858e0a7e9b8706f391792714d12147c -DIST CQRlib-1.1.3.tar.gz 93987 BLAKE2B d95dc83f92c322fe6185c8a9989d4814bcae95ac870c2555c5cce0e4279a676180050b0e23bc29cc1032f3ee7a7e2ccc8bbe75be7dba4e336a27afda532aadc4 SHA512 49ee134171bc4736513556781cc978599a3017c0692cf48fba876b2cf8d846ff9b1bbce41c0beba3836701de0dc00d987142253683cd9c1da71586435a5c4010 DIST cqrlib-1.1.4.tar.gz 41521 BLAKE2B 2b69dbf401de9908886798425ec33c28c55ef4b892d35883ffe3c715ddff03fb81b32222b6c755c3c690a016b2ded72e965d83408f14b316913e6f8c7ebb5a41 SHA512 14f49ebc5f562b31081cd53c738aa1571cbefb369ebfe4ca8c27af07a691e4eae288fcf374527453b8d6e36a114a97be26204909be478bd67fb8d94934b1bec7 -EBUILD cqrlib-1.1.3.ebuild 1133 BLAKE2B de0b1366ca00249d4c5ea6a6a74240931fb414aaac076474d82c37da0692d6d831f22806c62f169d7ac683835f8fa361e34c0591fcd095053743477e75641cd0 SHA512 4876fe152990789bd65d32b8ef90eb868f0691821943ee8f19d4834f171f46a2437526f8717a1f4e16a8e21ddcbad9fa2c6a54cb239bd55598d0a54d7839e54c -EBUILD cqrlib-1.1.4.ebuild 894 BLAKE2B 60c55dec0b7b0cd04b6aba28d23da5f0ada7caf23ac22ca4f3df952ffc07b0382e130b05894d918ef53f86e745976422acf088ea9e3609c8681ef3c7b9f91846 SHA512 7043cbff51f2f5dafa3293e86f0eb67234c0358e690eb953bf561dcc923b7f12ebe06273808ee450b7c50940c62079ae2a17dc4dfad9e122f056a7475e373239 +EBUILD cqrlib-1.1.4.ebuild 893 BLAKE2B 96c327a01ccfe49736432b897c0ed7a24ecd5ef19536d9d8a95e4160a0ce7384027bf7727f5e3f68e537b2cd0db936306765653ff885c116463535a021023894 SHA512 358a9b7ac88383cf4a36c57f988a9ffb43da402b12fc0b09294e167402c8b878e20e61b3e3fb6059470569d751d25eae2f38018f8bc18a52b15818218964bd05 MISC metadata.xml 396 BLAKE2B 0426ec41f80319a5d8791686185e2e64e33c519626b0ba0129b302476798ff667ae3ce840d0395a2ed67cb822fb7f3281dad2dcd08b4ebe57e8f3d08e29a010e SHA512 b9c8fc0431ab8d8921cb169869f5368a989e3870d214ef8e278318d10550cbf89cfd77721e0da83a9ef727cd22d5e82a6ede3b24a4f0278216b585a2a78bf09d diff --git a/sci-libs/cqrlib/cqrlib-1.1.3.ebuild b/sci-libs/cqrlib/cqrlib-1.1.3.ebuild deleted file mode 100644 index b6f66281567c..000000000000 --- a/sci-libs/cqrlib/cqrlib-1.1.3.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit flag-o-matic toolchain-funcs - -MY_PN=CQRlib -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="Utility library for quaternion arithmetic / rotation math (ANSI C implemented)" -HOMEPAGE="http://cqrlib.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux" -IUSE="" - -RDEPEND="dev-libs/cvector" -DEPEND="${RDEPEND}" - -DOCS=( README_CQRlib.txt ) -HTML_DOCS=( README_CQRlib.html ) -PATCHES=( "${FILESDIR}"/1.0.6-gentoo.patch ) - -S="${WORKDIR}"/${MY_P} - -src_prepare() { - default - sed "s:GENTOOLIBDIR:$(get_libdir):g" -i Makefile || die - append-cflags -std=c90 - append-cxxflags -std=c++98 -} - -src_compile() { - emake \ - CC="$(tc-getCC)" \ - CXX="$(tc-getCXX)" \ - CFLAGS="${CFLAGS}" \ - CPPFLAGS="${CXXFLAGS} -DCQR_NOCCODE=1" \ - all -} - -src_test() { - emake -j1 \ - CC="$(tc-getCC)" \ - CXX="$(tc-getCXX)" \ - CFLAGS="${CFLAGS}" \ - tests -} - -src_install() { - emake -j1 DESTDIR="${ED}" install - einstalldocs - - find "${D}" -name '*.la' -delete || die -} diff --git a/sci-libs/cqrlib/cqrlib-1.1.4.ebuild b/sci-libs/cqrlib/cqrlib-1.1.4.ebuild index ccbe4868271a..ad24b574fd1f 100644 --- a/sci-libs/cqrlib/cqrlib-1.1.4.ebuild +++ b/sci-libs/cqrlib/cqrlib-1.1.4.ebuild @@ -14,7 +14,7 @@ SRC_URI="https://github.com/yayahjb/${PN}/archive/${MY_P}/${P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux" IUSE="" RDEPEND="dev-libs/cvector" diff --git a/sci-libs/cqrlib/files/1.0.6-gentoo.patch b/sci-libs/cqrlib/files/1.0.6-gentoo.patch deleted file mode 100644 index 64a8eaf3ae26..000000000000 --- a/sci-libs/cqrlib/files/1.0.6-gentoo.patch +++ /dev/null @@ -1,101 +0,0 @@ - Makefile | 56 +++++++++++++++++--------------------------------------- - 1 files changed, 17 insertions(+), 39 deletions(-) - -diff --git a/Makefile b/Makefile -index 9590e50..1aa14e5 100644 ---- a/Makefile -+++ b/Makefile -@@ -88,7 +88,7 @@ INCLUDES = -I$(INC) - endif - - COMPILE_COMMAND = $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) $(INCLUDES) $(WARNINGS) -c --LIBRARY_LINK_COMMAND = $(LIBTOOL) --mode=link $(CC) -version-info $(VERSION) -rpath $(INSTALLDIR)/lib -+LIBRARY_LINK_COMMAND = $(LIBTOOL) --mode=link $(CC) -shared -version-info $(VERSION) -rpath $(INSTALLDIR)/lib ${LDFLAGS} - BUILD_COMMAND_LOCAL = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(INCLUDES) - BUILD_COMMAND_DYNAMIC = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -dynamic -I $(INSTALLDIR)/include -L$(INSTALLDIR)/lib - BUILD_COMMAND_STATIC = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -static -I $(INSTALLDIR)/include -L$(INSTALLDIR)/lib -@@ -196,52 +196,30 @@ all: $(LIB) $(BIN) $(SOURCE) $(HEADERS) \ - $(LIB)/libCQRlib.$(LIB_EXT) \ - $(BIN)/CQRlibTest $(BIN)/CPPQRTest - --install: all $(INSTALLDIR) $(INSTALLDIR)/lib $(INSTALLDIR)/include \ -+install: all $(DESTDIR) $(DESTDIR)/GENTOOLIBDIR $(DESTDIR)/include \ - $(INC) $(LIB)/libCQRlib.$(LIB_EXT) $(INC)/cqrlib.h -- $(INSTALL_COMMAND) $(LIB)/libCQRlib.$(LIB_EXT) $(INSTALLDIR)/lib/libCQRlib.$(LIB_EXT) -- $(INSTALL_FINISH_COMMAND) $(INSTALLDIR)/lib/libCQRlib.$(LIB_EXT) -- -cp $(INSTALLDIR)/include/cqrlib.h $(INSTALLDIR)/include/CQRlib_old.h -- cp $(INC)/cqrlib.h $(INSTALLDIR)/include/cqrlib.h -- chmod 644 $(INSTALLDIR)/include/cqrlib.h -- echo "Testing final install dynamic" -- $(BUILD_COMMAND_DYNAMIC) $(EXAMPLES)/CQRlibTest.c \ -- -lCQRlib -lm -o $(BIN)/CQRlibTest_dynamic -- $(BIN)/CQRlibTest_dynamic > $(TESTDATA)/CQRlibTest_dynamic.lst -- diff -b -c $(TESTDATA)/CQRlibTest_orig.lst \ -- $(TESTDATA)/CQRlibTest_dynamic.lst -- echo "Testing final install static" -- $(BUILD_COMMAND_STATIC) $(EXAMPLES)/CQRlibTest.c \ -- -lCQRlib -lm -o $(BIN)/CQRlibTest_static -- $(BIN)/CQRlibTest_static > $(TESTDATA)/CQRlibTest_static.lst -- diff -b -c $(TESTDATA)/CQRlibTest_orig.lst \ -- $(TESTDATA)/CQRlibTest_static.lst -- $(CPPBUILD_COMMAND_DYNAMIC) $(EXAMPLES)/CPPQRTest.cpp \ -- -lm -o $(BIN)/CPPQRTest_dynamic -- $(BIN)/CPPQRTest_dynamic > $(TESTDATA)/CPPQRTest_dynamic.lst -- diff -b -c $(TESTDATA)/CPPQRTest_orig.lst \ -- $(TESTDATA)/CPPQRTest_dynamic.lst -- $(CPPBUILD_COMMAND_STATIC) $(EXAMPLES)/CPPQRTest.cpp \ -- -lm -o $(BIN)/CPPQRTest_static -- $(BIN)/CPPQRTest_static > $(TESTDATA)/CPPQRTest_static.lst -- diff -b -c $(TESTDATA)/CPPQRTest_orig.lst \ -- $(TESTDATA)/CPPQRTest_static.lst -+ $(INSTALL_COMMAND) $(LIB)/libCQRlib.$(LIB_EXT) $(DESTDIR)/usr/GENTOOLIBDIR/libCQRlib.$(LIB_EXT) -+ $(INSTALL_FINISH_COMMAND) $(DESTDIR)/usr/GENTOOLIBDIR/libCQRlib.$(LIB_EXT) -+ -cp $(INSTALLDIR)/cqrlib.h $(DESTDIR)/usr/include/CQRlib.h -+ cp $(INC)/cqrlib.h $(DESTDIR)/usr/include/cqrlib.h -+ chmod 644 $(DESTDIR)/usr/include/cqrlib.h - - - - # - # Directories - # --$(INSTALLDIR): -- mkdir -p $(INSTALLDIR) -+$(DESTDIR): -+ mkdir -p $(DESTDIR) - --$(INSTALLDIR)/lib: $(INSTALLDIR) -- mkdir -p $(INSTALLDIR)/lib -+$(DESTDIR)/GENTOOLIBDIR: $(DESTDIR) -+ mkdir -p $(DESTDIR)/usr/GENTOOLIBDIR - --$(INSTALLDIR)/bin: $(INSTALLDIR) -- mkdir -p $(INSTALLDIR)/bin -+$(DESTDIR)/bin: $(DESTDIR) -+ mkdir -p $(DESTDIR)/usr/bin - --$(INSTALLDIR)/include: $(INSTALLDIR) -- mkdir -p $(INSTALLDIR)/include -+$(DESTDIR)/include: $(DESTDIR) -+ mkdir -p $(DESTDIR)/usr/include - - - $(LIB): -@@ -255,7 +233,7 @@ $(BIN): - # - $(LIB)/libCQRlib.$(LIB_EXT): $(SOURCE) $(HEADERS) $(COMMONDEP) - $(COMPILE_COMMAND) -c $(SOURCE) -- $(LIBRARY_LINK_COMMAND) -o $(LIB)/libCQRlib.$(LIB_EXT) *.$(OBJ_EXT) -+ $(LIBRARY_LINK_COMMAND) -o $(LIB)/libCQRlib.$(LIB_EXT) *.$(OBJ_EXT) -lm - - # - # CQRlibTest example program -@@ -274,7 +252,7 @@ $(BIN)/CPPQRTest: $(EXAMPLES)/CPPQRTest.cpp - # - # Tests - # --tests: $(LIB) $(BIN) $(BIN)/CQRlibTest \ -+tests: $(LIB) $(BIN) $(BIN)/CQRlibTest $(BIN)/CPPQRTest \ - all $(TESTDATA)/CQRlibTest_orig.lst $(TESTDATA)/CPPQRTest_orig.lst - $(BIN)/CQRlibTest > $(TESTDATA)/CQRlibTest.lst - diff -b -c $(TESTDATA)/CQRlibTest_orig.lst \ diff --git a/sci-libs/vtk/Manifest b/sci-libs/vtk/Manifest index 0e6edfa24d04..f8881f43d5ed 100644 --- a/sci-libs/vtk/Manifest +++ b/sci-libs/vtk/Manifest @@ -2,6 +2,7 @@ AUX vtk-8.2.0-freetype-2.10.3-provide-FT_CALLBACK_DEF.patch 634 BLAKE2B c143e943 AUX vtk-9.0.1-0001-fix-kepler-compute_arch-if-CUDA-toolkit-11-is-used.patch 1529 BLAKE2B 6e3890d824cd3362439f3fdea0f3d01a37d7a5c1e871ed6ecbcecfb4e6e425ce4caf6176b122df4b80fbe1b95661a729428be0e3302205309949080894be7563 SHA512 1177b4815a800afbbaf8ee92a4d52df513c702fcc965cd0c12ba7f91cf58b2ed035277138ef2a091a4649eaf84e6f9b9275f8875385d4cfb89f6d3262c5eef4a AUX vtk-9.0.1-limits-include-gcc11.patch 2654 BLAKE2B 69eae5782234e46c2a38dbc3bf3d01082518314c62742996b953a6b17ceca9d85ca9a83a907c6820210bc0ff406640476dcafc1a533d90071e1c0517a06cc938 SHA512 ef16b3dea49f29d537bfbef26e62f91e59056288eac5c0c41191fee6c2181336dcceaa27b84a541c442d986b8ce1cdf3a9effdedcab1e1a1e242efad34954d00 AUX vtk-9.0.3-IO-FFMPEG-support-FFmpeg-5.0-API-changes.patch 4152 BLAKE2B 7f757ed934e5684bdbe17e6214ac1ab55b024359cb3a4819ea11c086bbb5abcafc787fd37433cb1cae77d9284aa206b43fb5dc8fe5b8923c4d1944c4fc39d748 SHA512 dfe9c8651fc6b6e5c5c8aa81b0821fd5ceee73c728bee5add29cd28b2c19fd79dbe9f14124f789eb647975693679b80d7219ac0a3189b5b78c2818d5055a4b7b +AUX vtk-9.1.0-Change-or-scope-struct-names-to-avoid-conflicts.patch 4211 BLAKE2B 09af898d63f99ba36b664c2aa47e205db0a48d3956d7e5eeecf75537c65b9f14059bf217b9102a61f0c4c6fd3f9e9ea25ee4d2ec6e01b7ef0f3469a2cd5a992a SHA512 0a3090fbc736edf7791a0d863290d6673be62168341876425e8fb94803cf19adff72f54985c781575c4bd302b9316c94e8d32d335399f4f691d0bcbffa6b78bd AUX vtk-9.1.0-adjust-to-find-binaries.patch 998 BLAKE2B 2e2338aa0e918173776a6684ae344d8b75eac8bd514d38e7e1ba5ebfeede9b170f6ab76a2d2c003448673bfbf8c3a1aea58659580aa5e85cb0c5f0d1921233a1 SHA512 259953569d3e03b920783c882ee201b8eeb8c796103bbae25f2915084c26707b9d85e886874b61264da885506ee269edf839ea2da24aa5640ea46aeb8e6dbf5a AUX vtk-9.1.0-avoid-naming-collision-with-netcdf-4.9.0.patch 1020 BLAKE2B 96a8bcba9bc8d10fa3a929b988d936fc95e53e47621d5bcbf872aded3aefb8f40f1a4bef74b6f14f27d18e336bfa9c755c6a6d4235d347f97fb21b021149e0ce SHA512 caddb5f15f665748f652d7036798fe4d060d772473f52350bf2db6f3b468bd56011ad34c78306a57469ef4ad6943d7ed0b60762b3c43b54f98258d0d3639fd5e DIST VTK-9.0.3.tar.gz 34684378 BLAKE2B 6862ab2df95bbefe9d3970757af6521cfa874476f6ee8e64c4e6e279f2e0cbb8a8299bc3b0b8bb9b7254d01a169644e7927b67b11b2ce934ddc87bce0a9e4c26 SHA512 00528011f9206444d09fc6cea05c46930745bb70ea02be6244ab3eb510ae82af772157c025157b1761dc4c6a9ab538b57f814c03a708f30aa3598a421fdc6ae2 @@ -15,5 +16,5 @@ DIST VTKLargeDataFiles-9.1.0.tar.gz 247504557 BLAKE2B a05892347a1a5cf5cb0df3f1c1 DIST vtkDocHtml-9.0.3.tar.gz 132650096 BLAKE2B 45fc1a6942df3e79e500a552c3b3cda2099b9451191559d471e3a2e785a8c52b2c6273cfd2cc4a3f3f65582e607d9414475f58d243fde96a4f985bed479e53db SHA512 9b5fef43f3c2b92aa1fe6a9ba9458d6677874b09b167654db7f26df6feffdc34ed1a8fb4e59d64b75625063a774af77fe57f275903602a5f7daa74e1a2e71800 DIST vtkDocHtml-9.1.0.tar.gz 152767166 BLAKE2B 9163b6b1bf55810a310ca8bc211e067827b1f9907efd2a378363d8e6296d4bf07b25371b66c00cab3576fb06f0cb63fdf2ffea044033e2c42e9087819a3736ba SHA512 036daba5eb6503b5eb3e9323a4ab3ea0f27c09d8fef411dd2ed154c24d5a37d9f19d57db07576c8af404bfdb7178e95b137a3c27bfedb3f9cb72c04f717da80a EBUILD vtk-9.0.3-r5.ebuild 14400 BLAKE2B 0d63f7c28132d1486ac3b14b680d7cf730ec1f4572105870fa3d52096982a9dbe4d05b3955b9f4d0114dae5668698a398619bc38bd27fe02e22ca90e2a2f0e1d SHA512 146892890bf9b28dd2d5a00e3ac406814439d87ab4803014a56fce3281b124c48b02e19492a56aa474a4f0f175e39355dc17f437a23603901b04db1cf88c117b -EBUILD vtk-9.1.0-r2.ebuild 16506 BLAKE2B 2d062d78c6857dacd0ded4d7fd7a2a0f6544d0572646a6f68f8701e42ebeb6efbb965eb02521fd9b49ec269ea3715e6c6bcf6c22050f8e0620d15f236ba2e5c6 SHA512 5dad4530e8821ecc0b68b9420025a8c18b0c865683092d2d8dd16ef87d9c6cc4bcf31002186535d79cff939afbef26841719c310177c06411d31c1761b67b50b +EBUILD vtk-9.1.0-r2.ebuild 16580 BLAKE2B 5b53521c60a8e8a8f9909aa9c8dbea45992ebc94f395d7fcd30a0974c9a5f2c3b453b85d0213ae7695c02eac446a757da6452284313b47096b7c11c142b3c477 SHA512 9d3668029d6b7170e80deb3e83d5482c696a273171bc724116e20d604bff0eb6e50efe08954ba920f6a10ddb0e34fb430b2c3ddd1ef330c1b09fb425da1dfe35 MISC metadata.xml 1349 BLAKE2B 778c471328fddbece653650c6a54b002dc9a48f5de3eb391bd0a84c9e0720ab1b2715b8013af55e60aac11a244090fc6e1d152c57a2c7f16b0b5306043e71731 SHA512 f55cac1ad724a7440bae4e7c364d3869ba25e4668463d0757ca8eb14469b539471c2bd31bb2e874c3a7982df490d9fc1c43c8d854dd4c511d0bde43ec0dc4a0c diff --git a/sci-libs/vtk/files/vtk-9.1.0-Change-or-scope-struct-names-to-avoid-conflicts.patch b/sci-libs/vtk/files/vtk-9.1.0-Change-or-scope-struct-names-to-avoid-conflicts.patch new file mode 100644 index 000000000000..24804ca2dc0a --- /dev/null +++ b/sci-libs/vtk/files/vtk-9.1.0-Change-or-scope-struct-names-to-avoid-conflicts.patch @@ -0,0 +1,127 @@ +From https://gitlab.kitware.com/vtk/vtk/-/commit/0322b938968eebee585ad7efb93bbdade7106355 + +https://bugs.gentoo.org/863038 +https://gitlab.kitware.com/vtk/vtk/-/issues/18638 + +From: Aron Helser <aron.helser@kitware.com> +Date: Mon, 15 Aug 2022 10:06:13 -0400 +Subject: [PATCH 16/30] Change or scope struct names to avoid conflicts. + +(cherry picked from commit b79eb46bf5a4277cafc1ed2bd47fd3ffc28a5b3f) +--- a/IO/AMR/vtkAMRFlashReader.cxx ++++ b/IO/AMR/vtkAMRFlashReader.cxx +@@ -153,7 +153,7 @@ void vtkAMRFlashReader::ComputeStats( + + for (int i = 0; i < internal->NumberOfBlocks; ++i) + { +- Block& theBlock = internal->Blocks[i]; ++ FlashReaderBlock& theBlock = internal->Blocks[i]; + double* gridMin = theBlock.MinBounds; + if (gridMin[0] < min[0]) + { +@@ -193,7 +193,7 @@ int vtkAMRFlashReader::FillMetaData() + + for (int i = 0; i < this->Internal->NumberOfBlocks; ++i) + { +- Block& theBlock = this->Internal->Blocks[i]; ++ FlashReaderBlock& theBlock = this->Internal->Blocks[i]; + + // Start numbering levels from 0! + int level = this->Internal->Blocks[i].Level - 1; +--- a/IO/AMR/vtkAMRFlashReaderInternal.cxx ++++ b/IO/AMR/vtkAMRFlashReaderInternal.cxx +@@ -692,7 +692,7 @@ void vtkFlashReaderInternal::GetBlockMinMaxGlobalDivisionIds() + + for (int b = 0; b < this->NumberOfBlocks; b++) + { +- Block& B = this->Blocks[b]; ++ FlashReaderBlock& B = this->Blocks[b]; + + for (int d = 0; d < 3; d++) + { +--- a/IO/AMR/vtkAMRFlashReaderInternal.h ++++ b/IO/AMR/vtkAMRFlashReaderInternal.h +@@ -74,7 +74,7 @@ typedef struct tagFlashReaderSimulationParameters + double RedShift; + } FlashReaderSimulationParameters; + +-typedef struct tagBlock ++typedef struct tagFlashReaderBlock + { + int Index; // Id of the block + int Level; // LOD level +@@ -88,7 +88,7 @@ typedef struct tagBlock + double Center[3]; // center of the block + double MinBounds[3]; // lower left of the bounding box + double MaxBounds[3]; // upper right of the bounding box +-} Block; ++} FlashReaderBlock; + + typedef struct tagFlashReaderSimulationInformation + { +@@ -152,7 +152,7 @@ public: + FlashReaderSimulationInformation SimulationInformation; // CFD simulation + + // blocks +- std::vector<Block> Blocks; ++ std::vector<FlashReaderBlock> Blocks; + std::vector<int> LeafBlocks; + std::vector<std::string> AttributeNames; + +--- a/IO/AMR/vtkAMRVelodyneReader.cxx ++++ b/IO/AMR/vtkAMRVelodyneReader.cxx +@@ -219,7 +219,7 @@ int vtkAMRVelodyneReader::FillMetaData() + double spacing[3]; + for (int i = 0; i < this->Internal->nBlocks; i++) + { +- Block& theBlock = this->Internal->Blocks[i]; ++ vtkAMRVelodyneReaderInternal::Block& theBlock = this->Internal->Blocks[i]; + int level = theBlock.Level; + int id = theBlock.Index; + CalculateBlockDims(this->Internal->blockDims.data(), theBlock.isFull, dims); +@@ -243,7 +243,7 @@ vtkUniformGrid* vtkAMRVelodyneReader::GetAMRGrid(const int blockIdx) + { + return nullptr; + } +- Block& theBlock = this->Internal->Blocks[blockIdx]; ++ vtkAMRVelodyneReaderInternal::Block& theBlock = this->Internal->Blocks[blockIdx]; + int dims[3]; + CalculateBlockDims(this->Internal->blockDims.data(), theBlock.isFull, dims); + vtkUniformGrid* ug = vtkUniformGrid::New(); +--- a/IO/AMR/vtkAMRVelodyneReaderInternal.h ++++ b/IO/AMR/vtkAMRVelodyneReaderInternal.h +@@ -48,24 +48,20 @@ + //================================================================================ + // INTERNAL VELODYNE READER + //================================================================================ +-typedef struct tagVelodyneSimParameters +-{ +- double Time; +- int CycleTime; +-} VelodneSimParameters; + +-typedef struct tagBlock +-{ +- int Index; +- int dSetLoc; +- int Level; +- double Origin[3]; +- bool isFull; +- bool isLeaf; +-} Block; + class vtkAMRVelodyneReaderInternal + { + public: ++ typedef struct tagVelodyneBlock ++ { ++ int Index; ++ int dSetLoc; ++ int Level; ++ double Origin[3]; ++ bool isFull; ++ bool isLeaf; ++ } Block; ++ + vtkAMRVelodyneReaderInternal(); + ~vtkAMRVelodyneReaderInternal(); + void SetFileName(VTK_FILEPATH VTK_FUTURE_CONST char* fileName); diff --git a/sci-libs/vtk/vtk-9.1.0-r2.ebuild b/sci-libs/vtk/vtk-9.1.0-r2.ebuild index 1e80b96b80b4..e9034c50bbb0 100644 --- a/sci-libs/vtk/vtk-9.1.0-r2.ebuild +++ b/sci-libs/vtk/vtk-9.1.0-r2.ebuild @@ -145,6 +145,7 @@ PATCHES=( "${FILESDIR}"/${PN}-9.0.3-IO-FFMPEG-support-FFmpeg-5.0-API-changes.patch "${FILESDIR}"/${P}-adjust-to-find-binaries.patch "${FILESDIR}"/${P}-avoid-naming-collision-with-netcdf-4.9.0.patch + "${FILESDIR}"/${P}-Change-or-scope-struct-names-to-avoid-conflicts.patch ) DOCS=( CONTRIBUTING.md README.md ) |