]> git.pld-linux.org Git - packages/xorg-driver-video-r128.git/commitdiff
- fix types definitions auto/th/xorg-driver-video-r128-6.10.2-3
authorJan Rękorajski <baggins@pld-linux.org>
Wed, 23 May 2018 12:50:31 +0000 (21:50 +0900)
committerJan Rękorajski <baggins@pld-linux.org>
Wed, 23 May 2018 12:50:31 +0000 (21:50 +0900)
- rel 3

types.patch [new file with mode: 0644]
xorg-driver-video-r128.spec

diff --git a/types.patch b/types.patch
new file mode 100644 (file)
index 0000000..a86b043
--- /dev/null
@@ -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;
index 000d0088d559883dadb0e8a68509f17ee589e625..53e011cf96c538eb3c4122848d895a7b8ecf4acd 100644 (file)
@@ -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}
This page took 0.123191 seconds and 4 git commands to generate.