abecd6376d
OpenEXR v2.3.0 has been released and is available for download. Features/Improvements: ThreadPool overhead improvements, enable custom thread pool to be registered via ThreadPoolProvider class Fixes to enable custom namespaces for Iex, Imf Improve read performance for deep/zipped data, and SIMD-accelerated uncompress support Added rawPixelDataToBuffer() function for access to compressed scanlines Iex::BaseExc no longer derived from std::string. Imath throw() specifiers removed Initial Support for Python 3 Bugs: 25+ various bug fixes (see detailed Release Notes for the full list) Build Fixes: Various fixes to the cmake and autoconf build infrastructures Various changes to support compiling for C++11 / C++14 / C++17 and GCC 6.3.1 Various fixes to address Windows build issues 60+ total build-related fixes (see detailed Release Notes for the full list)
15 lines
581 B
C
15 lines
581 B
C
$NetBSD: patch-IlmImf_ImfSystemSpecific.h,v 1.2 2018/10/02 12:05:35 adam Exp $
|
|
|
|
Work around lack of posix_memalign() on (some?) Solaris, from PR 47867.
|
|
|
|
--- IlmImf/ImfSystemSpecific.h.orig 2018-08-10 01:34:58.000000000 +0000
|
|
+++ IlmImf/ImfSystemSpecific.h
|
|
@@ -65,6 +65,8 @@ static void* EXRAllocAligned(size_t size
|
|
// GNUC is used for things like mingw to (cross-)compile for windows
|
|
#ifdef _WIN32
|
|
return _aligned_malloc(size, alignment);
|
|
+#elif defined(_sun)
|
|
+ return memalign(alignment, size);
|
|
#else
|
|
void* ptr = 0;
|
|
posix_memalign(&ptr, alignment, size);
|