Hi ports, as i’ve been asked to repost the work as inline diff , here it is :
index 76ca41ffd7e..61c4b5be6ce 100644 --- Makefile +++ Makefile @@ -1,12 +1,10 @@ -# $OpenBSD: Makefile,v 1.7 2017/07/27 09:55:45 sthen Exp $ +# $OpenBSD: Makefile,v 1.8 2017/09/24 02:19:45 jkasper Exp $ COMMENT= C++ mathematics header-only library for OpenGL software -GH_TAGNAME= 0.9.8.4 GH_PROJECT= glm GH_ACCOUNT= g-truc -DISTNAME= ${GH_PROJECT}-${GH_TAGNAME} -REVISION= 0 +GH_TAGNAME= 0.9.8.5 CATEGORIES= graphics math @@ -17,14 +15,13 @@ PERMIT_PACKAGE_CDROM= Yes MODULES= devel/cmake -COMPILER = gcc -WANTLIB += ${COMPILER_LIBCXX} +WANTLIB += c ${COMPILER_LIBCXX} # it's kind-of a NO_BUILD port, but doing so means you can't # run the tests. CONFIGURE_ARGS+=-DGLM_TEST_ENABLE=BOOLEAN=ON -CXXFLAGS+= -Wno-long-long +CXXFLAGS+= -std=c++11 -Wno-long-long PKG_ARCH= * diff --git distinfo distinfo index 8ccf7b2ce23..d7667f3170d 100644 --- distinfo +++ distinfo @@ -1,2 +1,2 @@ -SHA256 (glm-0.9.8.4.tar.gz) = oiDmD4cRJlWVvjIh5TDWMtWCNkHs1Go6VLwXSTO/8Uw= -SIZE (glm-0.9.8.4.tar.gz) = 3769208 +SHA256 (glm-0.9.8.5.tar.gz) = gM+ZWPBuVQT430XqFP3odBEnAQKTC+McChbA2kMPySA= +SIZE (glm-0.9.8.5.tar.gz) = 3756809 diff --git patches/patch-CMakeLists_txt patches/patch-CMakeLists_txt deleted file mode 100644 index b50b48c382f..00000000000 --- patches/patch-CMakeLists_txt +++ /dev/null @@ -1,12 +0,0 @@ -$OpenBSD: patch-CMakeLists_txt,v 1.3 2017/06/15 18:02:17 rsadowski Exp $ -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(MSVC) diff --git pkg/PLIST pkg/PLIST index a81c73495b7..599e3d632ff 100644 --- pkg/PLIST +++ pkg/PLIST @@ -1,4 +1,4 @@ -@comment $OpenBSD: PLIST,v 1.3 2017/06/15 18:02:17 rsadowski Exp $ +@comment $OpenBSD$ include/glm/ include/glm/CMakeLists.txt include/glm/common.hpp @@ -215,12 +215,6 @@ include/glm/gtx/rotate_vector.inl include/glm/gtx/scalar_multiplication.hpp include/glm/gtx/scalar_relational.hpp include/glm/gtx/scalar_relational.inl -include/glm/gtx/simd_mat4.hpp -include/glm/gtx/simd_mat4.inl -include/glm/gtx/simd_quat.hpp -include/glm/gtx/simd_quat.inl -include/glm/gtx/simd_vec4.hpp -include/glm/gtx/simd_vec4.inl include/glm/gtx/spline.hpp include/glm/gtx/spline.inl include/glm/gtx/std_based_type.hpp