diff mbox series

[02/11] libxt: update 1.3.0 -> 1.3.1

Message ID 20250103104524.4053846-2-alex.kanavin@gmail.com
State Accepted, archived
Commit 0a5eb0b01048341a430c3ba49aa4bd7983ace444
Headers show
Series [01/11] gettext: update 0.22.5 -> 0.23.1 | expand

Commit Message

Alexander Kanavin Jan. 3, 2025, 10:45 a.m. UTC
From: Alexander Kanavin <alex@linutronix.de>

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
---
 .../xorg-lib/libxt/libxt_fix_for_x32.patch          | 13 ++++++-------
 .../xorg-lib/{libxt_1.3.0.bb => libxt_1.3.1.bb}     |  2 +-
 2 files changed, 7 insertions(+), 8 deletions(-)
 rename meta/recipes-graphics/xorg-lib/{libxt_1.3.0.bb => libxt_1.3.1.bb} (92%)
diff mbox series

Patch

diff --git a/meta/recipes-graphics/xorg-lib/libxt/libxt_fix_for_x32.patch b/meta/recipes-graphics/xorg-lib/libxt/libxt_fix_for_x32.patch
index ff8c675dbdb..79ae929d08f 100644
--- a/meta/recipes-graphics/xorg-lib/libxt/libxt_fix_for_x32.patch
+++ b/meta/recipes-graphics/xorg-lib/libxt/libxt_fix_for_x32.patch
@@ -1,4 +1,4 @@ 
-From f069b0a430fe96f3ece2106d34375008833599d3 Mon Sep 17 00:00:00 2001
+From c2916117aa09b7110ab1883e4295330ca7675e88 Mon Sep 17 00:00:00 2001
 From: Nitin A Kamble <nitin.a.kamble@intel.com>
 Date: Fri, 2 Dec 2011 12:20:05 -0800
 Subject: [PATCH] libxt: fix compilatoin with x32 toolchain
@@ -9,21 +9,20 @@  This fixes compilation with x32 toolchain.
 
 Received this patch from H.J. Lu <hjl.tools@gmail.com>
 Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> 2011/12/1
-
 ---
  include/X11/Xtos.h | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/include/X11/Xtos.h b/include/X11/Xtos.h
-index 64b2da8..44f52c2 100644
+index 599dbe2..1686063 100644
 --- a/include/X11/Xtos.h
 +++ b/include/X11/Xtos.h
-@@ -59,7 +59,7 @@ SOFTWARE.
+@@ -63,7 +63,7 @@ SOFTWARE.
      defined(__sparc64__) || \
      defined(__s390x__) || \
      (defined(__hppa__) && defined(__LP64__)) || \
 -    defined(__amd64__) || defined(amd64) || \
-+    ((defined(__amd64__) || defined(amd64)) && defined(__LP64__)) || \
-     defined(__powerpc64__) || \
-     (defined(sgi) && (_MIPS_SZLONG == 64))
++    defined(__amd64__) || defined(amd64) && defined(__LP64__)) || \
+     defined(__powerpc64__))
  #define LONG64
+ #endif
diff --git a/meta/recipes-graphics/xorg-lib/libxt_1.3.0.bb b/meta/recipes-graphics/xorg-lib/libxt_1.3.1.bb
similarity index 92%
rename from meta/recipes-graphics/xorg-lib/libxt_1.3.0.bb
rename to meta/recipes-graphics/xorg-lib/libxt_1.3.1.bb
index 1805dae7722..97323ad282c 100644
--- a/meta/recipes-graphics/xorg-lib/libxt_1.3.0.bb
+++ b/meta/recipes-graphics/xorg-lib/libxt_1.3.1.bb
@@ -25,7 +25,7 @@  XORG_EXT = "tar.xz"
 
 SRC_URI += "file://libxt_fix_for_x32.patch"
 
-SRC_URI[sha256sum] = "52820b3cdb827d08dc90bdfd1b0022a3ad8919b57a39808b12591973b331bf91"
+SRC_URI[sha256sum] = "e0a774b33324f4d4c05b199ea45050f87206586d81655f8bef4dba434d931288"
 
 BBCLASSEXTEND = "native nativesdk"