Mail archive
alpine-aports

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

From: alpine-mips-patches <info_at_mobile-stream.com>
Date: Mon, 3 Dec 2018 10:26:30 +0000

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
_at_@ -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"
_at_@ -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_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Mon Dec 03 2018 - 10:26:30 UTC