bhyve-fw: drop CSM
[oi-userland.git] / components / library / FreeImage / patches / PluginJPEG.cpp.patch
blob6a61e2226506f97017cf20f87576bddbaf7f954c
1 --- FreeImage/Source/FreeImage/PluginJPEG.cpp Sat Jul 28 19:22:24 2018
2 +++ FreeImage/Source/FreeImage/PluginJPEG_.cpp Tue May 24 01:12:54 2022
3 @@ -35,9 +35,9 @@
4 #undef FAR
5 #include <setjmp.h>
7 -#include "../LibJPEG/jinclude.h"
8 -#include "../LibJPEG/jpeglib.h"
9 -#include "../LibJPEG/jerror.h"
10 +#include "stdio.h"
11 +#include "jpeglib.h"
12 +#include "jerror.h"
15 #include "FreeImage.h"
16 @@ -502,7 +502,7 @@
17 NOTE: if the file contains invalid ICC APP2 markers, we just silently
18 return FALSE. You might want to issue an error message instead.
20 -static BOOL
21 +BOOL
22 jpeg_read_icc_profile(j_decompress_ptr cinfo, JOCTET **icc_data_ptr, unsigned *icc_data_len) {
23 jpeg_saved_marker_ptr marker;
24 int num_markers = 0;