--- /dev/null
+--- 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);
+ }
+
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
%prep
%setup -q -n xf86-video-nouveau-%{version}
+%patch0 -p1
%build
%{__libtoolize}