From 58f786a26d14a71877c1631f4596819107933343 Mon Sep 17 00:00:00 2001 From: korli Date: Mon, 27 Aug 2012 07:23:47 +0000 Subject: [PATCH] Added a patch for jpeg on which Haiku relies on since r23560. --- media-libs/jpeg/patches/jpeg-8d.patch | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 media-libs/jpeg/patches/jpeg-8d.patch diff --git a/media-libs/jpeg/patches/jpeg-8d.patch b/media-libs/jpeg/patches/jpeg-8d.patch new file mode 100644 index 000000000..a7080547d --- /dev/null +++ b/media-libs/jpeg/patches/jpeg-8d.patch @@ -0,0 +1,24 @@ +diff -ru jpeg-8d/jpeglib.h jpeg-8d/jpeglib.h +--- jpeg-8d/jpeglib.h 2012-08-23 22:37:22.000000000 +0200 ++++ jpeg-8d/jpeglib.h 2012-01-04 23:58:28.723311670 +0100 +@@ -26,6 +26,9 @@ + #endif + #include "jmorecfg.h" /* seldom changed options */ + ++#ifdef __HAIKU__ ++#include ++#endif + + #ifdef __cplusplus + #ifndef DONT_USE_EXTERN_C +@@ -732,6 +733,10 @@ + const char * const * addon_message_table; /* Non-library errors */ + int first_addon_message; /* code for first string in addon table */ + int last_addon_message; /* code for last string in addon table */ ++ ++#ifdef __HAIKU__ ++ jmp_buf long_jump_buffer; ++#endif + }; + +