diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2018-02-07 23:16:49 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2018-02-07 23:33:18 +0100 |
commit | 0ea565c59a608e42a1a8653b95e4dd8ff51e6796 (patch) | |
tree | eda1d48ac4863af7f5faae0b11ed468609e2ea6e /media-gfx/swftools/files/swftools-0.9.2-jpeg-9.patch | |
parent | dev-libs/libpipeline: stable 1.4.2 for ia64, bug #644846 (diff) | |
download | gentoo-0ea565c59a608e42a1a8653b95e4dd8ff51e6796.tar.gz gentoo-0ea565c59a608e42a1a8653b95e4dd8ff51e6796.tar.bz2 gentoo-0ea565c59a608e42a1a8653b95e4dd8ff51e6796.zip |
media-gfx/swftools: Fix build with jpeg-9
Closes: https://bugs.gentoo.org/520934
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'media-gfx/swftools/files/swftools-0.9.2-jpeg-9.patch')
-rw-r--r-- | media-gfx/swftools/files/swftools-0.9.2-jpeg-9.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/media-gfx/swftools/files/swftools-0.9.2-jpeg-9.patch b/media-gfx/swftools/files/swftools-0.9.2-jpeg-9.patch new file mode 100644 index 000000000000..7f809ea99836 --- /dev/null +++ b/media-gfx/swftools/files/swftools-0.9.2-jpeg-9.patch @@ -0,0 +1,17 @@ +Patch kindly borrowed from macports.org. + +--- a/lib/jpeg.c 2011-10-14 15:46:10.000000000 -0500 ++++ b/lib/jpeg.c 2014-08-06 20:15:51.000000000 -0500 +@@ -5,6 +5,12 @@ + #include "../config.h" + + #ifdef HAVE_JPEGLIB ++#ifndef FALSE ++#define FALSE 0 ++#endif ++#ifndef TRUE ++#define TRUE 1 ++#endif + #define HAVE_BOOLEAN + #include <jpeglib.h> + |