Bug 251958 - [PATCH] lang/pocl: Update to 1.6 available
Summary: [PATCH] lang/pocl: Update to 1.6 available
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-ports-bugs (Nobody)
Keywords: buildisok
Depends on:
Reported: 2020-12-19 11:10 UTC by O. Hartmann
Modified: 2020-12-19 17:57 UTC (History)
0 users

See Also:

[PATCH] lang/pocl: Update to 1.6 available (6.29 KB, patch)
2020-12-19 11:10 UTC, O. Hartmann
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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


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 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

  lang/pocl: update to 1.6

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

Comment 4 Jan Beich freebsd_committer 2020-12-19 17:57:30 UTC
Comment on attachment 220715 [details]
[PATCH] lang/pocl: Update to 1.6 available

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

Stop reverting ports r534966 or explain why this is necessary.