Hi All!
Please find below an update diff to 0.9.8.4. All tests passed on amd64
-current. graphics/maim builds fine with this version.
OK? Comments?
Best regards
Rafael Sadowski
Index: Makefile
===================================================================
RCS file: /cvs/ports/graphics/glm/Makefile,v
retrieving revision 1.4
diff -u -p -u -p -r1.4 Makefile
--- Makefile 31 May 2017 08:08:16 -0000 1.4
+++ Makefile 15 Jun 2017 16:04:59 -0000
@@ -2,7 +2,7 @@
COMMENT= C++ mathematics header-only library for OpenGL software
-GH_TAGNAME= 0.9.7.1
+GH_TAGNAME= 0.9.8.4
GH_PROJECT= glm
GH_ACCOUNT= g-truc
DISTNAME= ${GH_PROJECT}-${GH_TAGNAME}
@@ -14,9 +14,9 @@ HOMEPAGE= http://glm.g-truc.net/
# MIT
PERMIT_PACKAGE_CDROM= Yes
-MODULES= devel/cmake
+MODULES= devel/cmake
-COMPILER = gcc
+COMPILER = gcc
# it's kind-of a NO_BUILD port, but doing so means you can't
# run the tests.
Index: distinfo
===================================================================
RCS file: /cvs/ports/graphics/glm/distinfo,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 distinfo
--- distinfo 28 Dec 2015 18:57:29 -0000 1.2
+++ distinfo 15 Jun 2017 16:04:59 -0000
@@ -1,2 +1,2 @@
-SHA256 (glm-0.9.7.1.tar.gz) = KFoNyPditOUjyHEPvZesyqzgxh9FvIvivbDe7Qew5vM=
-SIZE (glm-0.9.7.1.tar.gz) = 3453078
+SHA256 (glm-0.9.8.4.tar.gz) = oiDmD4cRJlWVvjIh5TDWMtWCNkHs1Go6VLwXSTO/8Uw=
+SIZE (glm-0.9.8.4.tar.gz) = 3769208
Index: patches/patch-CMakeLists_txt
===================================================================
RCS file: /cvs/ports/graphics/glm/patches/patch-CMakeLists_txt,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 patch-CMakeLists_txt
--- patches/patch-CMakeLists_txt 28 Dec 2015 18:57:29 -0000 1.2
+++ patches/patch-CMakeLists_txt 15 Jun 2017 16:04:59 -0000
@@ -1,14 +1,12 @@
$OpenBSD: patch-CMakeLists_txt,v 1.2 2015/12/28 18:57:29 jasper Exp $
---- CMakeLists.txt.orig Sun Sep 6 22:30:17 2015
-+++ CMakeLists.txt Mon Dec 28 19:21:26 2015
-@@ -75,10 +73,6 @@ option(GLM_TEST_FORCE_PURE "Force 'pure' instructions"
+Index: CMakeLists.txt
+--- CMakeLists.txt.orig
++++ CMakeLists.txt
+@@ -77,6 +77,7 @@ if(GLM_TEST_ENABLE_LANG_EXTENSIONS)
+ if(GLM_TEST_ENABLE_FAST_MATH)
+ if(CMAKE_COMPILER_IS_GNUCXX)
+ add_definitions(-ffast-math)
++ add_definitions(-mfpmath=387)
+ endif()
- if(GLM_TEST_FORCE_PURE)
- add_definitions(-DGLM_FORCE_PURE)
--
-- if(CMAKE_COMPILER_IS_GNUCXX)
-- add_definitions(-mfpmath=387)
-- endif()
- elseif(GLM_TEST_ENABLE_SIMD_AVX2)
- if(CMAKE_COMPILER_IS_GNUCXX)
- add_definitions(-mavx2)
+ if(MSVC)
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/graphics/glm/pkg/PLIST,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 PLIST
--- pkg/PLIST 28 Dec 2015 18:57:29 -0000 1.2
+++ pkg/PLIST 15 Jun 2017 16:04:59 -0000
@@ -12,35 +12,29 @@ include/glm/detail/_vectorize.hpp
include/glm/detail/dummy.cpp
include/glm/detail/func_common.hpp
include/glm/detail/func_common.inl
+include/glm/detail/func_common_simd.inl
include/glm/detail/func_exponential.hpp
include/glm/detail/func_exponential.inl
+include/glm/detail/func_exponential_simd.inl
include/glm/detail/func_geometric.hpp
include/glm/detail/func_geometric.inl
+include/glm/detail/func_geometric_simd.inl
include/glm/detail/func_integer.hpp
include/glm/detail/func_integer.inl
+include/glm/detail/func_integer_simd.inl
include/glm/detail/func_matrix.hpp
include/glm/detail/func_matrix.inl
+include/glm/detail/func_matrix_simd.inl
include/glm/detail/func_packing.hpp
include/glm/detail/func_packing.inl
+include/glm/detail/func_packing_simd.inl
include/glm/detail/func_trigonometric.hpp
include/glm/detail/func_trigonometric.inl
+include/glm/detail/func_trigonometric_simd.inl
include/glm/detail/func_vector_relational.hpp
include/glm/detail/func_vector_relational.inl
+include/glm/detail/func_vector_relational_simd.inl
include/glm/detail/glm.cpp
-include/glm/detail/intrinsic_common.hpp
-include/glm/detail/intrinsic_common.inl
-include/glm/detail/intrinsic_exponential.hpp
-include/glm/detail/intrinsic_exponential.inl
-include/glm/detail/intrinsic_geometric.hpp
-include/glm/detail/intrinsic_geometric.inl
-include/glm/detail/intrinsic_integer.hpp
-include/glm/detail/intrinsic_integer.inl
-include/glm/detail/intrinsic_matrix.hpp
-include/glm/detail/intrinsic_matrix.inl
-include/glm/detail/intrinsic_trigonometric.hpp
-include/glm/detail/intrinsic_trigonometric.inl
-include/glm/detail/intrinsic_vector_relational.hpp
-include/glm/detail/intrinsic_vector_relational.inl
include/glm/detail/precision.hpp
include/glm/detail/setup.hpp
include/glm/detail/type_float.hpp
@@ -69,6 +63,7 @@ include/glm/detail/type_mat4x3.hpp
include/glm/detail/type_mat4x3.inl
include/glm/detail/type_mat4x4.hpp
include/glm/detail/type_mat4x4.inl
+include/glm/detail/type_mat4x4_simd.inl
include/glm/detail/type_vec.hpp
include/glm/detail/type_vec.inl
include/glm/detail/type_vec1.hpp
@@ -79,9 +74,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_avx.inl
-include/glm/detail/type_vec4_avx2.inl
-include/glm/detail/type_vec4_sse2.inl
+include/glm/detail/type_vec4_simd.inl
include/glm/exponential.hpp
include/glm/ext.hpp
include/glm/fwd.hpp
@@ -90,12 +83,15 @@ include/glm/glm.hpp
include/glm/gtc/
include/glm/gtc/bitfield.hpp
include/glm/gtc/bitfield.inl
+include/glm/gtc/color_encoding.inl
include/glm/gtc/color_space.hpp
include/glm/gtc/color_space.inl
include/glm/gtc/constants.hpp
include/glm/gtc/constants.inl
include/glm/gtc/epsilon.hpp
include/glm/gtc/epsilon.inl
+include/glm/gtc/functions.hpp
+include/glm/gtc/functions.inl
include/glm/gtc/integer.hpp
include/glm/gtc/integer.inl
include/glm/gtc/matrix_access.hpp
@@ -111,12 +107,14 @@ include/glm/gtc/packing.hpp
include/glm/gtc/packing.inl
include/glm/gtc/quaternion.hpp
include/glm/gtc/quaternion.inl
+include/glm/gtc/quaternion_simd.inl
include/glm/gtc/random.hpp
include/glm/gtc/random.inl
include/glm/gtc/reciprocal.hpp
include/glm/gtc/reciprocal.inl
include/glm/gtc/round.hpp
include/glm/gtc/round.inl
+include/glm/gtc/type_aligned.hpp
include/glm/gtc/type_precision.hpp
include/glm/gtc/type_precision.inl
include/glm/gtc/type_ptr.hpp
@@ -148,14 +146,15 @@ include/glm/gtx/euler_angles.hpp
include/glm/gtx/euler_angles.inl
include/glm/gtx/extend.hpp
include/glm/gtx/extend.inl
-include/glm/gtx/extented_min_max.hpp
-include/glm/gtx/extented_min_max.inl
+include/glm/gtx/extended_min_max.hpp
+include/glm/gtx/extended_min_max.inl
include/glm/gtx/fast_exponential.hpp
include/glm/gtx/fast_exponential.inl
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/gradient_paint.hpp
include/glm/gtx/gradient_paint.inl
include/glm/gtx/handed_coordinate_space.hpp
@@ -234,6 +233,8 @@ include/glm/gtx/transform2.hpp
include/glm/gtx/transform2.inl
include/glm/gtx/type_aligned.hpp
include/glm/gtx/type_aligned.inl
+include/glm/gtx/type_trait.hpp
+include/glm/gtx/type_trait.inl
include/glm/gtx/vector_angle.hpp
include/glm/gtx/vector_angle.inl
include/glm/gtx/vector_query.hpp
@@ -252,6 +253,16 @@ include/glm/mat4x3.hpp
include/glm/mat4x4.hpp
include/glm/matrix.hpp
include/glm/packing.hpp
+include/glm/simd/
+include/glm/simd/common.h
+include/glm/simd/exponential.h
+include/glm/simd/geometric.h
+include/glm/simd/integer.h
+include/glm/simd/matrix.h
+include/glm/simd/packing.h
+include/glm/simd/platform.h
+include/glm/simd/trigonometric.h
+include/glm/simd/vector_relational.h
include/glm/trigonometric.hpp
include/glm/vec2.hpp
include/glm/vec3.hpp
@@ -260,5 +271,6 @@ include/glm/vector_relational.hpp
lib/cmake/
lib/cmake/glm/
lib/cmake/glm/glmConfig.cmake
+lib/cmake/glm/glmConfigVersion.cmake
lib/cmake/glm/glmTargets.cmake
-lib/cmake/glm/glmVersion.cmake
+lib/pkgconfig/glm.pc