vcpkg/ports/freeimage/use-external-jpeg.patch
Silvio 5bd036cf5a Add freeimage port
Extensive modification have been done to support building with
external dependencies. The biggest change is a new CMake-based
build system.

Several patches are based on the equivalent ones used in Debian
packaging, see http://sources.debian.net/patches/freeimage .

The only dependency for which the internal version is still used is
OpenEXR.
2016-11-28 22:33:18 +01:00

18 lines
442 B
Diff

diff --git a/Source/FreeImage/PluginJPEG.cpp b/Source/FreeImage/PluginJPEG.cpp
index 573989c..aaeefa4 100644
--- a/Source/FreeImage/PluginJPEG.cpp
+++ b/Source/FreeImage/PluginJPEG.cpp
@@ -35,9 +35,9 @@ extern "C" {
#undef FAR
#include <setjmp.h>
-#include "../LibJPEG/jinclude.h"
-#include "../LibJPEG/jpeglib.h"
-#include "../LibJPEG/jerror.h"
+#include <stdio.h>
+#include <jpeglib.h>
+#include <jerror.h>
}
#include "FreeImage.h"