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)
URL:
Keywords: buildisok
Depends on:
Blocks:
 
Reported: 2020-12-19 11:10 UTC by O. Hartmann
Modified: 2020-12-19 17:57 UTC (History)
0 users

See Also:


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

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