[packages/xorg-driver-video-r128] - fix types definitions - rel 3
baggins
baggins at pld-linux.org
Wed May 23 14:50:55 CEST 2018
commit 4cb153223af176642a3e8df57dc26d56302ec05e
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Wed May 23 21:50:31 2018 +0900
- fix types definitions
- rel 3
types.patch | 23 +++++++++++++++++++++++
xorg-driver-video-r128.spec | 4 +++-
2 files changed, 26 insertions(+), 1 deletion(-)
---
diff --git a/xorg-driver-video-r128.spec b/xorg-driver-video-r128.spec
index 000d008..53e011c 100644
--- a/xorg-driver-video-r128.spec
+++ b/xorg-driver-video-r128.spec
@@ -2,11 +2,12 @@ Summary: X.org video drivers for ATI Rage128 adapters
Summary(pl.UTF-8): Sterowniki obrazu X.org do kart graficznych ATI Rage128
Name: xorg-driver-video-r128
Version: 6.10.2
-Release: 2
+Release: 3
License: MIT
Group: X11/Applications
Source0: https://xorg.freedesktop.org/releases/individual/driver/xf86-video-r128-%{version}.tar.bz2
# Source0-md5: 905758eb0711bf7151c4f6c435757426
+Patch0: types.patch
URL: https://xorg.freedesktop.org/
BuildRequires: autoconf >= 2.60
BuildRequires: automake
@@ -50,6 +51,7 @@ Rage Fury AGP 32MB, XPERT 128 AGP 16MB i XPERT 99 AGP 8MB.
%prep
%setup -q -n xf86-video-r128-%{version}
+%patch0 -p1
%build
%{__libtoolize}
diff --git a/types.patch b/types.patch
new file mode 100644
index 0000000..a86b043
--- /dev/null
+++ b/types.patch
@@ -0,0 +1,23 @@
+--- xf86-video-r128-6.10.2/src/atipcirename.h.orig 2013-02-07 16:53:52.000000000 +0900
++++ xf86-video-r128-6.10.2/src/atipcirename.h 2018-05-23 21:49:20.300159461 +0900
+@@ -35,6 +35,7 @@
+ };
+
+ #include "xf86Module.h"
++#include <sys/types.h>
+
+ #if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) >= 12
+
+@@ -49,10 +50,10 @@
+ #endif
+ #define PCI_DOMBUS_MASK (((PCI_DOM_MASK) << 8) | 0x0ffu)
+
+-static inline uint32_t
++static inline u_int32_t
+ pciTag(int busnum, int devnum, int funcnum)
+ {
+- uint32_t tag;
++ u_int32_t tag;
+ tag = (busnum & (PCI_DOMBUS_MASK)) << 16;
+ tag |= (devnum & 0x00001fu) << 11;
+ tag |= (funcnum & 0x000007u) << 8;
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/xorg-driver-video-r128.git/commitdiff/4cb153223af176642a3e8df57dc26d56302ec05e
More information about the pld-cvs-commit
mailing list