From 86ef8dfe28e9fdf3e1b9c9a02febc58ac1b4d0c3 Mon Sep 17 00:00:00 2001 From: Aditya Alok Date: Fri, 27 Aug 2021 10:41:57 +0530 Subject: [PATCH] freeimage: define TEMP_DIRECTORY for libJPEG --- packages/freeimage/Makefile.gnu.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/freeimage/Makefile.gnu.patch b/packages/freeimage/Makefile.gnu.patch index b6f2aad2e..7b1662fdf 100644 --- a/packages/freeimage/Makefile.gnu.patch +++ b/packages/freeimage/Makefile.gnu.patch @@ -1,5 +1,5 @@ --- FreeImage/Makefile.gnu 2015-03-10 09:04:00.000000000 +0530 -+++ FreeImage-patch/Makefile.gnu 2021-08-27 01:32:16.043999979 +0530 ++++ FreeImage-patch/Makefile.gnu 2021-08-27 10:38:11.313999758 +0530 @@ -5,17 +5,20 @@ # General configuration variables: @@ -21,7 +21,7 @@ MODULES := $(MODULES:.cpp=.o) -CFLAGS ?= -O3 -fPIC -fexceptions -fvisibility=hidden +CFLAGS ?= -+CFLAGS += -O3 -fPIC -fexceptions -fvisibility=hidden ++CFLAGS += -O3 -fPIC -fexceptions -fvisibility=hidden -DTEMP_DIRECTORY=@TERMUX_PREFIX@/tmp # OpenJPEG CFLAGS += -DOPJ_STATIC # LibRaw