summaryrefslogtreecommitdiff
blob: a8c1aff4b5c3778426f7e1ad752064cdd50bae96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
# Drop .config, fixes to gcc-4.6
_gx001=" xen-4-fix_dotconfig-gcc.patch"
_gx020=" xen-4.3-fix_dotconfig-gcc.patch"

# Fix texi2html build error with new texi2html, qemu.doc.html
_gx002=" xen-tools-4-docfix.patch"
_gx003=" xen-tools-4-qemu-xen-doc.patch"

_gx004=" xen-tools-4.2-pod-utf8-chars.patch"
_gx005=" xen-tools-4.2-pod-docs.patch"
_gx006=" xen-tools-4.2-pod-xl.patch"

# Fix network broadcast on bridged networks
_gx007=" xen-tools-3.4.0-network-bridge-broadcast.patch"

# Bug 496708
_gx008=" xen-tools-4-unbundle-ipxe.patch"
_gx045=" xen-tools-4.10.1-unbundle-ipxe.patch"
#use system-seabios && epatch "${FILESDIR}"/${PN}-4-unbundle-seabios.patch

# Fix bridge by idella4, bug #362575
_gx009=" xen-tools-4.1.1-bridge.patch"

# Conditional patch, fix in ebuild
# Don't build ipxe with pie on hardened, Bug #360805
#if gcc-specs-pie; then
#	epatch "${FILESDIR}"/ipxe-nopie.patch
#fi

# Prevent double stripping of files at install
_gx010=" xen-4.2.0-nostrip.patch"
_gx024+=" xen-4.4-nostrip.patch"

# fix jobserver in Makefile
_gx011=" xen-4.2.0-jserver.patch"
_gx021=" xen-4.3-jserver.patch"

# add missing header, Bug #467200
_gx012=" xen-4-ulong.patch"
_gx013=" xen-tools-4.2-xen_disk_leak.patch"

# Set dom0-min-mem to kb; Bug #472982
_gx014=" xen-4.2-configsxp.patch"

# Bug 463840
_gx015=" xen-tools-4.2.2-install.patch"
_gx016=" xen-tools-4.2.2-rt-link.patch"

# Bug 379537
_gx017=" fix-gold-ld.patch"

# Bug 510976
_gx018=" xen-tools-4.2.4-udev-rules.patch"

# bundled seabios
_gx019=" xen-tools-4-anti-seabios-download.patch"
_gx032=" xen-tools-4.5-anti-seabios-download.patch"

# Bug 477676
_gx022=" xen-tools-4.3-ar-cc.patch"
_gx038=" xen-tools-4.8-ar-cc.patch"

# Prevent file collision with qemu package Bug 478064
_gx023=" qemu-bridge.patch"
_gx025=" xen-4.4-qemu-bridge.patch"
_gx031=" xen-4.5-qemu-bridge.patch"
_gx039=" xen-4.8-qemu-bridge.patch"
_gx043=" xen-4.10-qemu-bridge.patch"
_gx051=" xen-4.12-qemu-bridge.patch"
#mv tools/qemu-xen/qemu-bridge-helper.c tools/qemu-xen/xen-bridge-helper.c || die

_gx026=" xen-tools-4.4-api-fix.patch"

# Fix po file collision with app-emulation/qemu, while USE=qemu is enabled, Bug 508302
_gx027=" xen-tools-4-qemu-fix-po-collision.patch"

# Fix build failure with ncurses[tinfo], bug 526526
_gx028=" xen-tools-4.4.1-tinfo.patch"

# Don't download ovmf, use pre-released
_gx029=" xen-tools-4-anti-ovmf-download.patch"

# fix build err while using gcc-4.5.x, c99
_gx033=" xen-tools-4.4.2-gcc99.patch"
_gx034=" xen-tools-4.5.0-gcc99.patch"

_gx035=" xen-tools-4.2-pod-docs-r1.patch"
# disable stackcheck for hardened system, bug 569810
_gx036=" xen-tools-4.6-no-stackcheck.patch"

# increase stack to fix xenqemu err
# https://lists.gnu.org/archive/html/qemu-devel/2016-09/msg03961.html
_gx037=" xen-tools-4.6-increase-stack-size.patch"


#Fix issues with zero-length records in migration v2"
#https://xenbits.xen.org/gitweb/?p=people/andrewcoop/xen.git;a=shortlog;h=refs/heads/tools-fix-zero-length-records
_gx040=" 0001-docs-Clarify-the-expected-behaviour-of-zero-length-r.patch
	0003-tools-libxc-Avoid-generating-inappropriate-zero-leng.patch
	0004-tools-python-Adjust-migration-v2-library-to-warn-abo.patch"

_gx041=" 0002-tools-libxc-Tolerate-zero-length-records-in-migratio.patch"

#Fix missing makedev(), major(), minor()
_gx042=" xen-tools-4.8.2-makedev.patch"

# Fix building with glibc 2.27, bug #648182
_gx044=" xen-tools-4.9-glibc-memfd.patch"

# Disable failing shim
_gx046=" xen-tools-4.10.1-shim.patch"
_gx050=" xen-tools-4.12.0-shim.patch"

# Fix building with gcc 8, bug #657388
_gx047=" xen-tools-4.10.1-gcc8.patch"
_gx048=" xen-tools-4.11.0-gcc8.patch"

# Fix pdf document generation, bug #650396
_gx049=" xen-tools-4.10.1-pdfdoc.patch"

# xen-tools-4.10.2 patches set
_gpv_xen_tools_4102_0="
${_gx038} ${_gx017} ${_gx043}
${_gx027}
${_gx028} ${_gx029}
${_gx037} ${_gx042}
${_gx045} ${_gx046} ${_gx047}
${_gx049}
"

# xen-tools-4.10.3 patches set
_gpv_xen_tools_4103_0="
${_gx038} ${_gx017} ${_gx043}
${_gx027}
${_gx028} ${_gx029}
${_gx037} ${_gx042}
${_gx045} ${_gx046} ${_gx047}
${_gx049}
"

# xen-tools-4.11.0 patches set
_gpv_xen_tools_4110_0="
${_gx038} ${_gx017} ${_gx043}
${_gx027}
${_gx028} ${_gx029}
${_gx037} ${_gx042}
${_gx045} ${_gx046} ${_gx048}
${_gx049}
"

# xen-tools-4.11.1 patches set
_gpv_xen_tools_4111_0="
${_gx038} ${_gx017} ${_gx043}
${_gx027}
${_gx028} ${_gx029}
${_gx037} ${_gx042}
${_gx045} ${_gx046} ${_gx048}
${_gx049}
"

# xen-tools-4.12.0 patches set
_gpv_xen_tools_4120_rc2_0="
${_gx038}
${_gx027}
${_gx028} ${_gx029}
${_gx037} ${_gx042}
${_gx048} ${_gx050} ${_gx051}
"