Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/qt5-webengine/chromium-69.0.3497.81-gcc8-alignof.patch
blob: eda047b04e62b84dd30c0954c3efd51058cbcd3a (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
<!DOCTYPE html>
<html lang='en'>
<head>
<title>chromium-69.0.3497.81-gcc8-alignof.patch - rpms/chromium.git - rpms/chromium</title>
<meta name='generator' content='cgit v1.1'/>
<meta name='robots' content='index, nofollow'/>
<link rel='stylesheet' type='text/css' href='/cgit-data/cgit.css'/>
<link rel='shortcut icon' href='/favicon.ico'/>
<link rel='alternate' title='Atom feed' href='http://src.fedoraproject.org/cgit/rpms/chromium.git/atom/chromium-69.0.3497.81-gcc8-alignof.patch?h=master' type='application/atom+xml'/>
<link rel='vcs-git' href='https://src.fedoraproject.org/git/rpms/chromium.git' title='rpms/chromium.git Git repository'/>
</head>
<body>
<script src="https://apps.fedoraproject.org/fedmenu/js/jquery-1.11.2.min.js"></script>
<script src="https://apps.fedoraproject.org/fedmenu/js/fedmenu.js"></script>

<script>
    var base = 'https://apps.fedoraproject.org/';
    var tokens = window.location.href.split('/');
  var repo = null;
  if (tokens.length > 5 && tokens[4] == 'rpms' && tokens[5] != '') {
    repo = tokens[5].split('.')[0];
  }
  fedmenu({
      'url': base + 'js/data.js',
      'mimeType': 'application/javascript',
      'position': 'bottom-right',
      'package': repo,
  });
</script>
<div id='cgit'><table id='header'>
<tr>
<td class='logo' rowspan='2'><a href='/cgit/'><img src='/cgit-data/cgit.png' alt='cgit logo'/></a></td>
<td class='main'><a href='/cgit/'>index</a> : <a title='rpms/chromium.git' href='/cgit/rpms/chromium.git/'>rpms/chromium.git</a></td><td class='form'><form method='get'>
<select name='h' onchange='this.form.submit();'>
<option value='epel7'>epel7</option>
<option value='f23'>f23</option>
<option value='f24'>f24</option>
<option value='f25'>f25</option>
<option value='f26'>f26</option>
<option value='f27'>f27</option>
<option value='f28'>f28</option>
<option value='f29'>f29</option>
<option value='master' selected='selected'>master</option>
</select> <input type='submit' value='switch'/></form></td></tr>
<tr><td class='sub'>rpms/chromium</td><td class='sub right'>root</td></tr></table>
<table class='tabs'><tr><td>
<a href='/cgit/rpms/chromium.git/'>summary</a><a href='/cgit/rpms/chromium.git/refs/'>refs</a><a href='/cgit/rpms/chromium.git/log/chromium-69.0.3497.81-gcc8-alignof.patch'>log</a><a class='active' href='/cgit/rpms/chromium.git/tree/chromium-69.0.3497.81-gcc8-alignof.patch'>tree</a><a href='/cgit/rpms/chromium.git/commit/chromium-69.0.3497.81-gcc8-alignof.patch'>commit</a><a href='/cgit/rpms/chromium.git/diff/chromium-69.0.3497.81-gcc8-alignof.patch'>diff</a><a href='/cgit/rpms/chromium.git/stats/chromium-69.0.3497.81-gcc8-alignof.patch'>stats</a></td><td class='form'><form class='right' method='get' action='/cgit/rpms/chromium.git/log/chromium-69.0.3497.81-gcc8-alignof.patch'>
<select name='qt'>
<option value='grep'>log msg</option>
<option value='author'>author</option>
<option value='committer'>committer</option>
<option value='range'>range</option>
</select>
<input class='txt' type='text' size='10' name='q' value=''/>
<input type='submit' value='search'/>
</form>
</td></tr></table>
<div class='path'>path: <a href='/cgit/rpms/chromium.git/tree/'>root</a>/<a href='/cgit/rpms/chromium.git/tree/chromium-69.0.3497.81-gcc8-alignof.patch'>chromium-69.0.3497.81-gcc8-alignof.patch</a></div><div class='content'>blob: 234b391824871e0a309b0beaf5c858ae36f8dddc (<a href='/cgit/rpms/chromium.git/plain/chromium-69.0.3497.81-gcc8-alignof.patch'>plain</a>)
<table summary='blob content' class='blob'>
<tr><td class='linenumbers'><pre><a id='n1' href='#n1'>1</a>
<a id='n2' href='#n2'>2</a>
<a id='n3' href='#n3'>3</a>
<a id='n4' href='#n4'>4</a>
<a id='n5' href='#n5'>5</a>
<a id='n6' href='#n6'>6</a>
<a id='n7' href='#n7'>7</a>
<a id='n8' href='#n8'>8</a>
<a id='n9' href='#n9'>9</a>
<a id='n10' href='#n10'>10</a>
<a id='n11' href='#n11'>11</a>
<a id='n12' href='#n12'>12</a>
<a id='n13' href='#n13'>13</a>
<a id='n14' href='#n14'>14</a>
<a id='n15' href='#n15'>15</a>
<a id='n16' href='#n16'>16</a>
<a id='n17' href='#n17'>17</a>
<a id='n18' href='#n18'>18</a>
</pre></td>
<td class='lines'><pre><code>diff -up chromium-69.0.3497.81/mojo/public/c/system/macros.h.gcc8-alignof chromium-69.0.3497.81/mojo/public/c/system/macros.h
<span class="hl kwb">--- chromium-69.0.3497.81/mojo/public/c/system/macros.h.gcc8-alignof	2018-09-06 10:11:54.336432699 -0400</span>
<span class="hl kwa">+++ chromium-69.0.3497.81/mojo/public/c/system/macros.h	2018-09-06 10:13:56.555727572 -0400</span>
<span class="hl kwd">&#64;&#64; -27,7 +27,13 &#64;&#64;</span>
   (sizeof(void*) == 4 ? 32 : 0)
 
 // Like the C++11 |alignof| operator.
<span class="hl kwb">-#if __cplusplus &gt;= 201103L</span>
<span class="hl kwa">+#if defined(__GNUC__) &amp;&amp; __GNUC__ &gt;= 8</span>
<span class="hl kwa">+// GCC 8 has changed the alignof operator to return the minimal alignment</span>
<span class="hl kwa">+// required by the target ABI, instead of the preferred alignment.</span>
<span class="hl kwa">+// This means that on 32-bit x86, it will return 4 instead of 8.</span>
<span class="hl kwa">+// Use __alignof__ instead to avoid this.</span>
<span class="hl kwa">+#define MOJO_ALIGNOF(type) __alignof__(type)</span>
<span class="hl kwa">+#elif __cplusplus &gt;= 201103L</span>
 #define MOJO_ALIGNOF(type) alignof(type)
 #elif defined(__GNUC__)
 #define MOJO_ALIGNOF(type) __alignof__(type)
</code></pre></td></tr></table>
</div> <!-- class=content -->
<div class='footer'>generated by <a href='https://git.zx2c4.com/cgit/about/'>cgit v1.1</a> at 2019-02-17 08:32:15 +0000</div>
</div> <!-- id=cgit -->
</body>
</html>