Hello community,
here is the log from the commit of package xf86-video-modesetting for
openSUSE:Factory checked in at 2013-12-11 17:43:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xf86-video-modesetting (Old)
and /work/SRC/openSUSE:Factory/.xf86-video-modesetting.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xf86-video-modesetting"
Changes:
--------
---
/work/SRC/openSUSE:Factory/xf86-video-modesetting/xf86-video-modesetting.changes
2013-10-17 20:46:28.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.xf86-video-modesetting.new/xf86-video-modesetting.changes
2013-12-11 17:43:13.000000000 +0100
@@ -1,0 +2,6 @@
+Sun Dec 1 19:19:07 UTC 2013 - [email protected]
+
+- Add U_Handle_new_DamageUnregister_API_which_has_only_one_argument.patch
+ Make this driver build with X Server 1.15
+
+-------------------------------------------------------------------
New:
----
U_Handle_new_DamageUnregister_API_which_has_only_one_argument.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ xf86-video-modesetting.spec ++++++
--- /var/tmp/diff_new_pack.7xCSxk/_old 2013-12-11 17:43:13.000000000 +0100
+++ /var/tmp/diff_new_pack.7xCSxk/_new 2013-12-11 17:43:13.000000000 +0100
@@ -34,6 +34,8 @@
# by default.
Supplements: xorg-x11-server
+Patch1:
U_Handle_new_DamageUnregister_API_which_has_only_one_argument.patch
+
%x11_abi_videodrv_req
%description
@@ -45,6 +47,8 @@
%prep
%setup -q -n %{name}-%{version}
+%patch1 -p1
+
%build
autoreconf -fi
%configure
++++++ U_Handle_new_DamageUnregister_API_which_has_only_one_argument.patch
++++++
>From beca4dfb0e4d11d3729214967a1fe56ee5669831 Mon Sep 17 00:00:00 2001
From: Keith Packard <[email protected]>
Date: Fri, 15 Nov 2013 04:39:52 +0000
Subject: Handle new DamageUnregister API which has only one argument
API change in 1.15
Signed-off-by: Keith Packard <[email protected]>
---
diff --git a/src/drmmode_display.h b/src/drmmode_display.h
index adf4b99..745c484 100644
--- a/src/drmmode_display.h
+++ b/src/drmmode_display.h
@@ -37,6 +37,10 @@
#define MODESETTING_OUTPUT_SLAVE_SUPPORT 1
#endif
+#if XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(1,14,99,2,0)
+#define DamageUnregister(d, dd) DamageUnregister(dd)
+#endif
+
struct dumb_bo {
uint32_t handle;
uint32_t size;
--
cgit v0.9.0.2-2-gbebe
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]