Import buildroot 2016.02.01
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
--- xf86-video-sis-0.9.3/configure.ac.orig 2007-06-10 21:00:29.000000000 +0200
|
||||
+++ xf86-video-sis-0.9.3/configure.ac 2007-06-10 21:00:45.000000000 +0200
|
||||
@@ -71,12 +71,18 @@
|
||||
AC_HEADER_STDC
|
||||
|
||||
if test "$DRI" != no; then
|
||||
+ if test "$cross_compiling" = "no" ; then
|
||||
AC_CHECK_FILE([${sdkdir}/dri.h],
|
||||
[have_dri_h="yes"], [have_dri_h="no"])
|
||||
AC_CHECK_FILE([${sdkdir}/sarea.h],
|
||||
[have_sarea_h="yes"], [have_sarea_h="no"])
|
||||
AC_CHECK_FILE([${sdkdir}/dristruct.h],
|
||||
[have_dristruct_h="yes"], [have_dristruct_h="no"])
|
||||
+ else
|
||||
+ have_dri_h="yes"
|
||||
+ have_sarea_h="yes"
|
||||
+ have_dristruct_h="yes"
|
||||
+ fi
|
||||
fi
|
||||
|
||||
AC_MSG_CHECKING([whether to include DRI support])
|
||||
@@ -0,0 +1,24 @@
|
||||
Fetch from:
|
||||
https://projects.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/xf86-video-sis&id=7aaa7a9786ce5654df877311909244e0a6c42fd1
|
||||
|
||||
Signed-off-by: Bernd Kuhls <berndkuhls@hotmail.com>
|
||||
|
||||
--- xf86-video-sis-0.10.7/src/sis_driver.c 2013-03-10 13:57:50.000000000 +0100
|
||||
+++ xf86-video-sis-0.10.7/src/sis_driver.c.new 2013-03-10 13:54:48.645203559 +0100
|
||||
@@ -9378,7 +9378,15 @@
|
||||
}
|
||||
if(doit) {
|
||||
sigstate = xf86BlockSIGIO();
|
||||
-#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 15
|
||||
+#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 18
|
||||
+ {
|
||||
+ double dx = x, dy = y;
|
||||
+ miPointerSetPosition(inputInfo.pointer, Absolute, &dx, &dy,
|
||||
+ NULL, NULL);
|
||||
+ x = (int)dx;
|
||||
+ y = (int)dy;
|
||||
+ }
|
||||
+#elif GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 15
|
||||
{
|
||||
double dx = x, dy = y;
|
||||
miPointerSetPosition(inputInfo.pointer, Absolute, &dx, &dy);
|
||||
@@ -0,0 +1,18 @@
|
||||
config BR2_PACKAGE_XDRIVER_XF86_VIDEO_SIS
|
||||
bool "xf86-video-sis"
|
||||
depends on BR2_PACKAGE_MESA3D
|
||||
select BR2_PACKAGE_LIBDRM
|
||||
select BR2_PACKAGE_XPROTO_FONTSPROTO
|
||||
select BR2_PACKAGE_XPROTO_RANDRPROTO
|
||||
select BR2_PACKAGE_XPROTO_RENDERPROTO
|
||||
select BR2_PACKAGE_XPROTO_VIDEOPROTO
|
||||
select BR2_PACKAGE_XPROTO_XEXTPROTO
|
||||
select BR2_PACKAGE_XPROTO_XF86DGAPROTO
|
||||
select BR2_PACKAGE_XPROTO_XF86DRIPROTO
|
||||
select BR2_PACKAGE_XPROTO_XINERAMAPROTO
|
||||
select BR2_PACKAGE_XPROTO_XPROTO
|
||||
help
|
||||
SiS and XGI video driver
|
||||
|
||||
comment "xf86-video-sis needs mesa3d"
|
||||
depends on !BR2_PACKAGE_MESA3D
|
||||
@@ -0,0 +1,2 @@
|
||||
# From http://lists.x.org/archives/xorg-announce/2015-August/002628.html
|
||||
sha256 c8f3f2577f69334dfcc4bf96477dce45161170555f3abdfa105599e61bc7d3fe xf86-video-sis-0.10.8.tar.bz2
|
||||
@@ -0,0 +1,15 @@
|
||||
################################################################################
|
||||
#
|
||||
# xdriver_xf86-video-sis
|
||||
#
|
||||
################################################################################
|
||||
|
||||
XDRIVER_XF86_VIDEO_SIS_VERSION = 0.10.8
|
||||
XDRIVER_XF86_VIDEO_SIS_SOURCE = xf86-video-sis-$(XDRIVER_XF86_VIDEO_SIS_VERSION).tar.bz2
|
||||
XDRIVER_XF86_VIDEO_SIS_SITE = http://xorg.freedesktop.org/releases/individual/driver
|
||||
XDRIVER_XF86_VIDEO_SIS_LICENSE = MIT
|
||||
XDRIVER_XF86_VIDEO_SIS_LICENSE_FILES = COPYING
|
||||
XDRIVER_XF86_VIDEO_SIS_AUTORECONF = YES
|
||||
XDRIVER_XF86_VIDEO_SIS_DEPENDENCIES = xserver_xorg-server libdrm xproto_fontsproto xproto_randrproto xproto_renderproto xproto_videoproto xproto_xextproto xproto_xf86dgaproto xproto_xf86driproto xproto_xineramaproto xproto_xproto
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user