From 84597bf05147c176a535d6d20d0fed51f161074c Mon Sep 17 00:00:00 2001 From: fxfxfxfxfxfx <227935476@qq.com> Date: Fri, 21 May 2021 21:35:16 +0800 Subject: [PATCH] add bind now --- add-bind-now.patch | 12 ++++++++++++ xorg-x11-server.spec | 7 +++++-- 2 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 add-bind-now.patch diff --git a/add-bind-now.patch b/add-bind-now.patch new file mode 100644 index 0000000..1e54fdb --- /dev/null +++ b/add-bind-now.patch @@ -0,0 +1,12 @@ +diff -Nur xorg-server-1.20.10/Makefile.in xorg-server-1.20.10-new/Makefile.in +--- xorg-server-1.20.10/Makefile.in 2020-12-02 00:32:43.000000000 +0800 ++++ xorg-server-1.20.10-new/Makefile.in 2021-05-21 21:27:31.122286700 +0800 +@@ -269,7 +269,7 @@ + CCASDEPMODE = @CCASDEPMODE@ + CCASFLAGS = @CCASFLAGS@ + CCDEPMODE = @CCDEPMODE@ +-CFLAGS = @CFLAGS@ ++CFLAGS = @CFLAGS@-Wl,-z,now + CHANGELOG_CMD = @CHANGELOG_CMD@ + COMPILEDDEFAULTFONTPATH = @COMPILEDDEFAULTFONTPATH@ + CPP = @CPP@ diff --git a/xorg-x11-server.spec b/xorg-x11-server.spec index 14a4c8c..5d41a2d 100644 --- a/xorg-x11-server.spec +++ b/xorg-x11-server.spec @@ -16,7 +16,7 @@ Name: xorg-x11-server Version: 1.20.10 -Release: 1 +Release: 2 Summary: X.Org X11 X server License: MIT and GPLv2 URL: https://www.x.org @@ -78,7 +78,7 @@ Patch0026: 0022-xwayland-Call-xwl_window_check_resolution_change_emu.patch Patch0027: 0023-xwayland-Fix-setting-of-_XWAYLAND_RANDR_EMU_MONITOR_.patch Patch0028: 0024-xwayland-Remove-unnecessary-xwl_window_is_toplevel-c.patch Patch0029: xorg-s11-server-CVE-2018-20839.patch - +Patch0039: add-bind-now.patch BuildRequires: audit-libs-devel autoconf automake bison dbus-devel flex flex-devel git BuildRequires: systemtap-sdt-devel libtool pkgconfig BuildRequires: xorg-x11-font-utils libepoxy-devel systemd-devel @@ -320,6 +320,9 @@ find %{inst_srcdir}/hw/xfree86 -name \*.c -delete %{_libdir}/xorg/protocol.txt %changelog +* Fri May 21 2021 fengxiao <227935476@qq.com> - 1.20.10-2 +- Add-bind-now + * Sat Jan 30 2021 jinzhimin - 1.20.10-1 - Upgrade to 1.20.10 -- Gitee