mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
Added a patch for jpeg on which Haiku relies on since r23560.
This commit is contained in:
24
media-libs/jpeg/patches/jpeg-8d.patch
Normal file
24
media-libs/jpeg/patches/jpeg-8d.patch
Normal file
@@ -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 <setjmp.h>
|
||||||
|
+#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
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user