update code
This commit is contained in:
commit
5b7beef6c8
12
BGNoneRoot.patch
Normal file
12
BGNoneRoot.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -up xf86-video-fbdev-0.4.3/src/fbdev.c.dma xf86-video-fbdev-0.4.3/src/fbdev.c
|
||||
--- xf86-video-fbdev-0.4.3/src/fbdev.c.dma 2012-07-02 12:46:46.000000000 +0100
|
||||
+++ xf86-video-fbdev-0.4.3/src/fbdev.c 2012-07-02 13:02:40.545956779 +0100
|
||||
@@ -673,6 +673,8 @@ FBDevScreenInit(SCREEN_INIT_ARGS_DECL)
|
||||
pScrn->offset.red,pScrn->offset.green,pScrn->offset.blue);
|
||||
#endif
|
||||
|
||||
+ pScreen->canDoBGNoneRoot = 1;
|
||||
+
|
||||
if (NULL == (fPtr->fbmem = fbdevHWMapVidmem(pScrn))) {
|
||||
xf86DrvMsg(pScrn->scrnIndex,X_ERROR,"mapping of video memory"
|
||||
" failed\n");
|
||||
BIN
xf86-video-fbdev-0.5.0.tar.bz2
Normal file
BIN
xf86-video-fbdev-0.5.0.tar.bz2
Normal file
Binary file not shown.
51
xorg-x11-drv-fbdev.spec
Normal file
51
xorg-x11-drv-fbdev.spec
Normal file
@ -0,0 +1,51 @@
|
||||
%global moduledir %(pkg-config xorg-server --variable=moduledir )
|
||||
%global driverdir %{moduledir}/drivers
|
||||
%undefine _hardened_build
|
||||
|
||||
Name: xorg-x11-drv-fbdev
|
||||
Version: 0.5.0
|
||||
Release: 3
|
||||
Summary: Xorg X11 fbdev video driver
|
||||
License: MIT
|
||||
URL: https://www.x.org
|
||||
Source0: https://www.x.org/pub/individual/driver/xf86-video-fbdev-%{version}.tar.bz2
|
||||
|
||||
Patch2: BGNoneRoot.patch
|
||||
|
||||
BuildRequires: xorg-x11-server-devel autoconf automake libtool
|
||||
|
||||
Requires: Xorg %(xserver-sdk-abi-requires ansic)
|
||||
Requires: Xorg %(xserver-sdk-abi-requires videodrv)
|
||||
|
||||
%description
|
||||
X.Org X11 fbdev video driver.
|
||||
|
||||
%package_help
|
||||
|
||||
%prep
|
||||
%autosetup -n xf86-video-fbdev-%{version} -p1
|
||||
|
||||
%build
|
||||
autoreconf -vif
|
||||
%configure
|
||||
make
|
||||
|
||||
%install
|
||||
%make_install
|
||||
|
||||
%delete_la
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc COPYING ChangeLog
|
||||
%{driverdir}/fbdev_drv.so
|
||||
|
||||
%files help
|
||||
%defattr(-,root,root)
|
||||
%doc README
|
||||
%{_mandir}/man4/fbdev.4*
|
||||
|
||||
%changelog
|
||||
* Fri Oct 11 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.5.0-3
|
||||
- Package init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user