forked from pool/rtl-sdr
1ea97b31dd
- patches: rtl-sdr-0003-disable-zerocopy-by-default.patch rtl-sdr-0007-allow-build-rtlsdr-as-subroject.patch rtl-sdr-0008-add-CMP0075-policy.patch rtl-sdr-0016-add-missing-rtlsdrConfig.patch rtl-sdr-0017-add-rtl_biast-as-install-target.patch rtl-sdr-0018-fix-for-older-cmake.patch merged into rtl-sdr-0015-modernize-cmake-usage.patch - patch rtl-sdr-0005-add-rtlsdr_set_bias_tee_gpio.patch merged into rtl-sdr-0006-add-rtl_biast.patch - Added patches to upgrade to latest git head (only significant changes), including: + rtl-sdr-0001-mmap-bug-arm.patch + rtl-sdr-0002-fix-rtlsdr_open-memory-leak.patch + rtl-sdr-0003-disable-zerocopy-by-default.patch + rtl-sdr-0004-fix-rtl_eeprom-warnings.patch + rtl-sdr-0005-add-rtlsdr_set_bias_tee_gpio.patch + rtl-sdr-0006-add-rtl_biast.patch + rtl-sdr-0007-allow-build-rtlsdr-as-subroject.patch + rtl-sdr-0008-add-CMP0075-policy.patch + rtl-sdr-0009-fix-FC0013-UHF-reception.patch + rtl-sdr-0010-improve-librtlsdr_pc.patch + rtl-sdr-0011-improve-rtl_power--scanning-range-parsing.patch + rtl-sdr-0012-use-udev-uaccess_rules.patch (not used) + rtl-sdr-0013-add-IPV6-for-rtl_tcp.patch + rtl-sdr-0014-initialize-listensocket_in-rtl_tcp.patch + rtl-sdr-0015-modernize-cmake-usage.patch + rtl-sdr-0016-add-missing-rtlsdrConfig.patch + rtl-sdr-0017-add-rtl_biast-as-install-target.patch + rtl-sdr-0018-fix-for-older-cmake.patch + rtl-sdr-0019-fix-short-write-in-r82xx_read.patch + rtl-sdr-0020-populate-pkgconfig-with-prefix.patch * Full bias tee support for RTL-SDR v3 dongle * Command line utility rtl_biast for controlling bias tee * IPV-6 support for rtl_tcp * Fixed some bugs and compile time issues OBS-URL: https://build.opensuse.org/request/show/907681 OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/rtl-sdr?expand=0&rev=21
29 lines
1.0 KiB
Diff
29 lines
1.0 KiB
Diff
From 222517b506278178ab93182d79ccf7eb04d107ce Mon Sep 17 00:00:00 2001
|
|
From: "A. Maitland Bottoms" <bottoms@debian.org>
|
|
Date: Sun, 8 May 2016 18:57:29 -0400
|
|
Subject: [PATCH] Improve librtlsdr.pc file
|
|
|
|
librtlsdr.pc should declare -lusb-1.0 in Libs.private section
|
|
to exclude usb library from dynamic linking.
|
|
References to libusb headers are not needed in Cflags, since these
|
|
headers are not used by external rtlsdr API, but this is optional.
|
|
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=784912
|
|
---
|
|
librtlsdr.pc.in | 6 +++---
|
|
1 file changed, 3 insertions(+), 3 deletions(-)
|
|
|
|
diff --git a/librtlsdr.pc.in b/librtlsdr.pc.in
|
|
index 5e55049..e46519a 100644
|
|
--- a/librtlsdr.pc.in
|
|
+++ b/librtlsdr.pc.in
|
|
@@ -6,6 +6,6 @@ includedir=@includedir@
|
|
Name: RTL-SDR Library
|
|
Description: C Utility Library
|
|
Version: @VERSION@
|
|
-Cflags: -I${includedir}/ @RTLSDR_PC_CFLAGS@
|
|
-Libs: -L${libdir} -lrtlsdr -lusb-1.0
|
|
-Libs.private: @RTLSDR_PC_LIBS@
|
|
+Cflags: -I${includedir}/
|
|
+Libs: -L${libdir} -lrtlsdr
|
|
+Libs.private: -lusb-1.0 @RTLSDR_PC_LIBS@
|