summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libre/bfgminer/PKGBUILD13
-rw-r--r--libre/bfgminer/remove-dangerous-rpath.patch32
2 files changed, 27 insertions, 18 deletions
diff --git a/libre/bfgminer/PKGBUILD b/libre/bfgminer/PKGBUILD
index 2591e8b84..dfbdb303e 100644
--- a/libre/bfgminer/PKGBUILD
+++ b/libre/bfgminer/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 117772 2014-08-22 15:36:25Z fyan $
+# $Id: PKGBUILD 120159 2014-10-05 13:21:49Z fyan $
# Maintainer (Arch): Timothy Redaelli <timothy.redaelli@gmail.com>
# Contributor (Arch): Andy Weidenbaum <archbaum@gmail.com>
pkgname=bfgminer
-pkgver=4.7.0
-pkgrel=1.parabola3
+pkgver=4.9.0
+pkgrel=1.parabola1
pkgdesc="Bitcoin miner featuring overclocking, monitoring, fan speed control and remote management. For FPGA/GPU/CPU Bitcoin mining, with opencl-mesa recommendation"
arch=('i686' 'x86_64' 'mips64el')
depends=('curl' 'jansson' 'libevent' 'libmicrohttpd' 'libusb' 'lm_sensors')
@@ -16,14 +16,13 @@ url='http://bfgminer.org/'
license=('GPL3')
source=(http://luke.dashjr.org/programs/bitcoin/files/$pkgname/$pkgver/$pkgname-$pkgver.txz
remove-dangerous-rpath.patch)
-sha256sums=('044636103f2c399d8c0290e6642ef896cff43de3c025d99a1465e670337aeb0a'
- 'd26d07ca23ae25798c4db37cfda1a6a76f22d06e73efab1ddf62b3e1a7eef04c')
+sha256sums=('e406e6584443f5ab49ea936eaab80adb338d0966e0a4862b80434fdaa8e0daa7'
+ '27d89695ff963dd8f66654b9d454aa725c7db769def708513188fe0a496fda4d')
prepare() {
cd "$srcdir"/$pkgname-$pkgver
- patch -p0 < "${srcdir}"/remove-dangerous-rpath.patch
- NOSUBMODULES=1 ./autogen.sh
+ patch -p1 -i "${srcdir}"/remove-dangerous-rpath.patch
}
build() {
diff --git a/libre/bfgminer/remove-dangerous-rpath.patch b/libre/bfgminer/remove-dangerous-rpath.patch
index abd815141..6152d23c3 100644
--- a/libre/bfgminer/remove-dangerous-rpath.patch
+++ b/libre/bfgminer/remove-dangerous-rpath.patch
@@ -1,11 +1,21 @@
---- configure.ac.orig
-+++ configure.ac
-@@ -514,7 +514,7 @@
- ])
- else
- libblkmaker_CFLAGS='-Ilibblkmaker'
-- libblkmaker_LDFLAGS='-Llibblkmaker/.libs -Wl,-rpath,\$$ORIGIN/libblkmaker/.libs'"$origin_LDFLAGS"
-+ libblkmaker_LDFLAGS='-Llibblkmaker/.libs'
- libblkmaker_LIBS='-lblkmaker_jansson-0.1 -lblkmaker-0.1'
- AC_CONFIG_SUBDIRS([libblkmaker])
- fi
+diff -Naur bfgminer-4.8.0-orig/configure bfgminer-4.8.0/configure
+--- bfgminer-4.8.0-orig/configure 2014-10-04 20:54:28.717071865 -0400
++++ bfgminer-4.8.0/configure 2014-10-04 20:55:50.140274445 -0400
+@@ -12201,7 +12201,7 @@
+ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
+
+ libbase58_CFLAGS='-I'"${ac_abs_top_srcdir}"'/libbase58'
+- libbase58_LIBS='-L'"${ac_abs_top_srcdir}"'/libbase58/.libs -Wl,-rpath,\$$ORIGIN/libbase58/.libs'"$origin_LDFLAGS"' -lbase58'
++ libbase58_LIBS='-L'"${ac_abs_top_srcdir}"'/libbase58/.libs -Wl,-rpath,/usr/lib'"$origin_LDFLAGS"' -lbase58'
+ libbase58_SUBDIRS=libbase58
+ libbase58_EXTRADEPS=libbase58_directory
+ BUNDLED_LIB_RULES="$BUNDLED_LIB_RULES
+@@ -12470,7 +12470,7 @@
+ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
+
+ libblkmaker_CFLAGS='-I'"${ac_abs_top_srcdir}"'/libblkmaker'
+- libblkmaker_LIBS='-L'"${ac_abs_top_srcdir}"'/libblkmaker/.libs -Wl,-rpath,\$$ORIGIN/libblkmaker/.libs'"$origin_LDFLAGS"' -lblkmaker_jansson-0.1 -lblkmaker-0.1'
++ libblkmaker_LIBS='-L'"${ac_abs_top_srcdir}"'/libblkmaker/.libs -Wl,-rpath,/usr/lib'"$origin_LDFLAGS"' -lblkmaker_jansson-0.1 -lblkmaker-0.1'
+ libblkmaker_SUBDIRS=libblkmaker
+ libblkmaker_EXTRADEPS=libblkmaker_directory
+ BUNDLED_LIB_RULES="$BUNDLED_LIB_RULES