1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

multimedia/assimp: Update to 4.0.1

Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D12947
This commit is contained in:
Yuri Victorovich 2017-11-04 19:54:28 +00:00
parent 9048c2c559
commit b794a0b64b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=453483
4 changed files with 8 additions and 19 deletions

View File

@ -1,13 +1,11 @@
# Created by: Yuri <yuri@tsoft.com>
# $FreeBSD$
PORTNAME= assimp
PORTVERSION= 4.0.0
DISTVERSIONPREFIX= v
PORTREVISION= 2
DISTVERSION= 4.0.1
CATEGORIES= multimedia
MAINTAINER= yuri@rawbw.com
MAINTAINER= yuri@FreeBSD.org
COMMENT= Library to import various 3D model formats in a uniform manner
LICENSE= BSD3CLAUSE
@ -24,6 +22,8 @@ USE_LDCONFIG= yes
# CMAKE_ARGS instructs cmake to skip runtime path removal during install
CMAKE_ARGS+= -DCMAKE_SKIP_RPATH:BOOL=ON -DASSIMP_BUILD_TESTS:BOOL=OFF
PLIST_SUB= SHLIB_VER=${DISTVERSION}
.include <bsd.port.pre.mk>
.if ${CHOSEN_COMPILER_TYPE} == gcc

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1500479195
SHA256 (assimp-assimp-v4.0.0_GH0.tar.gz) = 9025d7fdd2a1d1d23261cbbcb1155b267f2a277f7e86103e5e16f1cdea407fb9
SIZE (assimp-assimp-v4.0.0_GH0.tar.gz) = 44618473
TIMESTAMP = 1509810769
SHA256 (assimp-assimp-v4.0.1_GH0.tar.gz) = 60080d8ab4daaab309f65b3cffd99f19eb1af8d05623fff469b9b652818e286e
SIZE (assimp-assimp-v4.0.1_GH0.tar.gz) = 44625148

View File

@ -1,11 +0,0 @@
--- code/MMDPmdParser.h.orig 2017-07-18 17:03:26 UTC
+++ code/MMDPmdParser.h
@@ -158,7 +158,7 @@ namespace pmd
sphere_filename.clear();
}
else {
- *pstar = (char)NULL;
+ *pstar = 0;
texture_filename = std::string(buffer);
sphere_filename = std::string(pstar+1);
}

View File

@ -49,5 +49,5 @@ lib/cmake/assimp-4.0/assimp-config-version.cmake
lib/cmake/assimp-4.0/assimp-config.cmake
lib/libassimp.so
lib/libassimp.so.4
lib/libassimp.so.4.0.0
lib/libassimp.so.%%SHLIB_VER%%
libdata/pkgconfig/assimp.pc