From d3474a134b216838daecc6b9da4defbf87692db8 Mon Sep 17 00:00:00 2001 From: Xiangfu Date: Tue, 25 Dec 2012 08:59:02 +0800 Subject: [PATCH] cgminer: update to 2.10.2 --- cgminer/Makefile | 6 +++--- cgminer/patches/0001-add-roundl-define.patch | 15 --------------- 2 files changed, 3 insertions(+), 18 deletions(-) delete mode 100644 cgminer/patches/0001-add-roundl-define.patch diff --git a/cgminer/Makefile b/cgminer/Makefile index ca5a07d..df66dc2 100644 --- a/cgminer/Makefile +++ b/cgminer/Makefile @@ -9,9 +9,9 @@ include $(TOPDIR)/rules.mk PKG_NAME:=cgminer -PKG_VERSION:=20120905 -PKG_REV:=ba0122535a7045f75adcab2953f51c241683b0de -# this is upstream version 2.7.5 +PKG_VERSION:=20121225 +PKG_REV:=b9c7f3d169942417e04f13fab6e86d944aff37cb +# this is upstream version 2.10.2 PKG_RELEASE:=1 PKG_INSTALL:=1 diff --git a/cgminer/patches/0001-add-roundl-define.patch b/cgminer/patches/0001-add-roundl-define.patch deleted file mode 100644 index 966af7e..0000000 --- a/cgminer/patches/0001-add-roundl-define.patch +++ /dev/null @@ -1,15 +0,0 @@ -diff --git a/miner.h b/miner.h -index 120d763..7b7d6d5 100644 ---- a/miner.h -+++ b/miner.h -@@ -159,6 +159,10 @@ void *alloca (size_t); - #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) - #endif - -+#ifndef roundl -+#define roundl(x) (long double)((long long)((x==0)?0.0:((x)+((x)>0)?0.5:-0.5))) -+#endif -+ - enum alive { - LIFE_WELL, - LIFE_SICK,