diff options
-rw-r--r-- | community/opencl-icd-loader/APKBUILD | 11 | ||||
-rw-r--r-- | community/opencl-icd-loader/ocl_icd_loader.c.patch | 12 |
2 files changed, 19 insertions, 4 deletions
diff --git a/community/opencl-icd-loader/APKBUILD b/community/opencl-icd-loader/APKBUILD index 0ff1819fbf..c065c3f747 100644 --- a/community/opencl-icd-loader/APKBUILD +++ b/community/opencl-icd-loader/APKBUILD @@ -3,15 +3,16 @@ 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" license="custom" depends_dev="$pkgname" -makedepends="ruby" +makedepends="ruby libtool" subpackages="$pkgname-doc $pkgname-dev" -source="$pkgname-$pkgver.tar.gz::https://forge.imag.fr/frs/download.php/716/$_pkgreal-$pkgver.tar.gz" +source="$pkgname-$pkgver.tar.gz::https://forge.imag.fr/frs/download.php/716/$_pkgreal-$pkgver.tar.gz + ocl_icd_loader.c.patch" builddir="$srcdir/$_pkgreal-2.2.9" # error in archive name build() { @@ -23,6 +24,7 @@ build() { --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var + make } check() { @@ -36,4 +38,5 @@ package() { install -D -m644 COPYING "$pkgdir"/usr/share/doc/ocl-icd/LICENSE } -sha512sums="d0b1531812feb493bdc27fd4a141796c2ecd14efd79cfa00af47c7c6edc1a7b323cd2d3b7254117a1cfa1c55e24494f662034041a0976b6ee5a6154626eb2d65 opencl-icd-loader-2.2.12.tar.gz" +sha512sums="d0b1531812feb493bdc27fd4a141796c2ecd14efd79cfa00af47c7c6edc1a7b323cd2d3b7254117a1cfa1c55e24494f662034041a0976b6ee5a6154626eb2d65 opencl-icd-loader-2.2.12.tar.gz +7857997fdc03ba9db7a7acd25706d8616b3037f0f1aca03cab652be593475a498c7f04b42cdecf08daafdfb8de4684181e4a1389707b898b78797a88779c162b ocl_icd_loader.c.patch" diff --git a/community/opencl-icd-loader/ocl_icd_loader.c.patch b/community/opencl-icd-loader/ocl_icd_loader.c.patch new file mode 100644 index 0000000000..3ce6f8766e --- /dev/null +++ b/community/opencl-icd-loader/ocl_icd_loader.c.patch @@ -0,0 +1,12 @@ +--- a/ocl_icd_loader.c.orig 2017-01-19 13:55:12 UTC ++++ b/ocl_icd_loader.c +@@ -53,7 +53,7 @@ int debug_ocl_icd_mask=0; + + typedef __typeof__(clGetPlatformInfo) *clGetPlatformInfo_fn; + +-inline void dump_vendor_icd(const char* info, const struct vendor_icd *v) { ++static inline void dump_vendor_icd(const char* info, const struct vendor_icd *v) { + debug(D_DUMP, "%s %p={ num=%i, handle=%p, f=%p}\n", info, + v, v->num_platforms, v->dl_handle, v->ext_fn_ptr); + } + |