This commit is contained in:
root 2023-10-07 13:25:11 +08:00
parent f66153442d
commit 447ddf2b1c
4 changed files with 27 additions and 1 deletions

21
libX11-1.7.2-sw_64.patch Normal file
View File

@ -0,0 +1,21 @@
diff -Naru libX11-1.7.2/src/xcb_io.c libX11-1.7.2-sw/src/xcb_io.c
--- libX11-1.7.2/src/xcb_io.c 2021-06-06 16:48:53.000000000 +0000
+++ libX11-1.7.2-sw/src/xcb_io.c 2022-09-01 03:24:00.479452203 +0000
@@ -542,7 +542,7 @@
static const xReq dummy_request;
static char const pad[3];
struct iovec vec[3];
- uint64_t requests;
+ unsigned long requests;
uint64_t dpy_request;
_XExtension *ext;
xcb_connection_t *c = dpy->xcb->connection;
@@ -563,7 +563,7 @@
if(dpy->xcb->event_owner != XlibOwnsEventQueue || dpy->async_handlers)
{
uint64_t sequence;
- for(sequence = dpy->xcb->last_flushed + 1; sequence <= dpy_request; ++sequence)
+ for(sequence = dpy->xcb->last_flushed + 1; (unsigned long)sequence <= dpy_request; ++sequence)
append_pending_request(dpy, sequence);
}
requests = dpy_request - dpy->xcb->last_flushed;

Binary file not shown.

BIN
libX11-1.8.7.tar.xz Normal file

Binary file not shown.

View File

@ -1,5 +1,5 @@
Name: libX11
Version: 1.8.6
Version: 1.8.7
Release: 1
Summary: Core X11 protocol client library
License: MIT
@ -7,6 +7,7 @@ URL: http://www.x.org
Source0: https://xorg.freedesktop.org/archive/individual/lib/%{name}-%{version}.tar.xz
Patch1: dont-forward-keycode-0.patch
Patch2: libX11-1.7.2-sw_64.patch
BuildRequires: xorg-x11-util-macros >= 1.11 xorg-x11-proto-devel perl-Pod-Usage libXau-devel
BuildRequires: libxcb-devel >= 1.2 libXdmcp-devel xorg-x11-xtrans-devel >= 1.0.3-4 make
@ -76,6 +77,10 @@ make %{?_smp_mflags} check
%{_mandir}/*/*
%changelog
* Wed Oct 04 2023 Funda Wang <fundawang@yeah.net> - 1.8.7-1
- update to 1.8.7
- merge sw64 patch
* Sat Jul 22 2023 zhouwenpei <zhouwenpei1@h-partners.com> - 1.8.6-1
- update to 1.8.6