aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-08-08 21:21:05 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-08-08 21:21:05 +0000
commit40857ea123cfdfbe49d5555e1b617920f3fa08ca (patch)
tree22d8498d0976de671650ec560787e4914d37ce21
parentc6c87569d97ee9d047ba74746a809ca88919a3ff (diff)
downloadalpine_aports-40857ea123cfdfbe49d5555e1b617920f3fa08ca.tar.bz2
alpine_aports-40857ea123cfdfbe49d5555e1b617920f3fa08ca.tar.xz
alpine_aports-40857ea123cfdfbe49d5555e1b617920f3fa08ca.zip
x11/xorg-server: remove conflicting patch
-rw-r--r--x11/xorg-server/APKBUILD7
-rw-r--r--x11/xorg-server/server-1.6-branch.patch69
2 files changed, 2 insertions, 74 deletions
diff --git a/x11/xorg-server/APKBUILD b/x11/xorg-server/APKBUILD
index 1e8231ced1..d4e424fdf5 100644
--- a/x11/xorg-server/APKBUILD
+++ b/x11/xorg-server/APKBUILD
@@ -57,7 +57,6 @@ makedepends="
57# diffutils xf86-input-evdev" 57# diffutils xf86-input-evdev"
58 58
59source="http://xorg.freedesktop.org/releases/individual/xserver/$pkgname-$pkgver.tar.bz2 59source="http://xorg.freedesktop.org/releases/individual/xserver/$pkgname-$pkgver.tar.bz2
60 server-1.6-branch.patch
61 xorg-redhat-die-ugly-pattern-die-die-die.patch 60 xorg-redhat-die-ugly-pattern-die-die-die.patch
62" 61"
63 62
@@ -124,19 +123,17 @@ build () {
124 123
125xfbdev() { 124xfbdev() {
126 pkgdesc="X.org server for framebuffer" 125 pkgdesc="X.org server for framebuffer"
127 depends="libxfont libxau pixman libxdmcp openssl uclibc" 126 depends=
128 mkdir -p "$subpkgdir"/usr/bin 127 mkdir -p "$subpkgdir"/usr/bin
129 mv "$pkgdir"/usr/bin/Xfbdev "$subpkgdir"/usr/bin/ 128 mv "$pkgdir"/usr/bin/Xfbdev "$subpkgdir"/usr/bin/
130} 129}
131 130
132xephyr() { 131xephyr() {
133 pkgdesc="kdrive based X Server which targets a window on a host X Server as its framebuffer" 132 pkgdesc="kdrive based X Server which targets a window on a host X Server as its framebuffer"
134 depends="pixman openssl libx11 libxext libxfont libxau libxdmcp libxv 133 depends=
135 uclibc"
136 mkdir -p "$subpkgdir"/usr/bin 134 mkdir -p "$subpkgdir"/usr/bin
137 mv "$pkgdir"/usr/bin/Xephyr "$subpkgdir"/usr/bin/ 135 mv "$pkgdir"/usr/bin/Xephyr "$subpkgdir"/usr/bin/
138} 136}
139 137
140md5sums="0af168abeefa6579cab20387f75c0c7a xorg-server-1.6.3.tar.bz2 138md5sums="0af168abeefa6579cab20387f75c0c7a xorg-server-1.6.3.tar.bz2
141811b6f4cda60ac5f94fd790415efb073 server-1.6-branch.patch
142222de594206d1148a90eddfda4f7a11a xorg-redhat-die-ugly-pattern-die-die-die.patch" 139222de594206d1148a90eddfda4f7a11a xorg-redhat-die-ugly-pattern-die-die-die.patch"
diff --git a/x11/xorg-server/server-1.6-branch.patch b/x11/xorg-server/server-1.6-branch.patch
deleted file mode 100644
index 37cdfda398..0000000000
--- a/x11/xorg-server/server-1.6-branch.patch
+++ /dev/null
@@ -1,69 +0,0 @@
1From 396d3a7762abd0dd84042833b75f2ebf9d100bb0 Mon Sep 17 00:00:00 2001
2From: Alan Coopersmith <alan.coopersmith@sun.com>
3Date: Wed, 08 Jul 2009 18:26:46 +0000
4Subject: Fix build of drivers with 1.6.2 when not using --install-libxf86config
5
6c859b736d1d23c5dc2f53958b1e76660e6d45018 removed duplicate entries for
7these from the Makefile, but removed a different set than was done in
8master branch, causing xf86Parser.h to not be installed, which in turn
9breaks the build of drivers like -ati, -intel & -nv that use xf86Modes.h,
10which includes xf86Parser.h
11
12Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
13Signed-off-by: Keith Packard <keithp@keithp.com>
14---
15diff --git a/hw/xfree86/parser/Makefile.am b/hw/xfree86/parser/Makefile.am
16index 6ed1814..a2774a4 100644
17--- a/hw/xfree86/parser/Makefile.am
18+++ b/hw/xfree86/parser/Makefile.am
19@@ -1,8 +1,5 @@
20 if INSTALL_LIBXF86CONFIG
21 lib_LIBRARIES = libxf86config.a
22-LIBHEADERS = \
23- xf86Optrec.h \
24- xf86Parser.h
25 else
26 noinst_LIBRARIES = libxf86config.a
27 endif
28@@ -30,9 +27,8 @@ AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS)
29 EXTRA_DIST = \
30 Configint.h \
31 configProcs.h \
32- xf86Optrec.h \
33- xf86Parser.h \
34 xf86tokens.h
35
36 sdk_HEADERS = \
37- $(LIBHEADERS)
38+ xf86Optrec.h \
39+ xf86Parser.h
40--
41cgit v0.8.2
42From 606f6dba16d42e3546a82a386d5a01087467b511 Mon Sep 17 00:00:00 2001
43From: Adam Jackson <ajax@redhat.com>
44Date: Tue, 14 Apr 2009 14:54:25 +0000
45Subject: xdmcp: Don't crash on X -query with more than 255 IP addresses. (#20675)
46
47You could be more clever than this, but the wire protocol says this
48really is an array of not more than 255 ARRAY8, so it's not just a
49matter of changing the types.
50
51(cherry picked from commit 0eb19f9437b7d8c19592e49eedb028771d300d80)
52---
53diff --git a/os/xdmcp.c b/os/xdmcp.c
54index 736cd3e..746f598 100644
55--- a/os/xdmcp.c
56+++ b/os/xdmcp.c
57@@ -491,7 +491,9 @@ XdmcpRegisterConnection (
58 return;
59 }
60 }
61- newAddress = (CARD8 *) xalloc (addrlen * sizeof (CARD8));
62+ if (ConnectionAddresses.length + 1 == 256)
63+ return;
64+ newAddress = xalloc (addrlen * sizeof (CARD8));
65 if (!newAddress)
66 return;
67 if (!XdmcpReallocARRAY16 (&ConnectionTypes, ConnectionTypes.length + 1))
68--
69cgit v0.8.2