svn commit: r373979 - in head/math/glm: . files
Jung-uk Kim
jkim at FreeBSD.org
Thu Dec 4 18:32:37 UTC 2014
Author: jkim
Date: Thu Dec 4 18:32:35 2014
New Revision: 373979
URL: https://svnweb.freebsd.org/changeset/ports/373979
QAT: https://qat.redports.org/buildarchive/r373979/
Log:
Make it more libstdc++ friendly. graphics/gource now builds on 8.x and 9.x.
Approved by: demon (maintainer)
Added:
head/math/glm/files/
head/math/glm/files/patch-glm__detail__type_int.hpp (contents, props changed)
Modified:
head/math/glm/Makefile
Modified: head/math/glm/Makefile
==============================================================================
--- head/math/glm/Makefile Thu Dec 4 18:24:46 2014 (r373978)
+++ head/math/glm/Makefile Thu Dec 4 18:32:35 2014 (r373979)
@@ -3,6 +3,7 @@
PORTNAME= glm
PORTVERSION= 0.9.5.4
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= math graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
Added: head/math/glm/files/patch-glm__detail__type_int.hpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/glm/files/patch-glm__detail__type_int.hpp Thu Dec 4 18:32:35 2014 (r373979)
@@ -0,0 +1,35 @@
+--- glm/detail/type_int.hpp.orig 2014-12-04 12:55:42.000000000 -0500
++++ glm/detail/type_int.hpp 2014-12-04 12:57:55.000000000 -0500
+@@ -32,22 +32,22 @@
+ #include "setup.hpp"
+
+ #if GLM_HAS_EXTENDED_INTEGER_TYPE
+-# include <cstdint>
++# include <tr1/cstdint>
+ #endif
+
+ namespace glm{
+ namespace detail
+ {
+ # if GLM_HAS_EXTENDED_INTEGER_TYPE
+- typedef std::int8_t int8;
+- typedef std::int16_t int16;
+- typedef std::int32_t int32;
+- typedef std::int64_t int64;
+-
+- typedef std::uint8_t uint8;
+- typedef std::uint16_t uint16;
+- typedef std::uint32_t uint32;
+- typedef std::uint64_t uint64;
++ typedef ::int8_t int8;
++ typedef ::int16_t int16;
++ typedef ::int32_t int32;
++ typedef ::int64_t int64;
++
++ typedef ::uint8_t uint8;
++ typedef ::uint16_t uint16;
++ typedef ::uint32_t uint32;
++ typedef ::uint64_t uint64;
+ # else
+ # if(defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L)) // C99 detected, 64 bit types available
+ typedef int64_t sint64;
More information about the svn-ports-head
mailing list