diff --git a/meta-oe/recipes-graphics/xorg-app/xterm/0001-include-missing-pty.h-header-for-openpty.patch b/meta-oe/recipes-graphics/xorg-app/xterm/0001-include-missing-pty.h-header-for-openpty.patch
index 0c9d64c82c..6fac6328d9 100644
--- a/meta-oe/recipes-graphics/xorg-app/xterm/0001-include-missing-pty.h-header-for-openpty.patch
+++ b/meta-oe/recipes-graphics/xorg-app/xterm/0001-include-missing-pty.h-header-for-openpty.patch
@@ -1,4 +1,4 @@
-From e30ab2d73a21bc55511cbedbb9ae603246dbfcd1 Mon Sep 17 00:00:00 2001
+From 5e34d71052f1ea63363fe7937859dfa8d46dfb4c Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Thu, 16 May 2024 23:10:00 -0700
 Subject: [PATCH] include missing pty.h header for openpty()
@@ -18,9 +18,11 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  main.c | 1 +
  1 file changed, 1 insertion(+)
 
+diff --git a/main.c b/main.c
+index f9d0d14..dac48d7 100644
 --- a/main.c
 +++ b/main.c
-@@ -89,6 +89,7 @@
+@@ -68,6 +68,7 @@
  
  #define RES_OFFSET(field)	XtOffsetOf(XTERM_RESOURCE, field)
  
diff --git a/meta-oe/recipes-graphics/xorg-app/xterm_411.bb b/meta-oe/recipes-graphics/xorg-app/xterm_412.bb
similarity index 95%
rename from meta-oe/recipes-graphics/xorg-app/xterm_411.bb
rename to meta-oe/recipes-graphics/xorg-app/xterm_412.bb
index 5398bfbe05..c0e4e8c95d 100644
--- a/meta-oe/recipes-graphics/xorg-app/xterm_411.bb
+++ b/meta-oe/recipes-graphics/xorg-app/xterm_412.bb
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://xterm.h;beginline=3;endline=31;md5=413ff95100710d7a81
 SRC_URI = "http://invisible-mirror.net/archives/${BPN}/${BP}.tgz \
            file://0001-include-missing-pty.h-header-for-openpty.patch \
           "
-SRC_URI[sha256sum] = "969be283670deadd66934865c4de6c5ab045e3a3facc2b228decf91a20d8c36c"
+SRC_URI[sha256sum] = "b48bc780c1cbc14f6d89269f7e593712af6095876960d650be28b55e5dad65a6"
 
 PACKAGECONFIG ?= ""
 PACKAGECONFIG[xft] = "--enable-freetype,--disable-freetype,libxft fontconfig freetype-native"
