git: 973a04bbb659 - main - math/glm: update 1.0.1 → 1.0.2
Date: Wed, 19 Nov 2025 10:28:16 UTC
The branch main has been updated by amdmi3:
URL: https://cgit.FreeBSD.org/ports/commit/?id=973a04bbb659eab547c630341b757b110688a251
commit 973a04bbb659eab547c630341b757b110688a251
Author: Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2025-10-15 19:54:22 +0000
Commit: Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2025-11-19 10:28:12 +0000
math/glm: update 1.0.1 → 1.0.2
Tested by: fluffy
---
math/glm/Makefile | 3 +-
math/glm/distinfo | 6 +--
math/glm/files/patch-glm_gtx_bit.hpp | 60 ----------------------
.../files/patch-test_core_core__func_matrix.cpp | 11 ----
math/glm/pkg-plist | 8 ++-
5 files changed, 10 insertions(+), 78 deletions(-)
diff --git a/math/glm/Makefile b/math/glm/Makefile
index 1d05e34a5d41..9c8ad5c88364 100644
--- a/math/glm/Makefile
+++ b/math/glm/Makefile
@@ -1,6 +1,5 @@
PORTNAME= glm
-PORTVERSION= 1.0.1
-PORTEPOCH= 1
+PORTVERSION= 1.0.2
CATEGORIES= math graphics
MAINTAINER= amdmi3@FreeBSD.org
diff --git a/math/glm/distinfo b/math/glm/distinfo
index 67f772622f58..fd1eb28fda75 100644
--- a/math/glm/distinfo
+++ b/math/glm/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1709055434
-SHA256 (g-truc-glm-1.0.1_GH0.tar.gz) = 9f3174561fd26904b23f0db5e560971cbf9b3cbda0b280f04d5c379d03bf234c
-SIZE (g-truc-glm-1.0.1_GH0.tar.gz) = 4567161
+TIMESTAMP = 1760555893
+SHA256 (g-truc-glm-1.0.2_GH0.tar.gz) = 19edf2e860297efab1c74950e6076bf4dad9de483826bc95e2e0f2c758a43f65
+SIZE (g-truc-glm-1.0.2_GH0.tar.gz) = 4597309
diff --git a/math/glm/files/patch-glm_gtx_bit.hpp b/math/glm/files/patch-glm_gtx_bit.hpp
deleted file mode 100644
index 395022876680..000000000000
--- a/math/glm/files/patch-glm_gtx_bit.hpp
+++ /dev/null
@@ -1,60 +0,0 @@
-This is needed to fix x11-wm/gamescope with glm 1.0.1
-
-https://github.com/g-truc/glm/issues/1269
-
---- glm/gtx/bit.hpp.orig 2024-02-27 17:19:47 UTC
-+++ glm/gtx/bit.hpp
-@@ -46,7 +46,7 @@ namespace glm
- /// @see gtc_round
- /// @see gtx_bit
- template<typename genIUType>
-- GLM_DEPRECATED GLM_FUNC_DECL genIUType powerOfTwoAbove(genIUType Value);
-+ GLM_FUNC_DECL genIUType powerOfTwoAbove(genIUType Value);
-
- /// Return the power of two number which value is just higher the input value.
- /// Deprecated, use ceilPowerOfTwo from GTC_round instead
-@@ -54,7 +54,7 @@ namespace glm
- /// @see gtc_round
- /// @see gtx_bit
- template<length_t L, typename T, qualifier Q>
-- GLM_DEPRECATED GLM_FUNC_DECL vec<L, T, Q> powerOfTwoAbove(vec<L, T, Q> const& value);
-+ GLM_FUNC_DECL vec<L, T, Q> powerOfTwoAbove(vec<L, T, Q> const& value);
-
- /// Return the power of two number which value is just lower the input value.
- /// Deprecated, use floorPowerOfTwo from GTC_round instead
-@@ -62,7 +62,7 @@ namespace glm
- /// @see gtc_round
- /// @see gtx_bit
- template<typename genIUType>
-- GLM_DEPRECATED GLM_FUNC_DECL genIUType powerOfTwoBelow(genIUType Value);
-+ GLM_FUNC_DECL genIUType powerOfTwoBelow(genIUType Value);
-
- /// Return the power of two number which value is just lower the input value.
- /// Deprecated, use floorPowerOfTwo from GTC_round instead
-@@ -70,7 +70,7 @@ namespace glm
- /// @see gtc_round
- /// @see gtx_bit
- template<length_t L, typename T, qualifier Q>
-- GLM_DEPRECATED GLM_FUNC_DECL vec<L, T, Q> powerOfTwoBelow(vec<L, T, Q> const& value);
-+ GLM_FUNC_DECL vec<L, T, Q> powerOfTwoBelow(vec<L, T, Q> const& value);
-
- /// Return the power of two number which value is the closet to the input value.
- /// Deprecated, use roundPowerOfTwo from GTC_round instead
-@@ -78,7 +78,7 @@ namespace glm
- /// @see gtc_round
- /// @see gtx_bit
- template<typename genIUType>
-- GLM_DEPRECATED GLM_FUNC_DECL genIUType powerOfTwoNearest(genIUType Value);
-+ GLM_FUNC_DECL genIUType powerOfTwoNearest(genIUType Value);
-
- /// Return the power of two number which value is the closet to the input value.
- /// Deprecated, use roundPowerOfTwo from GTC_round instead
-@@ -86,7 +86,7 @@ namespace glm
- /// @see gtc_round
- /// @see gtx_bit
- template<length_t L, typename T, qualifier Q>
-- GLM_DEPRECATED GLM_FUNC_DECL vec<L, T, Q> powerOfTwoNearest(vec<L, T, Q> const& value);
-+ GLM_FUNC_DECL vec<L, T, Q> powerOfTwoNearest(vec<L, T, Q> const& value);
-
- /// @}
- } //namespace glm
diff --git a/math/glm/files/patch-test_core_core__func_matrix.cpp b/math/glm/files/patch-test_core_core__func_matrix.cpp
deleted file mode 100644
index 080676114d84..000000000000
--- a/math/glm/files/patch-test_core_core__func_matrix.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- test/core/core_func_matrix.cpp.orig 2024-02-27 17:19:47 UTC
-+++ test/core/core_func_matrix.cpp
-@@ -392,7 +392,7 @@ static int test_inverse_perf(std::size_t Count, std::s
- //glm::uint Ulp = 0;
- //Ulp = glm::max(glm::float_distance(*Dst, *Src), Ulp);
-
-- std::printf("inverse<%s>(%f): %lu\n", Message, static_cast<double>(Diff), EndTime - StartTime);
-+ std::printf("inverse<%s>(%f): %lu\n", Message, static_cast<double>(Diff), (unsigned long)(EndTime - StartTime));
-
- return 0;
- }
diff --git a/math/glm/pkg-plist b/math/glm/pkg-plist
index 03669b99b210..f957760e51f7 100644
--- a/math/glm/pkg-plist
+++ b/math/glm/pkg-plist
@@ -60,7 +60,7 @@ include/glm/detail/type_vec3.hpp
include/glm/detail/type_vec3.inl
include/glm/detail/type_vec4.hpp
include/glm/detail/type_vec4.inl
-include/glm/detail/type_vec4_simd.inl
+include/glm/detail/type_vec_simd.inl
include/glm/exponential.hpp
include/glm/ext.hpp
include/glm/ext/_matrix_vectorize.hpp
@@ -310,7 +310,7 @@ include/glm/gtx/fast_square_root.hpp
include/glm/gtx/fast_square_root.inl
include/glm/gtx/fast_trigonometry.hpp
include/glm/gtx/fast_trigonometry.inl
-include/glm/gtx/float_notmalize.inl
+include/glm/gtx/float_normalize.inl
include/glm/gtx/functions.hpp
include/glm/gtx/functions.inl
include/glm/gtx/gradient_paint.hpp
@@ -325,6 +325,8 @@ include/glm/gtx/intersect.hpp
include/glm/gtx/intersect.inl
include/glm/gtx/io.hpp
include/glm/gtx/io.inl
+include/glm/gtx/iteration.hpp
+include/glm/gtx/iteration.inl
include/glm/gtx/log_base.hpp
include/glm/gtx/log_base.inl
include/glm/gtx/matrix_cross_product.hpp
@@ -382,6 +384,8 @@ include/glm/gtx/std_based_type.hpp
include/glm/gtx/std_based_type.inl
include/glm/gtx/string_cast.hpp
include/glm/gtx/string_cast.inl
+include/glm/gtx/structured_bindings.hpp
+include/glm/gtx/structured_bindings.inl
include/glm/gtx/texture.hpp
include/glm/gtx/texture.inl
include/glm/gtx/transform.hpp