ports/multimedia/assimp/files/patch-code_D3MFOpcPackage.cpp
Yuri Victorovich 344ccf6363 multimedia/assimp: Update to 4.1.0
Change log:
https://github.com/assimp/assimp/releases/tag/v4.1.0

Additional port changes:
* Removed CMAKE_SKIP_RPATH, the default behavior should suffice
* Changed to CMAKE_OFF
* Removed the unnecessary .if/gcc clause
* Improved PLIST_SUB tokens
* Added the patch for #include that is already in the upstream
  repository now

Also tried to add the double-precision option, but it fails in build,
so I reported this to the upsream.

Bumped PORTREVISION: games/pioneer games/doomsday graphics/qt5-3d

Submitted by:	myself
Reported by:	portscout
Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D14253
2018-02-08 22:09:15 +00:00

10 lines
284 B
C++

--- code/D3MFOpcPackage.cpp.orig 2017-12-11 13:22:45 UTC
+++ code/D3MFOpcPackage.cpp
@@ -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"