1 |
commit: 794a47ca882aeed56c14ed92c01529f745658d5b |
2 |
Author: stefson <herrtimson <AT> yahoo <DOT> de> |
3 |
AuthorDate: Thu Aug 16 11:48:21 2018 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 18 09:51:20 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/musl.git/commit/?id=794a47ca |
7 |
|
8 |
x11-base/xorg-server: revbump to point release |
9 |
|
10 |
x11-base/xorg-server/Manifest | 2 +- |
11 |
...ine-xf86-Read-Write-Mmio-8-16-32-on-alpha.patch | 224 --------------------- |
12 |
...ver-1.20.0.ebuild => xorg-server-1.20.1.ebuild} | 0 |
13 |
3 files changed, 1 insertion(+), 225 deletions(-) |
14 |
|
15 |
diff --git a/x11-base/xorg-server/Manifest b/x11-base/xorg-server/Manifest |
16 |
index 94db573..0c6e270 100644 |
17 |
--- a/x11-base/xorg-server/Manifest |
18 |
+++ b/x11-base/xorg-server/Manifest |
19 |
@@ -1,3 +1,3 @@ |
20 |
DIST xorg-server-1.19.5.tar.bz2 5965044 BLAKE2B 23375793ea4459a962f412440e307081ce2acd3c646e5db4d1bfac20e267bcbb1752ba8f6de66df06d25eaf92d1b55082a80eced0d44c257a757d5926ca6a7f3 SHA512 928dea5850b98cd815004cfa133eca23cfa9521920c934c68a92787f2cae13cca1534eee772a4fb74b8ae8cb92662b5d68b95b834c8aa8ec57cd57cb4e5dd45c |
21 |
DIST xorg-server-1.19.6.tar.bz2 5984528 BLAKE2B 7aaef0bccbfef669ea5e78faabf736e8ab4f460079b7b12b58a642dd9cb42ad4b6c662a6e8671bfc41e697561c856cb663dfbe9cbdf3a4e67d800f2e98c253f6 SHA512 38519a8d0af9dd034045fc346959496dd718fa59b6188307974797a1cd9c349deb54987f6232ea8396baf810dcc710c0ff191f76ed2186cae4d44921b3680412 |
22 |
-DIST xorg-server-1.20.0.tar.bz2 6096838 BLAKE2B 34ee6d6dbbde54d54e082a0791e85ad52d728e239a7d8fadb75ebcbdbaab8752b90ca6d075f096d971db7ec68ce4ecac5c70fcf536ce23c20b8dce8f32e2c046 SHA512 1489e8511c9da682ef0460182dfeeddd241c72d4ef4d206d9706f1e39572c09953df851fab18cefb65a1ee4c6710c6ba13c63c9c9fc0bc1b5f12c50780412cde |
23 |
+DIST xorg-server-1.20.1.tar.bz2 6103772 BLAKE2B ac71d603cef8efe814275b658d4a76e231eb0fda14dd6e7177509bf147feaf37657789d8fc83f8017435c84760d7be357f203a8346aac612a53083cf413f7d75 SHA512 ef2b93a61683c8ca8d1f14b771e70db65ba119a73db8a46e7cdbf2ac2243e3f4b2732068eb5aa5d7b76f460db995a3c04390870198a5210ec30df4360ad9f94b |
24 |
|
25 |
diff --git a/x11-base/xorg-server/files/xorg-server-1.20.0-xfree86-Inline-xf86-Read-Write-Mmio-8-16-32-on-alpha.patch b/x11-base/xorg-server/files/xorg-server-1.20.0-xfree86-Inline-xf86-Read-Write-Mmio-8-16-32-on-alpha.patch |
26 |
deleted file mode 100644 |
27 |
index ebf677a..0000000 |
28 |
--- a/x11-base/xorg-server/files/xorg-server-1.20.0-xfree86-Inline-xf86-Read-Write-Mmio-8-16-32-on-alpha.patch |
29 |
+++ /dev/null |
30 |
@@ -1,224 +0,0 @@ |
31 |
-From eecedfffd40f0465d85347f14547ddc6b30e57df Mon Sep 17 00:00:00 2001 |
32 |
-From: Matt Turner <mattst88@×××××.com> |
33 |
-Date: Tue, 22 May 2018 21:10:55 -0700 |
34 |
-Subject: [PATCH xserver] xfree86: Inline xf86{Read,Write}Mmio{8,16,32} on |
35 |
- alpha |
36 |
- |
37 |
-In commit 9db2af6f757e (xfree86: Remove xf86{Map,Unmap}VidMem) we |
38 |
-somehow stopped exporting xf86{Read,Write}Mmio{8,16,32}. Since the |
39 |
-function pointer indirection was intended to support dense vs sparse and |
40 |
-sparse support is now gone, we can just make the functions static inline |
41 |
-in compiler.h and avoid all of this. |
42 |
- |
43 |
-Bugzilla: https://bugs.gentoo.org/548906 |
44 |
-Tested-by: Christopher May-Townsend <chris@××××××××××××××.uk> |
45 |
-Reviewed-by: Adam Jackson <ajax@××××××.com> |
46 |
-Signed-off-by: Matt Turner <mattst88@×××××.com> |
47 |
---- |
48 |
- configure.ac | 4 -- |
49 |
- hw/xfree86/common/compiler.h | 67 ++++++++++++++++++++++++--------- |
50 |
- hw/xfree86/os-support/bsd/Makefile.am | 3 +- |
51 |
- hw/xfree86/os-support/linux/Makefile.am | 12 ------ |
52 |
- hw/xfree86/os-support/linux/lnx_video.c | 27 ------------- |
53 |
- hw/xfree86/os-support/meson.build | 1 - |
54 |
- 6 files changed, 50 insertions(+), 64 deletions(-) |
55 |
- |
56 |
-diff --git a/configure.ac b/configure.ac |
57 |
-index ddc47faa2..0075b6ace 100644 |
58 |
---- a/configure.ac |
59 |
-+++ b/configure.ac |
60 |
-@@ -1908,9 +1908,6 @@ if test "x$XORG" = xyes; then |
61 |
- XORG_OS_SUBDIR="linux" |
62 |
- linux_acpi="no" |
63 |
- case $host_cpu in |
64 |
-- alpha*) |
65 |
-- linux_alpha=yes |
66 |
-- ;; |
67 |
- i*86|amd64*|x86_64*|ia64*) |
68 |
- linux_acpi=$enable_linux_acpi |
69 |
- ;; |
70 |
-@@ -2075,7 +2072,6 @@ AM_CONDITIONAL([XORG], [test "x$XORG" = xyes]) |
71 |
- AM_CONDITIONAL([XORG_BUS_PCI], [test "x$PCI" = xyes]) |
72 |
- AM_CONDITIONAL([XORG_BUS_BSDPCI], [test "x$xorg_bus_bsdpci" = xyes]) |
73 |
- AM_CONDITIONAL([XORG_BUS_SPARC], [test "x$xorg_bus_sparc" = xyes]) |
74 |
--AM_CONDITIONAL([LINUX_ALPHA], [test "x$linux_alpha" = xyes]) |
75 |
- AM_CONDITIONAL([LNXACPI], [test "x$linux_acpi" = xyes]) |
76 |
- AM_CONDITIONAL([LNXAPM], [test "x$linux_apm" = xyes]) |
77 |
- AM_CONDITIONAL([SOLARIS_VT], [test "x$solaris_vt" = xyes]) |
78 |
-diff --git a/hw/xfree86/common/compiler.h b/hw/xfree86/common/compiler.h |
79 |
-index eea29dfb5..7144c6a27 100644 |
80 |
---- a/hw/xfree86/common/compiler.h |
81 |
-+++ b/hw/xfree86/common/compiler.h |
82 |
-@@ -986,33 +986,64 @@ inl(unsigned PORT_SIZE port) |
83 |
- #endif |
84 |
- |
85 |
- #ifdef __alpha__ |
86 |
--/* entry points for Mmio memory access routines */ |
87 |
--extern _X_EXPORT int (*xf86ReadMmio8) (void *, unsigned long); |
88 |
--extern _X_EXPORT int (*xf86ReadMmio16) (void *, unsigned long); |
89 |
--extern _X_EXPORT int (*xf86ReadMmio32) (void *, unsigned long); |
90 |
--extern _X_EXPORT void (*xf86WriteMmio8) (int, void *, unsigned long); |
91 |
--extern _X_EXPORT void (*xf86WriteMmio16) (int, void *, unsigned long); |
92 |
--extern _X_EXPORT void (*xf86WriteMmio32) (int, void *, unsigned long); |
93 |
-+static inline int |
94 |
-+xf86ReadMmio8(void *Base, unsigned long Offset) |
95 |
-+{ |
96 |
-+ mem_barrier(); |
97 |
-+ return *(CARD8 *) ((unsigned long) Base + (Offset)); |
98 |
-+} |
99 |
-+ |
100 |
-+static inline int |
101 |
-+xf86ReadMmio16(void *Base, unsigned long Offset) |
102 |
-+{ |
103 |
-+ mem_barrier(); |
104 |
-+ return *(CARD16 *) ((unsigned long) Base + (Offset)); |
105 |
-+} |
106 |
-+ |
107 |
-+static inline int |
108 |
-+xf86ReadMmio32(void *Base, unsigned long Offset) |
109 |
-+{ |
110 |
-+ mem_barrier(); |
111 |
-+ return *(CARD32 *) ((unsigned long) Base + (Offset)); |
112 |
-+} |
113 |
-+ |
114 |
-+static inline void |
115 |
-+xf86WriteMmio8(int Value, void *Base, unsigned long Offset) |
116 |
-+{ |
117 |
-+ write_mem_barrier(); |
118 |
-+ *(CARD8 *) ((unsigned long) Base + (Offset)) = Value; |
119 |
-+} |
120 |
-+ |
121 |
-+static inline void |
122 |
-+xf86WriteMmio16(int Value, void *Base, unsigned long Offset) |
123 |
-+{ |
124 |
-+ write_mem_barrier(); |
125 |
-+ *(CARD16 *) ((unsigned long) Base + (Offset)) = Value; |
126 |
-+} |
127 |
-+ |
128 |
-+static inline void |
129 |
-+xf86WriteMmio32(int Value, void *Base, unsigned long Offset) |
130 |
-+{ |
131 |
-+ write_mem_barrier(); |
132 |
-+ *(CARD32 *) ((unsigned long) Base + (Offset)) = Value; |
133 |
-+} |
134 |
-+ |
135 |
- extern _X_EXPORT void xf86SlowBCopyFromBus(unsigned char *, unsigned char *, |
136 |
- int); |
137 |
- extern _X_EXPORT void xf86SlowBCopyToBus(unsigned char *, unsigned char *, int); |
138 |
- |
139 |
- /* Some macros to hide the system dependencies for MMIO accesses */ |
140 |
- /* Changed to kill noise generated by gcc's -Wcast-align */ |
141 |
--#define MMIO_IN8(base, offset) (*xf86ReadMmio8)(base, offset) |
142 |
--#define MMIO_IN16(base, offset) (*xf86ReadMmio16)(base, offset) |
143 |
--#define MMIO_IN32(base, offset) (*xf86ReadMmio32)(base, offset) |
144 |
-- |
145 |
--#define MMIO_OUT32(base, offset, val) \ |
146 |
-- do { \ |
147 |
-- write_mem_barrier(); \ |
148 |
-- *(volatile CARD32 *)(void *)(((CARD8*)(base)) + (offset)) = (val); \ |
149 |
-- } while (0) |
150 |
-+#define MMIO_IN8(base, offset) xf86ReadMmio8(base, offset) |
151 |
-+#define MMIO_IN16(base, offset) xf86ReadMmio16(base, offset) |
152 |
-+#define MMIO_IN32(base, offset) xf86ReadMmio32(base, offset) |
153 |
- |
154 |
- #define MMIO_OUT8(base, offset, val) \ |
155 |
-- (*xf86WriteMmio8)((CARD8)(val), base, offset) |
156 |
-+ xf86WriteMmio8((CARD8)(val), base, offset) |
157 |
- #define MMIO_OUT16(base, offset, val) \ |
158 |
-- (*xf86WriteMmio16)((CARD16)(val), base, offset) |
159 |
-+ xf86WriteMmio16((CARD16)(val), base, offset) |
160 |
-+#define MMIO_OUT32(base, offset, val) \ |
161 |
-+ xf86WriteMmio32((CARD32)(val), base, offset) |
162 |
- |
163 |
- #elif defined(__powerpc__) || defined(__sparc__) |
164 |
- /* |
165 |
-diff --git a/hw/xfree86/os-support/bsd/Makefile.am b/hw/xfree86/os-support/bsd/Makefile.am |
166 |
-index b01ea5bca..66ac83805 100644 |
167 |
---- a/hw/xfree86/os-support/bsd/Makefile.am |
168 |
-+++ b/hw/xfree86/os-support/bsd/Makefile.am |
169 |
-@@ -26,8 +26,7 @@ endif |
170 |
- if ALPHA_VIDEO |
171 |
- # Cheat here and piggyback other alpha bits on ALPHA_VIDEO. |
172 |
- ARCH_SOURCES = \ |
173 |
-- alpha_video.c \ |
174 |
-- bsd_ev56.c |
175 |
-+ alpha_video.c |
176 |
- endif |
177 |
- |
178 |
- if ARM_VIDEO |
179 |
-diff --git a/hw/xfree86/os-support/linux/Makefile.am b/hw/xfree86/os-support/linux/Makefile.am |
180 |
-index 26e40bb93..9b4535b53 100644 |
181 |
---- a/hw/xfree86/os-support/linux/Makefile.am |
182 |
-+++ b/hw/xfree86/os-support/linux/Makefile.am |
183 |
-@@ -1,13 +1,5 @@ |
184 |
- noinst_LTLIBRARIES = liblinux.la |
185 |
- |
186 |
--if LINUX_ALPHA |
187 |
--noinst_LTLIBRARIES += liblinuxev56.la |
188 |
-- |
189 |
--liblinuxev56_la_CFLAGS = $(AM_CFLAGS) -mcpu=ev56 |
190 |
-- |
191 |
--liblinuxev56_la_SOURCES = lnx_ev56.c |
192 |
--endif |
193 |
-- |
194 |
- if LNXACPI |
195 |
- ACPI_SRCS = lnx_acpi.c |
196 |
- if !LNXAPM |
197 |
-@@ -39,7 +31,3 @@ liblinux_la_SOURCES = linux.h lnx_init.c lnx_video.c \ |
198 |
- AM_CFLAGS = -DUSESTDRES -DHAVE_SYSV_IPC $(DIX_CFLAGS) $(XORG_CFLAGS) $(PLATFORM_DEFINES) |
199 |
- |
200 |
- AM_CPPFLAGS = $(XORG_INCS) $(PLATFORM_INCLUDES) $(LIBDRM_CFLAGS) |
201 |
-- |
202 |
--if LINUX_ALPHA |
203 |
--liblinux_la_LIBADD = liblinuxev56.la |
204 |
--endif |
205 |
-diff --git a/hw/xfree86/os-support/linux/lnx_video.c b/hw/xfree86/os-support/linux/lnx_video.c |
206 |
-index c09d71947..04e45092a 100644 |
207 |
---- a/hw/xfree86/os-support/linux/lnx_video.c |
208 |
-+++ b/hw/xfree86/os-support/linux/lnx_video.c |
209 |
-@@ -166,30 +166,3 @@ xf86DisableIO(void) |
210 |
- |
211 |
- ExtendedEnabled = FALSE; |
212 |
- } |
213 |
-- |
214 |
--#if defined (__alpha__) |
215 |
-- |
216 |
--extern int readDense8(void *Base, register unsigned long Offset); |
217 |
--extern int readDense16(void *Base, register unsigned long Offset); |
218 |
--extern int readDense32(void *Base, register unsigned long Offset); |
219 |
--extern void |
220 |
-- writeDense8(int Value, void *Base, register unsigned long Offset); |
221 |
--extern void |
222 |
-- writeDense16(int Value, void *Base, register unsigned long Offset); |
223 |
--extern void |
224 |
-- writeDense32(int Value, void *Base, register unsigned long Offset); |
225 |
-- |
226 |
--void (*xf86WriteMmio8) (int Value, void *Base, unsigned long Offset) |
227 |
-- = writeDense8; |
228 |
--void (*xf86WriteMmio16) (int Value, void *Base, unsigned long Offset) |
229 |
-- = writeDense16; |
230 |
--void (*xf86WriteMmio32) (int Value, void *Base, unsigned long Offset) |
231 |
-- = writeDense32; |
232 |
--int (*xf86ReadMmio8) (void *Base, unsigned long Offset) |
233 |
-- = readDense8; |
234 |
--int (*xf86ReadMmio16) (void *Base, unsigned long Offset) |
235 |
-- = readDense16; |
236 |
--int (*xf86ReadMmio32) (void *Base, unsigned long Offset) |
237 |
-- = readDense32; |
238 |
-- |
239 |
--#endif /* __alpha__ */ |
240 |
-diff --git a/hw/xfree86/os-support/meson.build b/hw/xfree86/os-support/meson.build |
241 |
-index 901422786..b6e5c975d 100644 |
242 |
---- a/hw/xfree86/os-support/meson.build |
243 |
-+++ b/hw/xfree86/os-support/meson.build |
244 |
-@@ -100,7 +100,6 @@ elif host_machine.system().endswith('bsd') |
245 |
- srcs_xorg_os_support += 'shared/ioperm_noop.c' |
246 |
- elif host_machine.cpu_family() == 'alpha' |
247 |
- srcs_xorg_os_support += 'bsd/alpha_video.c' |
248 |
-- srcs_xorg_os_support += 'bsd/bsd_ev56.c' |
249 |
- endif |
250 |
- |
251 |
- if host_machine.system() == 'freebsd' |
252 |
--- |
253 |
-2.16.1 |
254 |
- |
255 |
|
256 |
diff --git a/x11-base/xorg-server/xorg-server-1.20.0.ebuild b/x11-base/xorg-server/xorg-server-1.20.1.ebuild |
257 |
similarity index 100% |
258 |
rename from x11-base/xorg-server/xorg-server-1.20.0.ebuild |
259 |
rename to x11-base/xorg-server/xorg-server-1.20.1.ebuild |