slackware-current/source/x/x11/patch/xorg-server.patch
Patrick J Volkerding 8db980621c Wed Jul 13 19:56:59 UTC 2022
a/inih-56-x86_64-1.txz:  Upgraded.
a/kernel-firmware-20220710_dfa2931-noarch-1.txz:  Upgraded.
a/kernel-generic-5.18.11-x86_64-1.txz:  Upgraded.
a/kernel-huge-5.18.11-x86_64-1.txz:  Upgraded.
a/kernel-modules-5.18.11-x86_64-1.txz:  Upgraded.
ap/mpg123-1.30.1-x86_64-1.txz:  Upgraded.
d/git-2.37.1-x86_64-1.txz:  Upgraded.
d/kernel-headers-5.18.11-x86-1.txz:  Upgraded.
d/mercurial-6.2-x86_64-1.txz:  Upgraded.
k/kernel-source-5.18.11-noarch-1.txz:  Upgraded.
kde/bluedevil-5.25.3-x86_64-1.txz:  Upgraded.
kde/breeze-5.25.3-x86_64-1.txz:  Upgraded.
kde/breeze-grub-5.25.3-x86_64-1.txz:  Upgraded.
kde/breeze-gtk-5.25.3-x86_64-1.txz:  Upgraded.
kde/drkonqi-5.25.3-x86_64-1.txz:  Upgraded.
kde/kactivitymanagerd-5.25.3-x86_64-1.txz:  Upgraded.
kde/kde-cli-tools-5.25.3-x86_64-1.txz:  Upgraded.
kde/kde-gtk-config-5.25.3-x86_64-1.txz:  Upgraded.
kde/kdecoration-5.25.3-x86_64-1.txz:  Upgraded.
kde/kdeplasma-addons-5.25.3-x86_64-1.txz:  Upgraded.
kde/kgamma5-5.25.3-x86_64-1.txz:  Upgraded.
kde/khotkeys-5.25.3-x86_64-1.txz:  Upgraded.
kde/kinfocenter-5.25.3-x86_64-1.txz:  Upgraded.
kde/kmenuedit-5.25.3-x86_64-1.txz:  Upgraded.
kde/kscreen-5.25.3-x86_64-1.txz:  Upgraded.
kde/kscreenlocker-5.25.3-x86_64-1.txz:  Upgraded.
kde/ksshaskpass-5.25.3-x86_64-1.txz:  Upgraded.
kde/ksystemstats-5.25.3-x86_64-1.txz:  Upgraded.
kde/kwallet-pam-5.25.3-x86_64-1.txz:  Upgraded.
kde/kwayland-integration-5.25.3-x86_64-1.txz:  Upgraded.
kde/kwin-5.25.3-x86_64-1.txz:  Upgraded.
kde/kwrited-5.25.3-x86_64-1.txz:  Upgraded.
kde/layer-shell-qt-5.25.3-x86_64-1.txz:  Upgraded.
kde/libkscreen-5.25.3-x86_64-1.txz:  Upgraded.
kde/libksysguard-5.25.3-x86_64-1.txz:  Upgraded.
kde/milou-5.25.3-x86_64-1.txz:  Upgraded.
kde/oxygen-5.25.3-x86_64-1.txz:  Upgraded.
kde/oxygen-sounds-5.25.3-x86_64-1.txz:  Upgraded.
kde/plasma-browser-integration-5.25.3-x86_64-1.txz:  Upgraded.
kde/plasma-desktop-5.25.3-x86_64-1.txz:  Upgraded.
kde/plasma-disks-5.25.3-x86_64-1.txz:  Upgraded.
kde/plasma-firewall-5.25.3-x86_64-1.txz:  Upgraded.
kde/plasma-integration-5.25.3-x86_64-1.txz:  Upgraded.
kde/plasma-nm-5.25.3-x86_64-1.txz:  Upgraded.
kde/plasma-pa-5.25.3-x86_64-1.txz:  Upgraded.
kde/plasma-sdk-5.25.3-x86_64-1.txz:  Upgraded.
kde/plasma-systemmonitor-5.25.3-x86_64-1.txz:  Upgraded.
kde/plasma-vault-5.25.3-x86_64-1.txz:  Upgraded.
kde/plasma-workspace-5.25.3.1-x86_64-1.txz:  Upgraded.
kde/plasma-workspace-wallpapers-5.25.3-x86_64-1.txz:  Upgraded.
kde/polkit-kde-agent-1-5.25.3-x86_64-1.txz:  Upgraded.
kde/powerdevil-5.25.3-x86_64-1.txz:  Upgraded.
kde/qqc2-breeze-style-5.25.3-x86_64-1.txz:  Upgraded.
kde/sddm-kcm-5.25.3-x86_64-1.txz:  Upgraded.
kde/systemsettings-5.25.3-x86_64-1.txz:  Upgraded.
kde/xdg-desktop-portal-kde-5.25.3-x86_64-1.txz:  Upgraded.
l/SDL2_mixer-2.6.1-x86_64-1.txz:  Upgraded.
l/gtk4-4.6.6-x86_64-2.txz:  Rebuilt.
  Drop embedded pango library and use "unshare -n" to prevent the issue from
  happening again.
