Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jan 2018 20:38:40 +0000 (UTC)
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r459286 - in head/graphics/libgltf: . files
Message-ID:  <201801172038.w0HKceoI068374@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jkim
Date: Wed Jan 17 20:38:40 2018
New Revision: 459286
URL: https://svnweb.freebsd.org/changeset/ports/459286

Log:
  - Fix build with Clang 6.0. [1]
  - Fix license and prefer HTTPS for WWW.
  
  PR:		225006 [1]

Added:
  head/graphics/libgltf/files/
  head/graphics/libgltf/files/patch-src_Shaders.cpp   (contents, props changed)
Modified:
  head/graphics/libgltf/Makefile
  head/graphics/libgltf/pkg-descr

Modified: head/graphics/libgltf/Makefile
==============================================================================
--- head/graphics/libgltf/Makefile	Wed Jan 17 20:07:46 2018	(r459285)
+++ head/graphics/libgltf/Makefile	Wed Jan 17 20:38:40 2018	(r459286)
@@ -2,15 +2,15 @@
 
 PORTNAME=	libgltf
 PORTVERSION=	0.0.2
-PORTREVISION=	10
+PORTREVISION=	11
 CATEGORIES=	graphics devel
 MASTER_SITES=	LODEV
 
 MAINTAINER=	office@FreeBSD.org
 COMMENT=	C++ Library for rendering OpenGL models stored in glTF format
 
-LICENSE=	LGPL21 MPL20
-LICENSE_COMB=	dual
+LICENSE=	MPL20
+LICENSE_FILE=	${WRKSRC}/COPYING
 
 BUILD_DEPENDS=	${LOCALBASE}/include/boost/ptr_container/ptr_map.hpp:devel/boost-libs \
 		${LOCALBASE}/include/glm/glm.hpp:math/glm

Added: head/graphics/libgltf/files/patch-src_Shaders.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/libgltf/files/patch-src_Shaders.cpp	Wed Jan 17 20:38:40 2018	(r459286)
@@ -0,0 +1,11 @@
+--- src/Shaders.cpp.orig	2014-10-01 18:31:43 UTC
++++ src/Shaders.cpp
+@@ -175,7 +175,7 @@ bool ShaderProgram::compileShader(const char* pShader,
+         };
+ 
+         const GLint aSizes[] = {
+-            strlen("#version 130\n"),
++            sizeof("#version 130\n") - 1,
+             iGLSize,
+         };
+ 

Modified: head/graphics/libgltf/pkg-descr
==============================================================================
--- head/graphics/libgltf/pkg-descr	Wed Jan 17 20:07:46 2018	(r459285)
+++ head/graphics/libgltf/pkg-descr	Wed Jan 17 20:38:40 2018	(r459286)
@@ -1,3 +1,3 @@
 Library for rendering OpenGL models stored in glTF format
 
-WWW: http://www.libreoffice.org
+WWW: https://www.libreoffice.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801172038.w0HKceoI068374>