summaryrefslogtreecommitdiff
path: root/libre/bfgminer/remove-dangerous-rpath.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libre/bfgminer/remove-dangerous-rpath.patch')
-rw-r--r--libre/bfgminer/remove-dangerous-rpath.patch32
1 files changed, 21 insertions, 11 deletions
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