]> git.pld-linux.org Git - packages/xorg-driver-video-qxl.git/commitdiff
- updated to 0.1.1 auto/th/xorg-driver-video-qxl-0.1.1-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 20 Oct 2013 19:56:47 +0000 (21:56 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 20 Oct 2013 19:56:47 +0000 (21:56 +0200)
- added cast patch (fixes build on archs with 32-bit pointer)

xorg-driver-video-qxl-cast.patch [new file with mode: 0644]
xorg-driver-video-qxl.spec

diff --git a/xorg-driver-video-qxl-cast.patch b/xorg-driver-video-qxl-cast.patch
new file mode 100644 (file)
index 0000000..35c3098
--- /dev/null
@@ -0,0 +1,11 @@
+Fix "cast from pointer to integer of different size" warning when sizeof(void*) != sizeof(uint64_t)
+--- xf86-video-qxl-0.1.1/src/spiceqxl_display.c.orig   2013-10-20 16:53:29.000000000 +0200
++++ xf86-video-qxl-0.1.1/src/spiceqxl_display.c        2013-10-20 21:46:26.895791164 +0200
+@@ -350,6 +350,6 @@
+ void spiceqxl_display_monitors_config(qxl_screen_t *qxl)
+ {
+-    spice_qxl_monitors_config_async(&qxl->display_sin, (QXLPHYSICAL)qxl->monitors_config,
++    spice_qxl_monitors_config_async(&qxl->display_sin, (QXLPHYSICAL)(uintptr_t)qxl->monitors_config,
+                                     MEMSLOT_GROUP, 0);
+ }
index b813d2ef6596bb48bd531402beafc9760dae7672..6ba32d5ef774bb1f8c6e630fa9ba401d79f03998 100644 (file)
@@ -5,20 +5,23 @@
 Summary:       X.org video driver for QXL virtual GPU
 Summary(pl.UTF-8):     Sterownik obrazu X.org dla wirtualnych procesorów graficznych QXL
 Name:          xorg-driver-video-qxl
-Version:       0.1.0
+Version:       0.1.1
 Release:       1
 License:       MIT
 Group:         X11/Applications
 Source0:       http://xorg.freedesktop.org/releases/individual/driver/xf86-video-qxl-%{version}.tar.bz2
-# Source0-md5: 3d854268744ff92751430d83b8acaeb6
+# Source0-md5: 39f0721e83bc3bb2aba5c0379616ddbc
+Patch0:                %{name}-cast.patch
 URL:           http://xorg.freedesktop.org/
 BuildRequires: autoconf >= 2.60
 BuildRequires: automake
+BuildRequires: libdrm-devel >= 2.4.46
 BuildRequires: libtool
 BuildRequires: pkgconfig >= 1:0.19
 BuildRequires: rpmbuild(macros) >= 1.389
 BuildRequires: spice-protocol >= 0.12.0
 %{?with_xspice:BuildRequires:  spice-server-devel >= 0.6.3}
+BuildRequires: udev-devel
 BuildRequires: xorg-lib-libpciaccess-devel >= 0.10.0
 BuildRequires: xorg-proto-fontsproto-devel
 BuildRequires: xorg-proto-randrproto-devel
@@ -72,6 +75,7 @@ udostępnia wejście klawiatury i myszy oraz wyjście obrazu.
 
 %prep
 %setup -q -n xf86-video-qxl-%{version}
+%patch0 -p1
 
 %build
 %{__libtoolize}
This page took 0.113746 seconds and 4 git commands to generate.