diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2018-02-08 22:09:15 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2018-02-08 22:09:15 +0000 |
commit | 344ccf63636174367e949b33d1664b61ad80362d (patch) | |
tree | 1fbd4b95dd0bfc26b738c34ce3186c4a64a6c92d /multimedia | |
parent | 29c4bb2b54cdfaea138d72f2bfe98ebd6b36294d (diff) | |
download | ports-344ccf63636174367e949b33d1664b61ad80362d.tar.gz ports-344ccf63636174367e949b33d1664b61ad80362d.zip |
Notes
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/assimp/Makefile | 17 | ||||
-rw-r--r-- | multimedia/assimp/distinfo | 6 | ||||
-rw-r--r-- | multimedia/assimp/files/patch-code_D3MFOpcPackage.cpp | 9 | ||||
-rw-r--r-- | multimedia/assimp/files/patch-git_096056 | 21 | ||||
-rw-r--r-- | multimedia/assimp/pkg-plist | 9 |
5 files changed, 39 insertions, 23 deletions
diff --git a/multimedia/assimp/Makefile b/multimedia/assimp/Makefile index cf8f5abb5115..413540455549 100644 --- a/multimedia/assimp/Makefile +++ b/multimedia/assimp/Makefile @@ -2,7 +2,7 @@ PORTNAME= assimp DISTVERSIONPREFIX= v -DISTVERSION= 4.0.1 +DISTVERSION= 4.1.0 CATEGORIES= multimedia MAINTAINER= yuri@FreeBSD.org @@ -19,16 +19,11 @@ USES= cmake compiler:c++11-lib localbase:ldflags pkgconfig USE_GITHUB= yes 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 +CMAKE_OFF= ASSIMP_BUILD_TESTS -PLIST_SUB= SHLIB_VER=${DISTVERSION} +PLIST_SUB= SHL3=${DISTVERSION} VER2=${DISTVERSION:R} SHL1=${DISTVERSION:R:R} -.include <bsd.port.pre.mk> +post-install: # rm the third-party lib installed by mistake: https://github.com/assimp/assimp/issues/1650 + @${RM} ${STAGEDIR}${PREFIX}/lib/libIrrXML.a -.if ${CHOSEN_COMPILER_TYPE} == gcc -# GCC C++11 support is broken on FreeBSD (see PR 193528 for details) -CXXFLAGS+= -D_GLIBCXX_USE_C99 -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/multimedia/assimp/distinfo b/multimedia/assimp/distinfo index aabc054dd022..6bf418f0ef52 100644 --- a/multimedia/assimp/distinfo +++ b/multimedia/assimp/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1509810769 -SHA256 (assimp-assimp-v4.0.1_GH0.tar.gz) = 60080d8ab4daaab309f65b3cffd99f19eb1af8d05623fff469b9b652818e286e -SIZE (assimp-assimp-v4.0.1_GH0.tar.gz) = 44625148 +TIMESTAMP = 1513844771 +SHA256 (assimp-assimp-v4.1.0_GH0.tar.gz) = 3520b1e9793b93a2ca3b797199e16f40d61762617e072f2d525fad70f9678a71 +SIZE (assimp-assimp-v4.1.0_GH0.tar.gz) = 45417293 diff --git a/multimedia/assimp/files/patch-code_D3MFOpcPackage.cpp b/multimedia/assimp/files/patch-code_D3MFOpcPackage.cpp index cec1c980bd24..e4c1bc31b7f3 100644 --- a/multimedia/assimp/files/patch-code_D3MFOpcPackage.cpp +++ b/multimedia/assimp/files/patch-code_D3MFOpcPackage.cpp @@ -1,11 +1,10 @@ ---- code/D3MFOpcPackage.cpp.orig 2017-07-18 17:03:26 UTC +--- code/D3MFOpcPackage.cpp.orig 2017-12-11 13:22:45 UTC +++ code/D3MFOpcPackage.cpp -@@ -55,6 +55,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY O +@@ -55,6 +55,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE + #include <map> #include <algorithm> #include <cassert> - +#include <stdlib.h> -+ #include <contrib/unzip/unzip.h> + #include "3MFXmlTags.h" - namespace Assimp { diff --git a/multimedia/assimp/files/patch-git_096056 b/multimedia/assimp/files/patch-git_096056 new file mode 100644 index 000000000000..f6470173c040 --- /dev/null +++ b/multimedia/assimp/files/patch-git_096056 @@ -0,0 +1,21 @@ +From 096056b899d9c423cdcad527849126e3e3e17a34 Mon Sep 17 00:00:00 2001 +From: Turo Lamminen <turotl@gmail.com> +Date: Sun, 24 Dec 2017 22:17:45 +0200 +Subject: [PATCH] Q3BSP: Fix build with clang libc++ + +--- + code/Q3BSPZipArchive.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git code/Q3BSPZipArchive.cpp code/Q3BSPZipArchive.cpp +index 86c966d8e..1c8b18ad3 100644 +--- code/Q3BSPZipArchive.cpp ++++ code/Q3BSPZipArchive.cpp +@@ -43,6 +43,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + #include "Q3BSPZipArchive.h" + #include <cassert> ++#include <cstdlib> + #include <assimp/ai_assert.h> + + namespace Assimp { diff --git a/multimedia/assimp/pkg-plist b/multimedia/assimp/pkg-plist index b613c5752295..794327627086 100644 --- a/multimedia/assimp/pkg-plist +++ b/multimedia/assimp/pkg-plist @@ -5,6 +5,7 @@ include/assimp/Compiler/pushpack1.h include/assimp/DefaultIOStream.h include/assimp/DefaultIOSystem.h include/assimp/DefaultLogger.hpp +include/assimp/Defines.h include/assimp/Exporter.hpp include/assimp/IOStream.hpp include/assimp/IOSystem.hpp @@ -45,9 +46,9 @@ include/assimp/vector2.inl include/assimp/vector3.h include/assimp/vector3.inl include/assimp/version.h -lib/cmake/assimp-4.0/assimp-config-version.cmake -lib/cmake/assimp-4.0/assimp-config.cmake +lib/cmake/assimp-%%VER2%%/assimp-config-version.cmake +lib/cmake/assimp-%%VER2%%/assimp-config.cmake lib/libassimp.so -lib/libassimp.so.4 -lib/libassimp.so.%%SHLIB_VER%% +lib/libassimp.so.%%SHL1%% +lib/libassimp.so.%%SHL3%% libdata/pkgconfig/assimp.pc |