mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
xf86-video-fbturbo-sunxi: fix depends and compilation.
This commit is contained in:
parent
29c4208609
commit
549deb363a
2 changed files with 22 additions and 2 deletions
|
@ -0,0 +1,20 @@
|
||||||
|
--- src/fbdev.c
|
||||||
|
+++ src/fbdev.c
|
||||||
|
@@ -1037,7 +1037,7 @@
|
||||||
|
fPtr->CloseScreen = pScreen->CloseScreen;
|
||||||
|
pScreen->CloseScreen = FBDevCloseScreen;
|
||||||
|
|
||||||
|
-#if XV
|
||||||
|
+#ifdef XV
|
||||||
|
fPtr->SunxiVideo_private = NULL;
|
||||||
|
if (xf86ReturnOptValBool(fPtr->Options, OPTION_XV_OVERLAY, TRUE) &&
|
||||||
|
fPtr->sunxi_disp_private) {
|
||||||
|
@@ -1126,7 +1126,7 @@
|
||||||
|
fPtr->SunxiDispHardwareCursor_private = NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
-#if XV
|
||||||
|
+#ifdef XV
|
||||||
|
if (fPtr->SunxiVideo_private) {
|
||||||
|
SunxiVideo_Close(pScreen);
|
||||||
|
free(fPtr->SunxiVideo_private);
|
|
@ -5,12 +5,12 @@ revision=5
|
||||||
wrksrc="${pkgname%-sunxi}-${version}"
|
wrksrc="${pkgname%-sunxi}-${version}"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="pkg-config xorg-server-devel"
|
hostmakedepends="pkg-config xorg-server-devel"
|
||||||
makedepends="libXrandr-devel libump-devel-git xorg-server-devel"
|
makedepends="libXrandr-devel libump-git-devel xorg-server-devel xorg-util-macros"
|
||||||
depends="virtual?xserver-abi-video-24_1 sunxi-mali"
|
depends="virtual?xserver-abi-video-24_1 sunxi-mali"
|
||||||
short_desc="Xorg DDX driver for Allwinner SoC (A10/A13/A20)"
|
short_desc="Xorg DDX driver for Allwinner SoC (A10/A13/A20)"
|
||||||
homepage="http://github.com/ssvb/xf86-video-fbturbo"
|
|
||||||
license="MIT, GPL-2.0-or-later"
|
license="MIT, GPL-2.0-or-later"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
|
homepage="http://github.com/ssvb/xf86-video-fbturbo"
|
||||||
distfiles="https://github.com/ssvb/xf86-video-fbturbo/archive/${version}.tar.gz"
|
distfiles="https://github.com/ssvb/xf86-video-fbturbo/archive/${version}.tar.gz"
|
||||||
checksum=10411686de0a9d8b2cde300b0d68e9f1d22e3611470d357ef3afc337f123ca0f
|
checksum=10411686de0a9d8b2cde300b0d68e9f1d22e3611470d357ef3afc337f123ca0f
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue