Gentoo Archives: gentoo-commits

From: "Donnie Berkholz (dberkholz)" <dberkholz@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-base/xorg-server/files/1.4.0.90: 0039-dmx-link-in-XSERVER_LIBS.patch 0041-xprint-fix-build-by-adding-New-Delete-InputDeviceR.patch 0038-dmx-fix-build-by-adding-New-Delete-InputDeviceRequ.patch 0042-xprint-fix-linking-by-including-XSERVER_LIBS.patch 0040-xephyr-fix-linking-by-adding-pixman-and-using-XSERV.patch 0043-Fix-RandR-1.2-driver-interface-conversion-of-two-col.patch 0044-Fix-overly-restrictive-integer-overflow-check-in-EXA.patch
Date: Sat, 10 May 2008 06:50:20
Message-Id: E1JuiuP-0000A9-RZ@stork.gentoo.org
1 dberkholz 08/05/10 06:50:17
2
3 Added: 0039-dmx-link-in-XSERVER_LIBS.patch
4 0041-xprint-fix-build-by-adding-New-Delete-InputDeviceR.patch
5 0038-dmx-fix-build-by-adding-New-Delete-InputDeviceRequ.patch
6 0042-xprint-fix-linking-by-including-XSERVER_LIBS.patch
7 0040-xephyr-fix-linking-by-adding-pixman-and-using-XSERV.patch
8 0043-Fix-RandR-1.2-driver-interface-conversion-of-two-col.patch
9 0044-Fix-overly-restrictive-integer-overflow-check-in-EXA.patch
10 Log:
11 Add patches in my 'server-1.4-branch-gentoo' branch that I've submitted upstream and am waiting for them to take.
12 (Portage version: 2.1.5_rc7)
13
14 Revision Changes Path
15 1.1 x11-base/xorg-server/files/1.4.0.90/0039-dmx-link-in-XSERVER_LIBS.patch
16
17 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-base/xorg-server/files/1.4.0.90/0039-dmx-link-in-XSERVER_LIBS.patch?rev=1.1&view=markup
18 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-base/xorg-server/files/1.4.0.90/0039-dmx-link-in-XSERVER_LIBS.patch?rev=1.1&content-type=text/plain
19
20 Index: 0039-dmx-link-in-XSERVER_LIBS.patch
21 ===================================================================
22 From 2ab2b7ced1241afa48c4af953c761c905ec04aee Mon Sep 17 00:00:00 2001
23 From: Donnie Berkholz <dberkholz@g.o>
24 Date: Thu, 8 May 2008 00:05:00 -0700
25 Subject: [PATCH] dmx: link in XSERVER_LIBS.
26
27 ---
28 hw/dmx/Makefile.am | 1 +
29 1 files changed, 1 insertions(+), 0 deletions(-)
30
31 diff --git a/hw/dmx/Makefile.am b/hw/dmx/Makefile.am
32 index 002ea11..15dc281 100644
33 --- a/hw/dmx/Makefile.am
34 +++ b/hw/dmx/Makefile.am
35 @@ -87,6 +87,7 @@ Xdmx_LDADD = $(XORG_CORE_LIBS) \
36 $(GLX_LIBS) \
37 input/libdmxinput.a \
38 config/libdmxconfig.a \
39 + @XSERVER_LIBS@ \
40 @DMXMODULES_LIBS@
41
42 # Man page
43 --
44 1.5.5.1
45
46
47
48
49 1.1 x11-base/xorg-server/files/1.4.0.90/0041-xprint-fix-build-by-adding-New-Delete-InputDeviceR.patch
50
51 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-base/xorg-server/files/1.4.0.90/0041-xprint-fix-build-by-adding-New-Delete-InputDeviceR.patch?rev=1.1&view=markup
52 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-base/xorg-server/files/1.4.0.90/0041-xprint-fix-build-by-adding-New-Delete-InputDeviceR.patch?rev=1.1&content-type=text/plain
53
54 Index: 0041-xprint-fix-build-by-adding-New-Delete-InputDeviceR.patch
55 ===================================================================
56 From a678833702ca931687252799fa3453f7decb2e93 Mon Sep 17 00:00:00 2001
57 From: Donnie Berkholz <dberkholz@g.o>
58 Date: Thu, 8 May 2008 00:07:57 -0700
59 Subject: [PATCH] xprint: fix build by adding {New,Delete}InputDeviceRequest.
60
61 ---
62 hw/xprint/ddxInit.c | 11 +++++++++++
63 1 files changed, 11 insertions(+), 0 deletions(-)
64
65 diff --git a/hw/xprint/ddxInit.c b/hw/xprint/ddxInit.c
66 index a465c4c..1e7652e 100644
67 --- a/hw/xprint/ddxInit.c
68 +++ b/hw/xprint/ddxInit.c
69 @@ -310,6 +310,17 @@ ChangeDeviceControl (
70 return BadMatch;
71 }
72
73 +int
74 +NewInputDeviceRequest(InputOption *options, DeviceIntPtr *pdev)
75 +{
76 + return BadValue;
77 +}
78 +
79 +void
80 +DeleteInputDeviceRequest(DeviceIntPtr dev)
81 +{
82 +}
83 +
84 void
85 OpenInputDevice (
86 DeviceIntPtr dev,
87 --
88 1.5.5.1
89
90
91
92
93 1.1 x11-base/xorg-server/files/1.4.0.90/0038-dmx-fix-build-by-adding-New-Delete-InputDeviceRequ.patch
94
95 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-base/xorg-server/files/1.4.0.90/0038-dmx-fix-build-by-adding-New-Delete-InputDeviceRequ.patch?rev=1.1&view=markup
96 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-base/xorg-server/files/1.4.0.90/0038-dmx-fix-build-by-adding-New-Delete-InputDeviceRequ.patch?rev=1.1&content-type=text/plain
97
98 Index: 0038-dmx-fix-build-by-adding-New-Delete-InputDeviceRequ.patch
99 ===================================================================
100 From 57af7704ec129ae0dbd941dece62bba3401e008f Mon Sep 17 00:00:00 2001
101 From: Donnie Berkholz <dberkholz@g.o>
102 Date: Thu, 8 May 2008 00:04:36 -0700
103 Subject: [PATCH] dmx: fix build by adding {New,Delete}InputDeviceRequest.
104
105 ---
106 hw/dmx/dmxinput.c | 11 +++++++++++
107 1 files changed, 11 insertions(+), 0 deletions(-)
108
109 diff --git a/hw/dmx/dmxinput.c b/hw/dmx/dmxinput.c
110 index d644b5d..83f8a4a 100644
111 --- a/hw/dmx/dmxinput.c
112 +++ b/hw/dmx/dmxinput.c
113 @@ -105,3 +105,14 @@ void dmxUpdateWindowInfo(DMXUpdateType type, WindowPtr pWindow)
114 if (!dmxInput->detached && dmxInput->updateWindowInfo)
115 dmxInput->updateWindowInfo(dmxInput, type, pWindow);
116 }
117 +
118 +int
119 +NewInputDeviceRequest (InputOption *options, DeviceIntPtr *pdev)
120 +{
121 + return BadRequest;
122 +}
123 +
124 +void
125 +DeleteInputDeviceRequest(DeviceIntPtr pDev)
126 +{
127 +}
128 --
129 1.5.5.1
130
131
132
133
134 1.1 x11-base/xorg-server/files/1.4.0.90/0042-xprint-fix-linking-by-including-XSERVER_LIBS.patch
135
136 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-base/xorg-server/files/1.4.0.90/0042-xprint-fix-linking-by-including-XSERVER_LIBS.patch?rev=1.1&view=markup
137 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-base/xorg-server/files/1.4.0.90/0042-xprint-fix-linking-by-including-XSERVER_LIBS.patch?rev=1.1&content-type=text/plain
138
139 Index: 0042-xprint-fix-linking-by-including-XSERVER_LIBS.patch
140 ===================================================================
141 From 1b2d80aa7862397309c59819d42d27dab879b08d Mon Sep 17 00:00:00 2001
142 From: Donnie Berkholz <dberkholz@g.o>
143 Date: Thu, 8 May 2008 00:08:12 -0700
144 Subject: [PATCH] xprint: fix linking by including XSERVER_LIBS.
145
146 ---
147 hw/xprint/Makefile.am | 2 +-
148 1 files changed, 1 insertions(+), 1 deletions(-)
149
150 diff --git a/hw/xprint/Makefile.am b/hw/xprint/Makefile.am
151 index f834966..2269544 100644
152 --- a/hw/xprint/Makefile.am
153 +++ b/hw/xprint/Makefile.am
154 @@ -12,7 +12,7 @@ Xprt_LDFLAGS = -L$(top_srcdir)
155 Xprt_LDADD = @XPRINT_LIBS@ ps/libps.la raster/libraster.la \
156 pcl/libpcl.la pcl-mono/libpcl.la $(top_builddir)/fb/libfb.la \
157 $(top_builddir)/render/librender.la $(top_builddir)/mi/libmi.la \
158 - $(top_builddir)/Xext/libXext.la @FREETYPE_LIBS@
159 + $(top_builddir)/Xext/libXext.la @FREETYPE_LIBS@ @XSERVER_LIBS@
160
161 miinitext-wrapper.c:
162 echo "#include \"$(top_srcdir)/mi/miinitext.c\"" >> $@
163 --
164 1.5.5.1
165
166
167
168
169 1.1 x11-base/xorg-server/files/1.4.0.90/0040-xephyr-fix-linking-by-adding-pixman-and-using-XSERV.patch
170
171 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-base/xorg-server/files/1.4.0.90/0040-xephyr-fix-linking-by-adding-pixman-and-using-XSERV.patch?rev=1.1&view=markup
172 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-base/xorg-server/files/1.4.0.90/0040-xephyr-fix-linking-by-adding-pixman-and-using-XSERV.patch?rev=1.1&content-type=text/plain
173
174 Index: 0040-xephyr-fix-linking-by-adding-pixman-and-using-XSERV.patch
175 ===================================================================
176 From 09df8eb5321d92817f2dd398ad0ae4551163fc82 Mon Sep 17 00:00:00 2001
177 From: Donnie Berkholz <dberkholz@g.o>
178 Date: Thu, 8 May 2008 00:06:16 -0700
179 Subject: [PATCH] xephyr: fix linking by adding pixman and using XSERVER_LIBS.
180
181 ---
182 configure.ac | 2 +-
183 hw/kdrive/ephyr/Makefile.am | 1 +
184 2 files changed, 2 insertions(+), 1 deletions(-)
185
186 diff --git a/configure.ac b/configure.ac
187 index c73f4a7..6145aa2 100644
188 --- a/configure.ac
189 +++ b/configure.ac
190 @@ -1814,7 +1814,7 @@ if test "$KDRIVE" = yes; then
191 XSDL_INCS="`sdl-config --cflags` $XSERVER_CFLAGS"
192 fi
193
194 - PKG_CHECK_MODULES(XEPHYR, x11 xext xfont xau xdmcp, [xephyr="yes"], [xephyr="no"])
195 + PKG_CHECK_MODULES(XEPHYR, x11 xext xfont xau xdmcp $PIXMAN, [xephyr="yes"], [xephyr="no"])
196 if test "x$XEPHYR" = xauto; then
197 XEPHYR=$xephyr
198 fi
199 diff --git a/hw/kdrive/ephyr/Makefile.am b/hw/kdrive/ephyr/Makefile.am
200 index cc3019f..1738d0f 100644
201 --- a/hw/kdrive/ephyr/Makefile.am
202 +++ b/hw/kdrive/ephyr/Makefile.am
203 @@ -28,6 +28,7 @@ Xephyr_LDADD = \
204 libxephyr-hostx.a \
205 ../../../exa/libexa.la \
206 @KDRIVE_LIBS@ \
207 + @XSERVER_LIBS@ \
208 @XEPHYR_LIBS@
209
210 Xephyr_DEPENDENCIES = \
211 --
212 1.5.5.1
213
214
215
216
217 1.1 x11-base/xorg-server/files/1.4.0.90/0043-Fix-RandR-1.2-driver-interface-conversion-of-two-col.patch
218
219 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-base/xorg-server/files/1.4.0.90/0043-Fix-RandR-1.2-driver-interface-conversion-of-two-col.patch?rev=1.1&view=markup
220 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-base/xorg-server/files/1.4.0.90/0043-Fix-RandR-1.2-driver-interface-conversion-of-two-col.patch?rev=1.1&content-type=text/plain
221
222 Index: 0043-Fix-RandR-1.2-driver-interface-conversion-of-two-col.patch
223 ===================================================================
224 From 0c30521759eb9ad4cbb47b6fd79630a424352bc6 Mon Sep 17 00:00:00 2001
225 From: =?utf-8?q?Michel=20D=C3=A4nzer?= <michel@××××××××××××××××.com>
226 Date: Thu, 20 Mar 2008 09:18:29 -0400
227 Subject: [PATCH] Fix RandR 1.2 driver interface conversion of two colour cursors to ARGB
228
229 This patch (and not setting HARDWARE_CURSOR_BIT_ORDER_MSBFIRST on big endian
230 platforms) fixes it for me with the radeon driver and doesn't break intel.
231
232 Correct patch this time :)
233 (cherry picked from commit da973e962d09854b571320dee7dd9569060bc39e)
234 ---
235 hw/xfree86/modes/xf86Cursors.c | 3 ++-
236 1 files changed, 2 insertions(+), 1 deletions(-)
237
238 diff --git a/hw/xfree86/modes/xf86Cursors.c b/hw/xfree86/modes/xf86Cursors.c
239 index b510164..a7616e0 100644
240 --- a/hw/xfree86/modes/xf86Cursors.c
241 +++ b/hw/xfree86/modes/xf86Cursors.c
242 @@ -137,7 +137,8 @@ cursor_bitpos (int flags, int x, Bool mask)
243 mask = !mask;
244 if (flags & HARDWARE_CURSOR_NIBBLE_SWAPPED)
245 x = (x & ~3) | (3 - (x & 3));
246 - if (flags & HARDWARE_CURSOR_BIT_ORDER_MSBFIRST)
247 + if (((flags & HARDWARE_CURSOR_BIT_ORDER_MSBFIRST) == 0) ==
248 + (X_BYTE_ORDER == X_BIG_ENDIAN))
249 x = (x & ~7) | (7 - (x & 7));
250 if (flags & HARDWARE_CURSOR_SOURCE_MASK_INTERLEAVE_1)
251 x = (x << 1) + mask;
252 --
253 1.5.5.1
254
255
256
257
258 1.1 x11-base/xorg-server/files/1.4.0.90/0044-Fix-overly-restrictive-integer-overflow-check-in-EXA.patch
259
260 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-base/xorg-server/files/1.4.0.90/0044-Fix-overly-restrictive-integer-overflow-check-in-EXA.patch?rev=1.1&view=markup
261 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-base/xorg-server/files/1.4.0.90/0044-Fix-overly-restrictive-integer-overflow-check-in-EXA.patch?rev=1.1&content-type=text/plain
262
263 Index: 0044-Fix-overly-restrictive-integer-overflow-check-in-EXA.patch
264 ===================================================================
265 From 2dcdad6747b6af7ffdda2e6374d404d4df4bff22 Mon Sep 17 00:00:00 2001
266 From: Eric Anholt <eric@××××××.net>
267 Date: Fri, 17 Aug 2007 12:14:16 -0700
268 Subject: [PATCH] Fix overly-restrictive integer overflow check in EXA pixmap creation.
269
270 The result was that at 32bpp, pixmaps of width 8192 or greater couldn't be
271 created, due to treating a pitch value as a width.
272 (cherry picked from commit bc2d516f16d94c805b4dfa8e5b9eef40ff0cbe98)
273 ---
274 exa/exa.c | 2 +-
275 1 files changed, 1 insertions(+), 1 deletions(-)
276
277 diff --git a/exa/exa.c b/exa/exa.c
278 index aa42b92..b2faf2f 100644
279 --- a/exa/exa.c
280 +++ b/exa/exa.c
281 @@ -253,7 +253,7 @@ exaCreatePixmap(ScreenPtr pScreen, int w, int h, int depth)
282 pExaScr->info->pixmapPitchAlign);
283 pExaPixmap->fb_size = pExaPixmap->fb_pitch * h;
284
285 - if (pExaPixmap->fb_pitch > 32767) {
286 + if (pExaPixmap->fb_pitch > 131071) {
287 fbDestroyPixmap(pPixmap);
288 return NULL;
289 }
290 --
291 1.5.5.1
292
293
294
295
296 --
297 gentoo-commits@l.g.o mailing list