0
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2025-03-01 12:41:21 +00:00

xtrans: update to 1.5.2

This commit is contained in:
Rudi Heitbaum
2024-11-09 23:35:21 +00:00
parent 362b428a32
commit ed8cb3f5a4
2 changed files with 2 additions and 33 deletions

@ -3,8 +3,8 @@
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="xtrans"
PKG_VERSION="1.5.1"
PKG_SHA256="dea80fbd8c3c941495b4b1d2785cb652815d016849a0d2ef90d1140de916993e"
PKG_VERSION="1.5.2"
PKG_SHA256="5c5cbfe34764a9131d048f03c31c19e57fb4c682d67713eab6a65541b4dff86c"
PKG_LICENSE="OSS"
PKG_SITE="https://www.X.org"
PKG_URL="https://xorg.freedesktop.org/archive/individual/lib/${PKG_NAME}-${PKG_VERSION}.tar.xz"

@ -1,31 +0,0 @@
From c4207a952484ae1e128da75c87d0a7defba8cdb4 Mon Sep 17 00:00:00 2001
From: Alan Coopersmith <alan.coopersmith@oracle.com>
Date: Tue, 22 Oct 2024 14:44:46 -0700
Subject: [PATCH] is_numeric: Add !defined(IPv6) to checks
Fixes builds without IPv6 support, since old IPv4 code uses is_numeric()
Closes: #6
Fixes: 0f15306 ("is_numeric: Add TRANS_SERVER to required ifdefs")
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
---
Xtranssock.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Xtranssock.c b/Xtranssock.c
index c9823bd..a313b46 100644
--- a/Xtranssock.c
+++ b/Xtranssock.c
@@ -196,7 +196,8 @@ static Sockettrans2dev Sockettrans2devtab[] = {
static int TRANS(SocketINETClose) (XtransConnInfo ciptr);
#endif
-#if (defined(TCPCONN) && defined(TRANS_SERVER)) || defined(TRANS_REOPEN)
+#if (defined(TCPCONN) && defined(TRANS_SERVER)) || defined(TRANS_REOPEN) || \
+ !defined(IPv6)
static int
is_numeric (const char *str)
{
--
GitLab