diff options
Diffstat (limited to 'development/glm')
-rw-r--r-- | development/glm/glm-gcc73.patch | 35 | ||||
-rw-r--r-- | development/glm/glm.SlackBuild | 7 | ||||
-rw-r--r-- | development/glm/glm.info | 6 |
3 files changed, 5 insertions, 43 deletions
diff --git a/development/glm/glm-gcc73.patch b/development/glm/glm-gcc73.patch deleted file mode 100644 index 68033b5b6f..0000000000 --- a/development/glm/glm-gcc73.patch +++ /dev/null @@ -1,35 +0,0 @@ -diff -ur glm-0.9.8.5.orig/glm/simd/platform.h glm-0.9.8.5/glm/simd/platform.h ---- glm-0.9.8.5.orig/glm/simd/platform.h 2017-08-16 05:15:24.000000000 -0700 -+++ glm-0.9.8.5/glm/simd/platform.h 2018-01-26 15:38:57.584130263 -0800 -@@ -111,7 +111,8 @@ - #define GLM_COMPILER_GCC70 0x02000A00 - #define GLM_COMPILER_GCC71 0x02000B00 - #define GLM_COMPILER_GCC72 0x02000C00 --#define GLM_COMPILER_GCC80 0x02000D00 -+#define GLM_COMPILER_GCC73 0x02000D00 -+#define GLM_COMPILER_GCC80 0x02000E00 - - // CUDA - #define GLM_COMPILER_CUDA 0x10000000 -@@ -283,6 +284,8 @@ - # define GLM_COMPILER (GLM_COMPILER_GCC71) - # elif (__GNUC__ == 7) && (__GNUC_MINOR__ == 2) - # define GLM_COMPILER (GLM_COMPILER_GCC72) -+# elif (__GNUC__ == 7) && (__GNUC_MINOR__ == 3) -+# define GLM_COMPILER (GLM_COMPILER_GCC73) - # elif (__GNUC__ >= 8) - # define GLM_COMPILER (GLM_COMPILER_GCC80) - # else -diff -ur glm-0.9.8.5.orig/test/core/core_setup_message.cpp glm-0.9.8.5/test/core/core_setup_message.cpp ---- glm-0.9.8.5.orig/test/core/core_setup_message.cpp 2017-08-16 05:15:24.000000000 -0700 -+++ glm-0.9.8.5/test/core/core_setup_message.cpp 2018-01-26 15:37:56.953298475 -0800 -@@ -86,6 +86,9 @@ - case GLM_COMPILER_GCC72: - std::printf("GCC 7.2\n"); - break; -+ case GLM_COMPILER_GCC73: -+ std::printf("GCC 7.3\n"); -+ break; - case GLM_COMPILER_GCC80: - std::printf("GCC 8.0\n"); - break; diff --git a/development/glm/glm.SlackBuild b/development/glm/glm.SlackBuild index 34b829d5fb..af7d04b791 100644 --- a/development/glm/glm.SlackBuild +++ b/development/glm/glm.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=glm -VERSION=${VERSION:-0.9.8.5} +VERSION=${VERSION:-0.9.9.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -55,9 +55,6 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -# thanks gentoo -patch -p1 < $CWD/glm-gcc73.patch - mkdir -p build cd build cmake \ @@ -69,7 +66,7 @@ cd build cd .. mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a readme.md copying.txt $PKG/usr/doc/$PRGNAM-$VERSION +cp -a *.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/development/glm/glm.info b/development/glm/glm.info index 36ed58410a..b637e92ed1 100644 --- a/development/glm/glm.info +++ b/development/glm/glm.info @@ -1,8 +1,8 @@ PRGNAM="glm" -VERSION="0.9.8.5" +VERSION="0.9.9.0" HOMEPAGE="http://glm.g-truc.net/" -DOWNLOAD="https://github.com/g-truc/glm/archive/0.9.8.5/glm-0.9.8.5.tar.gz" -MD5SUM="70eac538d5681132dd363f814c81ce22" +DOWNLOAD="https://github.com/g-truc/glm/archive/0.9.9.0/glm-0.9.9.0.tar.gz" +MD5SUM="3e8d6608d43647e1646f94bc5a3edfbe" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |