diff --git a/FreeImage-3.10.0-syslibs.patch b/FreeImage-3.10.0-syslibs.patch index d10ebbd..bbeeef7 100644 --- a/FreeImage-3.10.0-syslibs.patch +++ b/FreeImage-3.10.0-syslibs.patch @@ -28,8 +28,8 @@ -COMPILERFLAGS = -O3 -fPIC -fexceptions -fvisibility=hidden -LIBRARIES = -lstdc++ -+COMPILERFLAGS = -O3 -fPIC -fexceptions -fvisibility=hidden -I/usr/include/OpenEXR -+LIBRARIES = -lstdc++ -lz -lmng -lpng -ltiff -ljpeg -lopenjpeg `pkg-config --libs OpenEXR` ++COMPILERFLAGS = -O3 -fPIC -fexceptions -fvisibility=hidden `pkgconfig --cflags libopenjpeg` -I/usr/include/OpenEXR ++LIBRARIES = -lstdc++ -lz -lmng -lpng -ltiff -ljpeg `pkg-config --libs libopenjpeg` `pkg-config --libs OpenEXR` MODULES = $(SRCS:.c=.o) MODULES := $(MODULES:.cpp=.o) @@ -40,7 +40,7 @@ #include "FreeImage.h" #include "Utilities.h" -#include "../LibOpenJPEG/openjpeg.h" -+#include ++#include /** Divide an integer by a power of 2 and round upwards @@ -104,7 +104,7 @@ #include "FreeImage.h" #include "Utilities.h" -#include "../LibOpenJPEG/openjpeg.h" -+#include ++#include // ========================================================== // Plugin Interface @@ -115,7 +115,7 @@ #include "FreeImage.h" #include "Utilities.h" -#include "../LibOpenJPEG/openjpeg.h" -+#include ++#include // ========================================================== // Plugin Interface