<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Compilation of xf86-video-intel fails because byteswap.h is not available on OpenBSD"
href="https://bugs.freedesktop.org/show_bug.cgi?id=109268">109268</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Compilation of xf86-video-intel fails because byteswap.h is not available on OpenBSD
</td>
</tr>
<tr>
<th>Product</th>
<td>xorg
</td>
</tr>
<tr>
<th>Version</th>
<td>git
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>OpenBSD
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Driver/intel
</td>
</tr>
<tr>
<th>Assignee</th>
<td>chris@chris-wilson.co.uk
</td>
</tr>
<tr>
<th>Reporter</th>
<td>ejpbazlv@mail.unet.to
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>intel-gfx-bugs@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>File src/sna/sna_video.c includes byteswap.h which is not present on OpenBSD
and compilation fails. This problem is visible for me on commit
e5ff8e1828f97891c819c919d7115c6e18b2eb1f (date Mon Dec 3 08:58:39 2018 +0000,
latest as of my testing) and git log says that usage of bswap_32() function was
introduced in 746ab3bb131dea8ad015e7804bfcdd6b4cc4f44e (date Tue Nov 13
09:45:02 2018 +0200). I'm using git checkout from:
<a href="https://gitlab.freedesktop.org/xorg/driver/xf86-video-intel.git">https://gitlab.freedesktop.org/xorg/driver/xf86-video-intel.git</a>
of the driver. Other than bswap_32() problem, the code works and compiles on
OpenBSD -current.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>