]> git.pld-linux.org Git - packages/xorg-driver-video-nouveau.git/commitdiff
- adjust API for political correctness of xserver 21, rel 3 master auto/th/xorg-driver-video-nouveau-1.0.17-3
authorJan Rękorajski <baggins@pld-linux.org>
Wed, 3 Nov 2021 15:58:57 +0000 (16:58 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Wed, 3 Nov 2021 15:58:57 +0000 (16:58 +0100)
pc.patch [new file with mode: 0644]
xorg-driver-video-nouveau.spec

diff --git a/pc.patch b/pc.patch
new file mode 100644 (file)
index 0000000..d051b00
--- /dev/null
+++ b/pc.patch
@@ -0,0 +1,22 @@
+--- xf86-video-nouveau-1.0.17/src/nv_driver.c~ 2021-01-23 19:24:38.000000000 +0100
++++ xf86-video-nouveau-1.0.17/src/nv_driver.c  2021-11-03 16:57:15.022450372 +0100
+@@ -559,16 +559,16 @@
+ {
+       RegionRec pixregion;
+-      PixmapRegionInit(&pixregion, dirty->slave_dst);
++      PixmapRegionInit(&pixregion, dirty->secondary_dst);
+-      DamageRegionAppend(&dirty->slave_dst->drawable, &pixregion);
++      DamageRegionAppend(&dirty->secondary_dst->drawable, &pixregion);
+ #ifdef HAS_DIRTYTRACKING_ROTATION
+       PixmapSyncDirtyHelper(dirty);
+ #else
+       PixmapSyncDirtyHelper(dirty, &pixregion);
+ #endif
+-      DamageRegionProcessPending(&dirty->slave_dst->drawable);
++      DamageRegionProcessPending(&dirty->secondary_dst->drawable);
+       RegionUninit(&pixregion);
+ }
index f662544d30f94f05acb2407c8f49ce78e239a893..b376a0ac7116528e7ec1c2eed6dc5a6cb7988060 100644 (file)
@@ -2,11 +2,12 @@ Summary:      X.org video driver for NVIDIA graphics chipsets
 Summary(pl.UTF-8):     Sterownik obrazu X.org dla układów graficznych NVIDIA
 Name:          xorg-driver-video-nouveau
 Version:       1.0.17
-Release:       2
+Release:       3
 License:       MIT
 Group:         X11/Applications
 Source0:       https://xorg.freedesktop.org/archive/individual/driver/xf86-video-nouveau-%{version}.tar.bz2
 # Source0-md5: b08633be9af9ee819077c278dfc55648
+Patch0:                pc.patch
 URL:           https://nouveau.freedesktop.org/
 BuildRequires: Mesa-libGL-devel
 BuildRequires: autoconf >= 2.60
@@ -82,6 +83,7 @@ PCI, PCI-Express i AGP oparte na następujących układach:
 
 %prep
 %setup -q -n xf86-video-nouveau-%{version}
+%patch0 -p1
 
 %build
 %{__libtoolize}
This page took 0.115912 seconds and 4 git commands to generate.