public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-misc/bfgminer/files: Bugfix-Fix-building-without-OpenCL-support.patch
@ 2012-04-27 10:35 Anthony G. Basile (blueness)
  0 siblings, 0 replies; only message in thread
From: Anthony G. Basile (blueness) @ 2012-04-27 10:35 UTC (permalink / raw
  To: gentoo-commits

blueness    12/04/27 10:35:11

  Added:                Bugfix-Fix-building-without-OpenCL-support.patch
  Log:
  Initial commit from luke-jr's bitcoin overlay. Thanks
  
  (Portage version: 2.1.10.49/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  net-misc/bfgminer/files/Bugfix-Fix-building-without-OpenCL-support.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/bfgminer/files/Bugfix-Fix-building-without-OpenCL-support.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/bfgminer/files/Bugfix-Fix-building-without-OpenCL-support.patch?rev=1.1&content-type=text/plain

Index: Bugfix-Fix-building-without-OpenCL-support.patch
===================================================================
From f7125dc965963bd9860dc92616e2499a02297587 Mon Sep 17 00:00:00 2001
From: Luke Dashjr <luke-jr+git@utopios.org>
Date: Thu, 26 Apr 2012 21:25:32 -0400
Subject: [PATCH] Bugfix: Fix building without OpenCL support

---
 driver-opencl.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/driver-opencl.c b/driver-opencl.c
index 82b8cf3..2e1d4cd 100644
--- a/driver-opencl.c
+++ b/driver-opencl.c
@@ -44,6 +44,7 @@
 /* TODO: cleanup externals ********************/
 
 
+#ifdef HAVE_OPENCL
 /* Platform API */
 CL_API_ENTRY cl_int CL_API_CALL
 (*clGetPlatformIDs)(cl_uint          /* num_entries */,
@@ -248,6 +249,7 @@ load_opencl_symbols() {
 	
 	return true;
 }
+#endif
 
 
 #ifdef HAVE_CURSES
-- 
1.7.3.4







^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-04-27 10:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-27 10:35 [gentoo-commits] gentoo-x86 commit in net-misc/bfgminer/files: Bugfix-Fix-building-without-OpenCL-support.patch Anthony G. Basile (blueness)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox