[Pkg-opencl-devel] Bug#947881: pocl: fix build on hurd-i386

Samuel Thibault sthibault at debian.org
Wed Jan 1 14:19:44 GMT 2020


Source: pocl
Version: 1.3-10
Severity: important
Tags: patch

Hello,

pocl currently FTBFS on hurd-i386 only due to a header inclusion
condition bug, could you apply the attached patch?

Samuel

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'stable-debug'), (500, 'proposed-updates-debug'), (500, 'proposed-updates'), (500, 'oldstable-proposed-updates-debug'), (500, 'oldstable-proposed-updates'), (500, 'oldoldstable'), (500, 'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.4.0 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

-- 
Samuel
<A> sauf que le firewall bloque tout sauf internet
 -+- ben ouais, il bloque ipx/spx ! -+-
-------------- next part --------------
Index: pocl-1.3/lib/CL/pocl_timing.c
===================================================================
--- pocl-1.3.orig/lib/CL/pocl_timing.c
+++ pocl-1.3/lib/CL/pocl_timing.c
@@ -35,7 +35,7 @@
 #  else
 #    include <sys/time.h>
 #  endif
-#  ifdef __MACH__
+#  ifdef __APPLE__
 #    include <mach/clock.h>
 #    include <mach/mach.h>
 #  endif


More information about the Pkg-opencl-devel mailing list