diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-12-25 23:06:25 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-12-25 23:06:25 +0000 |
commit | 441d1370330332b7d78f238d2f5e13f7aed5e4e0 (patch) | |
tree | 6a5171dd615dfeee62a45044144c66e864738fb0 /net-wireless/gr-osmosdr/files/gr-osmosdr-0.2.3-use_xtrx_open_string.patch | |
parent | ab3da91fb6c91a9df52fff8f991570f456fd3c7a (diff) |
gentoo christmass resync : 25.12.2020
Diffstat (limited to 'net-wireless/gr-osmosdr/files/gr-osmosdr-0.2.3-use_xtrx_open_string.patch')
-rw-r--r-- | net-wireless/gr-osmosdr/files/gr-osmosdr-0.2.3-use_xtrx_open_string.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/net-wireless/gr-osmosdr/files/gr-osmosdr-0.2.3-use_xtrx_open_string.patch b/net-wireless/gr-osmosdr/files/gr-osmosdr-0.2.3-use_xtrx_open_string.patch new file mode 100644 index 000000000000..7699c81fed32 --- /dev/null +++ b/net-wireless/gr-osmosdr/files/gr-osmosdr-0.2.3-use_xtrx_open_string.patch @@ -0,0 +1,23 @@ +From ecca19615c588f771a131432f7161156efc274c2 Mon Sep 17 00:00:00 2001 +From: lain <code@hacktheinter.net> +Date: Tue, 30 Jul 2019 15:59:38 -0700 +Subject: [PATCH] Quick patch to use xtrx_open_string() instead of the removed + xtrx_open_list(). + +--- + lib/xtrx/xtrx_obj.cc | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/lib/xtrx/xtrx_obj.cc b/lib/xtrx/xtrx_obj.cc +index 1d58de5..5c73259 100644 +--- a/lib/xtrx/xtrx_obj.cc ++++ b/lib/xtrx/xtrx_obj.cc +@@ -68,7 +68,7 @@ xtrx_obj::xtrx_obj(const std::string &path, unsigned loglevel, bool lmsreset) + unsigned xtrxflag = (loglevel & XTRX_O_LOGLVL_MASK) | ((lmsreset) ? XTRX_O_RESET : 0); + std::cerr << "xtrx_obj::xtrx_obj = " << xtrxflag << std::endl; + +- int res = xtrx_open_list(path.c_str(), NULL, &_obj); ++ int res = xtrx_open_string(path.c_str(), &_obj); + if (res < 0) { + std::stringstream message; + message << "Couldn't open " ": Error: " << -res; |