ports/multimedia/assimp/files/patch-git_096056
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

21 lines
635 B
Text

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 {