mirror of
https://github.com/yann64/haikuports.git
synced 2026-03-19 01:46:00 +01:00
xtrans, bump version (#8738)
This commit is contained in:
@@ -1,20 +1,15 @@
|
||||
From bd1da7692120fbfb13a2295abeb9b20d69291296 Mon Sep 17 00:00:00 2001
|
||||
From 13f5312ea9bf9611c2d46ac310c46edc88d5ff22 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= <revol@free.fr>
|
||||
Date: Sun, 17 Jan 2016 15:50:52 +0100
|
||||
Subject: [PATCH] Xtranssock.c: Haiku has BSD UNIX socket but not SUN_LEN
|
||||
|
||||
(yet?)
|
||||
Subject: Xtranssock.c: Haiku has BSD UNIX socket but not SUN_LEN (yet?)
|
||||
|
||||
The test seems quite incorrect and results in SUN_LEN as an undefined symbol on Haiku.
|
||||
---
|
||||
Xtranssock.c | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/Xtranssock.c b/Xtranssock.c
|
||||
index d830e7c..f7c1637 100644
|
||||
index b06579c..61cb106 100644
|
||||
--- a/Xtranssock.c
|
||||
+++ b/Xtranssock.c
|
||||
@@ -1129,7 +1129,7 @@ TRANS(SocketUNIXCreateListener) (XtransConnInfo ciptr, const char *port,
|
||||
@@ -994,7 +994,7 @@ TRANS(SocketUNIXCreateListener) (XtransConnInfo ciptr, const char *port,
|
||||
sockname.sun_len = strlen(sockname.sun_path);
|
||||
#endif
|
||||
|
||||
@@ -23,7 +18,7 @@ index d830e7c..f7c1637 100644
|
||||
namelen = SUN_LEN(&sockname);
|
||||
#else
|
||||
namelen = strlen(sockname.sun_path) + offsetof(struct sockaddr_un, sun_path);
|
||||
@@ -2003,7 +2003,7 @@ TRANS(SocketUNIXConnect) (XtransConnInfo ciptr,
|
||||
@@ -1868,7 +1868,7 @@ TRANS(SocketUNIXConnect) (XtransConnInfo ciptr,
|
||||
sockname.sun_len = strlen (sockname.sun_path);
|
||||
#endif
|
||||
|
||||
@@ -33,5 +28,5 @@ index d830e7c..f7c1637 100644
|
||||
#else
|
||||
namelen = strlen (sockname.sun_path) + offsetof(struct sockaddr_un, sun_path);
|
||||
--
|
||||
2.7.0
|
||||
2.37.3
|
||||
|
||||
@@ -10,9 +10,9 @@ COPYRIGHT="1993, 1994, 1998 The Open Group
|
||||
1996 Sebastien Marineau, Holger Veit
|
||||
2003 Keith Packard, Noah Levitt"
|
||||
LICENSE="MIT (no promotion)"
|
||||
REVISION="4"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://www.x.org/releases/individual/lib/xtrans-$portVersion.tar.bz2"
|
||||
CHECKSUM_SHA256="adbd3b36932ce4c062cd10f57d78a156ba98d618bdb6f50664da327502bc8301"
|
||||
CHECKSUM_SHA256="377c4491593c417946efcd2c7600d1e62639f7a8bbca391887e2c4679807d773"
|
||||
PATCHES="xtrans-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="any"
|
||||
Reference in New Issue
Block a user