/[gentoo-x86]/net-misc/bfgminer/files/Bugfix-Fix-building-without-OpenCL-support.patch
Gentoo

Contents of /net-misc/bfgminer/files/Bugfix-Fix-building-without-OpenCL-support.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Fri Apr 27 10:35:10 2012 UTC (2 years, 9 months ago) by blueness
Branch: MAIN
Initial commit from luke-jr's bitcoin overlay. Thanks

(Portage version: 2.1.10.49/cvs/Linux x86_64)

1 From f7125dc965963bd9860dc92616e2499a02297587 Mon Sep 17 00:00:00 2001
2 From: Luke Dashjr <luke-jr+git@utopios.org>
3 Date: Thu, 26 Apr 2012 21:25:32 -0400
4 Subject: [PATCH] Bugfix: Fix building without OpenCL support
5
6 ---
7 driver-opencl.c | 2 ++
8 1 files changed, 2 insertions(+), 0 deletions(-)
9
10 diff --git a/driver-opencl.c b/driver-opencl.c
11 index 82b8cf3..2e1d4cd 100644
12 --- a/driver-opencl.c
13 +++ b/driver-opencl.c
14 @@ -44,6 +44,7 @@
15 /* TODO: cleanup externals ********************/
16
17
18 +#ifdef HAVE_OPENCL
19 /* Platform API */
20 CL_API_ENTRY cl_int CL_API_CALL
21 (*clGetPlatformIDs)(cl_uint /* num_entries */,
22 @@ -248,6 +249,7 @@ load_opencl_symbols() {
23
24 return true;
25 }
26 +#endif
27
28
29 #ifdef HAVE_CURSES
30 --
31 1.7.3.4

  ViewVC Help
Powered by ViewVC 1.1.20