cruxports/imv/freeimagelite.patch
2022-02-05 15:39:19 -05:00

25 lines
872 B
Diff

diff -ur imv-v4.3.1/meson.build imv-v4.3.1m/meson.build
--- imv-v4.3.1/meson.build 2021-12-14 04:56:12.000000000 -0500
+++ imv-v4.3.1m/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 imv-v4.3.1/src/backend_freeimage.c imv-v4.3.1m/src/backend_freeimage.c
--- imv-v4.3.1/src/backend_freeimage.c 2021-12-14 04:56:12.000000000 -0500
+++ imv-v4.3.1m/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>