l/libuv-1.44.2-x86_64-1.txz:  Upgraded.
l/pango-1.50.8-x86_64-1.txz:  Upgraded.
l/pipewire-0.3.55-x86_64-1.txz:  Upgraded.
x/font-util-1.3.3-x86_64-1.txz:  Upgraded.
x/xorg-server-1.20.14-x86_64-4.txz:  Rebuilt.
  xkb: switch to array index loops to moving pointers.
  xkb: add request length validation for XkbSetGeometry.
  xkb: swap XkbSetDeviceInfo and XkbSetDeviceInfoCheck.
  For more information, see:
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2319
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2320
  (* Security fix *)
x/xorg-server-xephyr-1.20.14-x86_64-4.txz:  Rebuilt.
x/xorg-server-xnest-1.20.14-x86_64-4.txz:  Rebuilt.
x/xorg-server-xvfb-1.20.14-x86_64-4.txz:  Rebuilt.
xap/mozilla-thunderbird-102.0.2-x86_64-1.txz:  Upgraded.
  This is a bugfix release.
  For more information, see:
    https://www.mozilla.org/en-US/thunderbird/102.0.2/releasenotes/
xfce/xfce4-settings-4.16.3-x86_64-1.txz:  Upgraded.
isolinux/initrd.img:  Rebuilt.
kernels/*:  Upgraded.
usb-and-pxe-installers/usbboot.img:  Rebuilt.
2022-07-14 09:00:16 +02:00

38 lines
2.9 KiB
Diff

# We've used this one forever.
zcat $CWD/patch/xorg-server/x11.startwithblackscreen.diff.gz | patch -p1 --verbose || { touch ${SLACK_X_BUILD_DIR}/${PKGNAME}.failed ; continue ; }
# Without this patch, combo mouse/keyboard (such as Logitech through unified
# receiver) may be unable to set the desired keyboard layout.
zcat $CWD/patch/xorg-server/xorg-server.combo.mouse.keyboard.layout.patch.gz | patch -p1 --verbose || { touch ${SLACK_X_BUILD_DIR}/${PKGNAME}.failed ; continue ; }
# Fix a segfault in xorg-server-1.20.0. Odds are good this will be fixed in
# the next xorg-server and will no longer apply then.
zcat $CWD/patch/xorg-server/fix-nouveau-segfault.diff.gz | patch -p1 --verbose || { touch ${SLACK_X_BUILD_DIR}/${PKGNAME}.failed ; continue ; }
# From Fedora Rawhide 2018/7 (possibly useful, doesn't seem like it will hurt anything):
zcat $CWD/patch/xorg-server/0001-Always-install-vbe-and-int10-sdk-headers.patch.gz | patch -p1 --verbose || { touch ${SLACK_X_BUILD_DIR}/${PKGNAME}.failed ; continue ; }
# From Fedora Rawhide 2018/7, looks like many other distributions have added
# this patch for a long time. Keep an eye out for newer versions though, and
# revisit this if any DE begin to manage secondary GPUs (although none do yet):
zcat $CWD/patch/xorg-server/0001-autobind-GPUs-to-the-screen.patch.gz | patch -p1 --verbose || { touch ${SLACK_X_BUILD_DIR}/${PKGNAME}.failed ; continue ; }
# The upstream nouveau developers recommend this. On newer nvidia cards it works
# better to use the generic modesetting ddx rather than nouveau.
# Reference: https://bugs.freedesktop.org/show_bug.cgi?id=94844
# Added here 2018/7.
zcat $CWD/patch/xorg-server/0001-xfree86-use-modesetting-driver-by-default-on-GeForce.patch.gz | patch -p1 --verbose || { touch ${SLACK_X_BUILD_DIR}/${PKGNAME}.failed ; continue ; }
# Fix a PCI related segfault:
zcat $CWD/patch/xorg-server/fix-pci-segfault.diff.gz | patch -p1 --verbose || { touch ${SLACK_X_BUILD_DIR}/${PKGNAME}.failed ; continue ; }
# Only use Intel DDX with pre-gen4 hardware. Newer hardware will the the modesetting driver by default:
zcat $CWD/patch/xorg-server/06_use-intel-only-on-pre-gen4.diff.gz | patch -p1 --verbose || { touch ${SLACK_X_BUILD_DIR}/${PKGNAME}.failed ; continue ; }
# Fix build with gcc12:
zcat $CWD/patch/xorg-server/0001-render-Fix-build-with-gcc-12.patch.gz | patch -p1 --verbose || { touch ${SLACK_X_BUILD_DIR}/${PKGNAME}.failed ; continue ; }
# Patch CVE-2022-2320 and CVE-2022-2319:
zcat $CWD/patch/xorg-server/0001-f1070c01d616c5f21f939d5ebc533738779451ac.patch.gz | patch -p1 --verbose || { touch ${SLACK_X_BUILD_DIR}/${PKGNAME}.failed ; continue ; }
zcat $CWD/patch/xorg-server/0002-dd8caf39e9e15d8f302e54045dd08d8ebf1025dc.patch.gz | patch -p1 --verbose || { touch ${SLACK_X_BUILD_DIR}/${PKGNAME}.failed ; continue ; }
zcat $CWD/patch/xorg-server/0003-6907b6ea2b4ce949cb07271f5b678d5966d9df42.patch.gz | patch -p1 --verbose || { touch ${SLACK_X_BUILD_DIR}/${PKGNAME}.failed ; continue ; }