slackware-current/source/x/x11/patch/xorg-server.patch
Patrick J Volkerding a259c4df1e Wed Aug 21 18:08:47 UTC 2024
d/python-setuptools-73.0.1-x86_64-1.txz:  Upgraded.
d/rust-bindgen-0.70.1-x86_64-1.txz:  Upgraded.
n/ModemManager-1.22.0-x86_64-1.txz:  Upgraded.
n/dhcpcd-10.0.10-x86_64-1.txz:  Upgraded.
n/epic5-2.4-x86_64-1.txz:  Upgraded.
n/libqmi-1.34.0-x86_64-2.txz:  Rebuilt.
  Build against libqrtr-glib with -Dqrtr=true.
n/libqrtr-glib-1.2.2-x86_64-1.txz:  Added.
  ModemManager-1.22.0 needs libqmi to be linked with this.
x/xorg-server-21.1.13-x86_64-3.txz:  Rebuilt.
  Patched changing a type from unsigned long to unsigned long long which fixes
  the black screen seen on 32-bit with the modesetting driver. Seems fine on
  64-bit as well, so the patch is applied for all builds. The patch to default
  to modesetting for Intel graphics is restored (and the one for nouveau is kept
  as well).
  Thanks to Lenard Spencer for reporting that nouveau was also hitting this.
  Thanks to Petri Kaukasoina for the patch.
x/xorg-server-xephyr-21.1.13-x86_64-3.txz:  Rebuilt.
x/xorg-server-xnest-21.1.13-x86_64-3.txz:  Rebuilt.
x/xorg-server-xvfb-21.1.13-x86_64-3.txz:  Rebuilt.
2024-08-21 20:30:25 +02:00

26 lines
1.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 ; }
# 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 ; }
# 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 ; }
# Change a type from 1UL to 1ULL, which prevents a black screen on 32-bit Linux:
zcat $CWD/patch/xorg-server/drmmode_display.c.1ULL.32-bit.fix.patch.gz | patch -p1 --verbose || { touch ${SLACK_X_BUILD_DIR}/${PKGNAME}.failed ; continue ; }