Bug 251958

Summary: [PATCH] lang/pocl: Update to 1.6 available
Product: Ports & Packages Reporter: O. Hartmann <ohartmann>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Many People Keywords: buildisok
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
[PATCH] lang/pocl: Update to 1.6 available none

Description O. Hartmann 2020-12-19 11:10:26 UTC
Created attachment 220715 [details]
[PATCH] lang/pocl: Update to 1.6 available

Attached, you'll find a pacth for updating to the POCL-1.6, released on 16.12.2020.
The port builds/compiles and a small testsuite of home brewn code fullfilled successfully.
Comment 1 O. Hartmann 2020-12-19 12:39:00 UTC
In file

lib/CL/devices/cpuinfo.c

seems to reside a bug, not fixed upstream. In lines 418, 419 of the original file, cpuinfo.c, the type declaration of f (FILE*) and num_read (int) seem missing. Although I tried to exclude those lines by an #ifdef __linux__ preprocessor clause so it doesn't have an impact when compiling on FreeBSD, I'll try to let this be fixed upstream.
Comment 2 Automation User 2020-12-19 16:20:05 UTC
Build and package info is available at https://gitlab.com/swills/freebsd-ports/pipelines/232202643
Comment 3 commit-hook freebsd_committer freebsd_triage 2020-12-19 17:56:33 UTC
A commit references this bug:

Author: jbeich
Date: Sat Dec 19 17:56:00 UTC 2020
New revision: 558462
URL: https://svnweb.freebsd.org/changeset/ports/558462

Log:
  lang/pocl: update to 1.6

  Changes:	http://portablecl.org/pocl-1.6.html
  PR:		251958
  Submitted by:	O. Hartmann (maintainer)

Changes:
  head/lang/pocl/Makefile
  head/lang/pocl/distinfo
  head/lang/pocl/files/patch-lib_CL_devices_cpuinfo.c
  head/lang/pocl/pkg-plist
Comment 4 Jan Beich freebsd_committer freebsd_triage 2020-12-19 17:57:30 UTC
Comment on attachment 220715 [details]
[PATCH] lang/pocl: Update to 1.6 available

>-DOCS_BUILD_DEPENDS=	${PY_SPHINX}
>+DOCS_BUILD_DEPENDS=	${PY_FLAVOR}-sphinx>0:textproc/py-sphinx@${PY_FLAVOR}

Stop reverting ports r534966 or explain why this is necessary.