summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2013-05-28 15:33:01 +0000
committerJulian Ospald <hasufell@gentoo.org>2013-05-28 15:33:01 +0000
commit86fa713e5e507de9d7bfcea3b6354b0793e90e7f (patch)
treeeeb4684df99666dd5903d384731f9919e60c9cd8 /media-libs/freeimage/files/freeimage-3.15.4-raw.patch
parentChange USE flag default to qemu since that's what most people are using libvi... (diff)
downloadhistorical-86fa713e5e507de9d7bfcea3b6354b0793e90e7f.tar.gz
historical-86fa713e5e507de9d7bfcea3b6354b0793e90e7f.tar.bz2
historical-86fa713e5e507de9d7bfcea3b6354b0793e90e7f.zip
fix building with raw useflag enabled wrt #458516
Package-Manager: portage-2.2.0_alpha177/cvs/Linux x86_64 Manifest-Sign-Key: 0xE73C35B3
Diffstat (limited to 'media-libs/freeimage/files/freeimage-3.15.4-raw.patch')
-rw-r--r--media-libs/freeimage/files/freeimage-3.15.4-raw.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/media-libs/freeimage/files/freeimage-3.15.4-raw.patch b/media-libs/freeimage/files/freeimage-3.15.4-raw.patch
new file mode 100644
index 000000000000..44f566627e2f
--- /dev/null
+++ b/media-libs/freeimage/files/freeimage-3.15.4-raw.patch
@@ -0,0 +1,16 @@
+https://bugs.gentoo.org/show_bug.cgi?id=458516
+
+--- FreeImage/Source/FreeImage.h
++++ FreeImage/Source/FreeImage.h
+@@ -141,8 +141,10 @@
+ typedef uint16_t WORD;
+ typedef uint32_t DWORD;
+ typedef int32_t LONG;
++#ifndef _LIBRAW_TYPES_H
+ typedef int64_t INT64;
+ typedef uint64_t UINT64;
++#endif
+ #else
+ // MS is not C99 ISO compliant
+ typedef long BOOL;
+