diff --git a/config/rootfiles/common/perl-Imager b/config/rootfiles/common/perl-Imager
index 6886d46ad..5674f7b52 100644
--- a/config/rootfiles/common/perl-Imager
+++ b/config/rootfiles/common/perl-Imager
@@ -54,6 +54,7 @@ usr/lib/perl5/site_perl/5.36.0/xxxMACHINExxx-linux-thread-multi/Imager/Test.pm
 usr/lib/perl5/site_perl/5.36.0/xxxMACHINExxx-linux-thread-multi/Imager/Threads.pod
 usr/lib/perl5/site_perl/5.36.0/xxxMACHINExxx-linux-thread-multi/Imager/Transform.pm
 usr/lib/perl5/site_perl/5.36.0/xxxMACHINExxx-linux-thread-multi/Imager/Transformations.pod
+usr/lib/perl5/site_perl/5.36.0/xxxMACHINExxx-linux-thread-multi/Imager/TrimColorList.pm
 usr/lib/perl5/site_perl/5.36.0/xxxMACHINExxx-linux-thread-multi/Imager/Tutorial.pod
 #usr/lib/perl5/site_perl/5.36.0/xxxMACHINExxx-linux-thread-multi/Imager/include
 #usr/lib/perl5/site_perl/5.36.0/xxxMACHINExxx-linux-thread-multi/Imager/include/draw.h
@@ -160,6 +161,7 @@ usr/lib/perl5/site_perl/5.36.0/xxxMACHINExxx-linux-thread-multi/auto/Imager/Imag
 #usr/share/man/man3/Imager::Threads.3
 #usr/share/man/man3/Imager::Transform.3
 #usr/share/man/man3/Imager::Transformations.3
+#usr/share/man/man3/Imager::TrimColorList.3
 #usr/share/man/man3/Imager::Tutorial.3
 #usr/share/man/man3/Imager::interface.3
 #usr/share/man/man3/Imager::regmach.3
diff --git a/lfs/perl-Imager b/lfs/perl-Imager
index e7301b92b..445e18c0b 100644
--- a/lfs/perl-Imager
+++ b/lfs/perl-Imager
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2022  IPFire Team  <info@ipfire.org>                          #
+# Copyright (C) 2022-2024  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -24,7 +24,7 @@
 
 include Config
 
-VER        = 1.012
+VER        = 1.024
 
 THISAPP    = Imager-$(VER)
 DL_FILE    = $(THISAPP).tar.gz
@@ -40,7 +40,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_BLAKE2 = 32dad83e9cfd66a162380b502ab49b343dae8c87eca8e6c0537d260956bf466e200511a7b4f89eed9b0bc1f20447584c7c4aabffaad77f0824ee9d5126848c39
+$(DL_FILE)_BLAKE2 = 3bbb7bc5a0537ca8095141e5aeca4dc27cc5f5bf94278a9538cef24a6013e16c5ff273035e589be113070db72afc2b19194d2bd2ce17937758e1748dd51ff56d
 
 install : $(TARGET)
 
@@ -74,6 +74,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 	@$(PREBUILD)
 	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
 	cd $(DIR_APP) && yes 'n' | perl Makefile.PL
+	cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/perl-Imager-1.024-include-t1tables.h-for-FT_Has_PS_Glyph_Names.patch
 	cd $(DIR_APP) && make $(MAKETUNING) $(EXTRA_MAKE)
 	cd $(DIR_APP) && make install
 	@rm -rf $(DIR_APP)
diff --git a/src/patches/perl-Imager-1.024-include-t1tables.h-for-FT_Has_PS_Glyph_Names.patch b/src/patches/perl-Imager-1.024-include-t1tables.h-for-FT_Has_PS_Glyph_Names.patch
new file mode 100644
index 000000000..5afcfa68a
--- /dev/null
+++ b/src/patches/perl-Imager-1.024-include-t1tables.h-for-FT_Has_PS_Glyph_Names.patch
@@ -0,0 +1,32 @@
+From 771ef328dcc4adc169b11334a3a9d940db82d250 Mon Sep 17 00:00:00 2001
+From: Niko Tyni <ntyni@debian.org>
+Date: Sun, 15 Sep 2024 09:03:46 +0100
+Subject: [PATCH] include t1tables.h for FT_Has_PS_Glyph_Names
+
+This is no longer pulled in by ftmm.h since FreeType 2.13.3
+
+Bug-Debian: https://bugs.debian.org/1081821
+Forwarded: https://github.com/tonycoz/imager/pull/533
+Bug: https://github.com/tonycoz/imager/pull/533
+Applied-Upstream: https://github.com/tonycoz/imager/commit/150c84cc0252de9bfe9ea14715e90c052937bf6c
+
+---
+ FT2/freetyp2.c | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/FT2/freetyp2.c b/FT2/freetyp2.c
+index 87d5e571..92011f38 100644
+--- a/FT2/freetyp2.c
++++ b/FT2/freetyp2.c
+@@ -47,6 +47,9 @@ Truetype, Type1 and Windows FNT.
+ #include FT_MULTIPLE_MASTERS_H
+ #endif
+ #endif
++#ifdef FT_TYPE1_TABLES_H
++#include FT_TYPE1_TABLES_H
++#endif
+ 
+ static void ft2_push_message(int code);
+ 
+-- 
+2.45.2
