svn commit: r446429 - head/multimedia/assimp/files
Jan Beich
jbeich at FreeBSD.org
Sat Jul 22 19:33:41 UTC 2017
Author: jbeich
Date: Sat Jul 22 19:33:39 2017
New Revision: 446429
URL: https://svnweb.freebsd.org/changeset/ports/446429
Log:
multimedia/assimp: add patches for 4.0.0 forgotten in r446390
PR: 220889
Reported by: vvd at unislabs.com
Pointy hat to: jbeich
Submitted by: Yuri Victorovich <yuri at rawbw.com> (maintainer)
Added:
head/multimedia/assimp/files/
head/multimedia/assimp/files/patch-code_D3MFOpcPackage.cpp (contents, props changed)
head/multimedia/assimp/files/patch-code_MMDPmdParser.h (contents, props changed)
Added: head/multimedia/assimp/files/patch-code_D3MFOpcPackage.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/multimedia/assimp/files/patch-code_D3MFOpcPackage.cpp Sat Jul 22 19:33:39 2017 (r446429)
@@ -0,0 +1,11 @@
+--- code/D3MFOpcPackage.cpp.orig 2017-07-18 17:03:26 UTC
++++ code/D3MFOpcPackage.cpp
+@@ -55,6 +55,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY O
+ #include <algorithm>
+ #include <cassert>
+
++#include <stdlib.h>
++
+ #include <contrib/unzip/unzip.h>
+
+ namespace Assimp {
Added: head/multimedia/assimp/files/patch-code_MMDPmdParser.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/multimedia/assimp/files/patch-code_MMDPmdParser.h Sat Jul 22 19:33:39 2017 (r446429)
@@ -0,0 +1,11 @@
+--- 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);
+ }
More information about the svn-ports-all
mailing list