~alpine/aports

[alpine-aports] [PATCH] community/opencl-icd-loader: fix build with gcc8

alpine-mips-patches <info@mobile-stream.com>
Details
Message ID
<20181203105409.AE5074C4A1@mx12.valuehost.ru>
Sender timestamp
1543832790
DKIM signature
missing
Download raw message
Patch: +2 -1
One more GNU-style inline case.

Fix with -std=gnu89 (safe cause configure wants just C89).
---
 community/opencl-icd-loader/APKBUILD | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/community/opencl-icd-loader/APKBUILD b/community/opencl-icd-loader/APKBUILD
index 0ff1819fbf..ba2d8196f3 100644
--- a/community/opencl-icd-loader/APKBUILD
+++ b/community/opencl-icd-loader/APKBUILD
@@ -3,7 +3,7 @@
pkgname=opencl-icd-loader
_pkgreal=ocl-icd
pkgver=2.2.12
pkgrel=0
pkgrel=1
pkgdesc="Generic OpenCL ICD Loader"
url="https://forge.imag.fr/projects/ocl-icd/"
arch="all"
@@ -16,6 +16,7 @@ builddir="$srcdir/$_pkgreal-2.2.9"  # error in archive name

build() {
	cd "$builddir"
	CFLAGS="$CFLAGS -std=gnu89" \
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
-- 
2.19.2




---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---
Reply to thread Export thread (mbox)