cruxports/imv/freeimagelite.patch
2023-02-10 20:48:16 -05:00

25 lines
796 B
Diff

diff -ur a/meson.build b/meson.build
--- a/meson.build 2021-12-14 04:56:12.000000000 -0500
+++ b/meson.build 2022-01-24 14:39:53.417479068 -0500
@@ -109,7 +109,7 @@
enabled_backends = []
foreach backend : [
- ['freeimage', 'library', 'freeimage'],
+ ['freeimage', 'library', 'FreeImageLite'],
['libtiff', 'dependency', 'libtiff-4', []],
['libpng', 'dependency', 'libpng', []],
['libjpeg', 'dependency', 'libturbojpeg', []],
diff -ur a/src/backend_freeimage.c b/src/backend_freeimage.c
--- a/src/backend_freeimage.c 2021-12-14 04:56:12.000000000 -0500
+++ b/src/backend_freeimage.c 2022-01-24 14:42:25.054150289 -0500
@@ -5,7 +5,7 @@
#include "source.h"
#include "source_private.h"
-#include <FreeImage.h>
+#include <FreeImageLite.h>
#include <stdlib.h>
#include <string.h>