[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#909249: marked as done (libdrm: FTBFS on kfreebsd-any)



Your message dated Wed, 23 Jan 2019 12:11:28 +0000
with message-id <E1gmHNQ-000Fhd-Bd@fasolo.debian.org>
and subject line Bug#909249: fixed in libdrm 2.4.97-1
has caused the Debian Bug report #909249,
regarding libdrm: FTBFS on kfreebsd-any
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
909249: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=909249
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: libdrm
Version: 2.4.94-1
Severity: important
Tags: ftbfs, patch
User: debian-kbsd@lists.debian.org
Usertags: kfreebsd

Hello,

Currently libdrm FTBFS GNU/kFreeBSD (and GNU/Hurd) due to a missing case in
include/drm/drm.h. Attached is a patch to fix this. This patch is enough to make
libdrm build properly on kfreebsd-any. A corresponding patch for Hurd together
with fixes for PATH_MAX issues will be filed in a separate bug report. 

Thanks!
Index: libdrm-2.4.94/include/drm/drm.h
===================================================================
--- libdrm-2.4.94.orig/include/drm/drm.h
+++ libdrm-2.4.94/include/drm/drm.h
@@ -57,6 +57,20 @@ typedef __uint64_t __u64;
 typedef size_t   __kernel_size_t;
 typedef unsigned int drm_handle_t;
 
+#elif   defined(__FreeBSD_kernel__)
+#include <sys/ioccom.h>
+#include <sys/types.h>
+typedef __int8_t   __s8;
+typedef __uint8_t  __u8;
+typedef __int16_t  __s16;
+typedef __uint16_t __u16;
+typedef __int32_t  __s32;
+typedef __uint32_t __u32;
+typedef __int64_t  __s64;
+typedef __uint64_t __u64;
+typedef size_t   __kernel_size_t;
+typedef unsigned long drm_handle_t;
+
 #else /* One of the BSDs */
 #include <sys/ioccom.h>
 #include <sys/types.h>

--- End Message ---
--- Begin Message ---
Source: libdrm
Source-Version: 2.4.97-1

We believe that the bug you reported is fixed in the latest version of
libdrm, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 909249@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andreas Boll <aboll@debian.org> (supplier of updated libdrm package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 23 Jan 2019 12:45:04 +0100
Source: libdrm
Binary: libdrm-dev libdrm2 libdrm-common libdrm2-udeb libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libdrm-omap1 libdrm-freedreno1 libdrm-exynos1 libdrm-tegra0 libdrm-amdgpu1 libdrm-etnaviv1
Architecture: source
Version: 2.4.97-1
Distribution: unstable
Urgency: medium
Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
Changed-By: Andreas Boll <aboll@debian.org>
Description:
 libdrm-amdgpu1 - Userspace interface to amdgpu-specific kernel DRM services -- run
 libdrm-common - Userspace interface to kernel DRM services -- common files
 libdrm-dev - Userspace interface to kernel DRM services -- development files
 libdrm-etnaviv1 - Userspace interface to etnaviv-specific kernel DRM services -- ru
 libdrm-exynos1 - Userspace interface to exynos-specific kernel DRM services -- run
 libdrm-freedreno1 - Userspace interface to msm/kgsl kernel DRM services -- runtime
 libdrm-intel1 - Userspace interface to intel-specific kernel DRM services -- runt
 libdrm-nouveau2 - Userspace interface to nouveau-specific kernel DRM services -- ru
 libdrm-omap1 - Userspace interface to omap-specific kernel DRM services -- runti
 libdrm-radeon1 - Userspace interface to radeon-specific kernel DRM services -- run
 libdrm-tegra0 - Userspace interface to tegra-specific kernel DRM services -- runt
 libdrm2    - Userspace interface to kernel DRM services -- runtime
 libdrm2-udeb - Userspace interface to kernel DRM services -- runtime (udeb)
Closes: 837034 909249
Changes:
 libdrm (2.4.97-1) unstable; urgency=medium
 .
   [ Andreas Boll ]
   * New upstream release.
   * Update libdrm-amdgpu1.symbols and shlibs.
   * Update libdrm-freedreno1.symbols and shlibs.
 .
   [ James Clarke ]
   * Fix build on GNU/kFreeBSD (Closes: #837034, #909249).
   * Remove no longer needed build-dep libbsd-overlay.
Checksums-Sha1:
 48308d8fffda815f7fb17a6c9521e0f26ede2e3b 2985 libdrm_2.4.97-1.dsc
 af778f72d716589e9eacec9336bafc81b447cc42 1124510 libdrm_2.4.97.orig.tar.gz
 87ffdc7a7eb2475ec3b2d933a04d769383a3ff52 51561 libdrm_2.4.97-1.diff.gz
Checksums-Sha256:
 a9517c4dcd6e58485d64cb506134bd8f47d0a9788740e6754feb6c1a8fc83a72 2985 libdrm_2.4.97-1.dsc
 8c6f4d0934f5e005cc61bc05a917463b0c867403de176499256965f6797092f1 1124510 libdrm_2.4.97.orig.tar.gz
 8d92b18a722618ac3d800241a992d6438c82ed9009023f677ed332523cf800bd 51561 libdrm_2.4.97-1.diff.gz
Files:
 08aebdb744846cc5473d44a301138267 2985 libs optional libdrm_2.4.97-1.dsc
 a8bb09d6f4ed28191ba6e86e788dc3a4 1124510 libs optional libdrm_2.4.97.orig.tar.gz
 8eb6abd2a1aa4216bf002e00dad85de1 51561 libs optional libdrm_2.4.97-1.diff.gz

-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEE45C5cAWC+uqVmsrUHu9T04o6nGcFAlxIVAERHGFib2xsQGRl
Ymlhbi5vcmcACgkQHu9T04o6nGeM5xAAjgnkTjDzl5LQr3sHRuAbyxu+RcxhClhi
PuFNoWt+efmWKzz7jXogJtYsdV17wKy+kHoMiQm2WiAt0sbUl9+29fB0qp2aEEpX
fXxjrGtKJnSA6ctV0oYTwu8J+s3awjemQRrFRFHX0/F7LbGEM150mv+XBXCFl1w/
TrGYjv+I+6GuwVXXT4yIXXoOxEaC5WBYCGljiRHHAt3wORxEMhtsBrXMR8YmCPHL
mivK3BBZXqJcdA8zSNRqA2rrzICn+5rnT04DW7+mlajhG0AJOuTV0mm4dLpHXKNp
YtHpPxRRrdRxG7GoTGV4QjemP9noSMYiPCOXHtOGqZAwcLN4026eyJIOj8Xl8Sf2
J5V4J+uvE1PFlVUM2PQ5DKQNlCCT5d8XP9eh5FBE27YG7fSuu21DCKG/0O1T2RU/
3qKb0JUvC7qkDCBMS+Q/HSe3hriSSwaFn6Yj9+VJUlt7IZL8TGlF1MsIcq3Y6JJH
TfxyXsFDfh0GKIOIWiLheassTTRR690/yrBFp2COuHCdYqZIn1LVArMKllHUrR0I
USFXT+tI+SdYURVmif/PnPcCkTwGGHoxG7HbD/xFyz9LfALA0Gf0YWlaPg6lF3xQ
WrcVXZg7HvyjsSsM/4ezik6OAQBhtEQzlWuXL3zfaaVYbgFCALibiXIEYdKcW276
aOgsIQS9otY=
=pb3+
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: