mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2025-03-01 20:51:22 +00:00
xtrans: update to 1.5.2
This commit is contained in:
packages/x11/lib/xtrans
@ -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
|
||||
|
Reference in New Issue
Block a user