commit: 3d21154c5c99a552d9a79c651f09de25594a88b0 Author: Horea Christian <chr <AT> chymera <DOT> eu> AuthorDate: Sat May 13 01:29:30 2023 +0000 Commit: Horea Christian <horea.christ <AT> gmail <DOT> com> CommitDate: Sat May 13 01:30:58 2023 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=3d21154c
sci-libs/itk: patch for newer gcc Signed-off-by: Horea Christian <chr <AT> chymera.eu> sci-libs/itk/files/itk-5.3.0-uint8.patch | 10 ++++++++++ sci-libs/itk/itk-5.3.0-r1.ebuild | 2 ++ 2 files changed, 12 insertions(+) diff --git a/sci-libs/itk/files/itk-5.3.0-uint8.patch b/sci-libs/itk/files/itk-5.3.0-uint8.patch new file mode 100644 index 000000000..724314574 --- /dev/null +++ b/sci-libs/itk/files/itk-5.3.0-uint8.patch @@ -0,0 +1,10 @@ +--- a/Modules/Filtering/MathematicalMorphology/include/itkMathematicalMorphologyEnums.h ++++ b/Modules/Filtering/MathematicalMorphology/include/itkMathematicalMorphologyEnums.h +@@ -20,6 +20,7 @@ + + #include <iostream> + #include "ITKMathematicalMorphologyExport.h" ++#include <cstdint> + + + namespace itk diff --git a/sci-libs/itk/itk-5.3.0-r1.ebuild b/sci-libs/itk/itk-5.3.0-r1.ebuild index 23f3341a2..29a3da5d0 100644 --- a/sci-libs/itk/itk-5.3.0-r1.ebuild +++ b/sci-libs/itk/itk-5.3.0-r1.ebuild @@ -92,9 +92,11 @@ BDEPEND=" S="${WORKDIR}/${MY_P}" +# uint patch applied by upstream for next release. PATCHES=( "${FILESDIR}/${PN}-5.2.1-system-tiff-has-64.patch" "${FILESDIR}/${PN}-5.3.0-system-openjpeg.patch" + "${FILESDIR}/${PN}-5.3.0-uint8.patch" ) pkg_pretend() {