diff options
author | xantares | 2015-06-08 21:35:11 +0200 |
---|---|---|
committer | xantares | 2015-06-08 21:35:11 +0200 |
commit | 98d2fe845d8f1dd20a6a50ad277a7d629f5f557f (patch) | |
tree | a417ebf15d90d541ac81b5b9a44fd0feba1f4090 /openexr-2.1.0_aligned-malloc.patch | |
download | aur-98d2fe845d8f1dd20a6a50ad277a7d629f5f557f.tar.gz |
Initial import
Diffstat (limited to 'openexr-2.1.0_aligned-malloc.patch')
-rw-r--r-- | openexr-2.1.0_aligned-malloc.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/openexr-2.1.0_aligned-malloc.patch b/openexr-2.1.0_aligned-malloc.patch new file mode 100644 index 000000000000..6dd66f6d5ad7 --- /dev/null +++ b/openexr-2.1.0_aligned-malloc.patch @@ -0,0 +1,13 @@ +diff -rupN openexr-2.1.0/IlmImf/ImfSystemSpecific.h openexr-2.1.0-new/IlmImf/ImfSystemSpecific.h +--- openexr-2.1.0/IlmImf/ImfSystemSpecific.h 2013-10-21 21:02:22.000000000 +0200 ++++ openexr-2.1.0-new/IlmImf/ImfSystemSpecific.h 2013-12-27 01:57:30.936052388 +0100 +@@ -60,8 +60,7 @@ static bool GLOBAL_SYSTEM_LITTLE_ENDIAN + + static void* EXRAllocAligned(size_t size, size_t alignment) + { +- void* ptr = 0; +- posix_memalign(&ptr, alignment, size); ++ void* ptr = _aligned_malloc(alignment, size); + return ptr; + } + |