summaryrefslogtreecommitdiff
path: root/media-radio/svxlink
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-12-28 04:06:07 +0000
committerV3n3RiX <venerix@redcorelinux.org>2017-12-28 04:06:07 +0000
commitccf84bcd604130256d1377cd58f0a634ae6ee20f (patch)
treef42a709e0c7805183f5680883bc76dc935b7a0cc /media-radio/svxlink
parentc85a90f90521c7e11d618b527d6630cc64cecbd4 (diff)
gentoo resync : 28.12.2017
Diffstat (limited to 'media-radio/svxlink')
-rw-r--r--media-radio/svxlink/Manifest3
-rw-r--r--media-radio/svxlink/files/svxlink-15.11-gcc72.patch12
-rw-r--r--media-radio/svxlink/svxlink-15.11.ebuild5
3 files changed, 18 insertions, 2 deletions
diff --git a/media-radio/svxlink/Manifest b/media-radio/svxlink/Manifest
index 35d65e1eedd7..ec1f0020640c 100644
--- a/media-radio/svxlink/Manifest
+++ b/media-radio/svxlink/Manifest
@@ -1,7 +1,8 @@
AUX remotetrx.init 786 BLAKE2B ec1183abfa81ee2e309bf91476623f8030a997f9a17ce8ba37a523fb30fb424972759d8aa81bfd776d7d53222ce6594739231db827248b0cf27876c9267f28d4 SHA512 66222df5ee57a28b5f857ee1209efa3e9af270be3f38ef763ec757b55ef58bd831f18e4704f6dd5554435522a24982ce59c8e70e013e2098b16b997495fb2d05
AUX remotetrx.rc 578 BLAKE2B 1f80f1c09aa77fc11a004a40a0a878f2b0b2f2c7d0dc2a70510e58442d7557b9424807cc1168a806e5348c314d1fb5c5afc562f3ae9a82daf470d5b07b412c5e SHA512 759adaa668f5f0315dd9d710d3ed738b4a0e042a7d12541862c2a311073d25573195336416b3940aaa89443242ce34abf7994c902603cd2640d08291037f465f
+AUX svxlink-15.11-gcc72.patch 500 BLAKE2B 8dfa6c6d28b8e1d3b14867bfcb5974ae62cb0cfdb208931c17146a7da8538b6ddd2e16b55aac484e5401b1c3b9613c86682265ac9504c4f1ffd5285af778f306 SHA512 b0f06e116c8ab65baca58324bed81a5b2fcd28f4c28cfccf9f5a173bbc2c0da32b5d68008ce157e92d95ee6cd9174f7c70a6f47029a98a1d618390a93cd54edb
AUX svxlink.init 782 BLAKE2B 536435d70a3a5afbcf533ce39cc1b8bc0de5320ac57728a4ef7e7ed6aa3a702afb52c2b8e986c270c628b28b893a0a4058941addc6c29362c62bd6766ed69365 SHA512 ad3f8c2310a346bc34eeecf541cef87a5eb24649060695d8b510de3f08de1c0cdb4cccac229dc53ab1bf5bc6386aa7b191a6df3a1546a5ddcdfdc146b9f16b51
AUX svxlink.rc 568 BLAKE2B 7e0fa55b6d7d099778f2b20cf3b85b54a943460ade694bdf75159945f0be671eefefbffdfceaf28b092dcd4078970f88194d63311f3cea9cfb38922d83e9f1de SHA512 96e95116c031e3e5f21d1239362736c093c3e5c32adcb4eef1fa667c89a08d62cdb82640a246cf11b9fddc62544f98a660f626e91c67dd7a0d608904b8ddf6dd
DIST svxlink-15.11.tar.gz 1528034 BLAKE2B 70a8f0f0181aee836738fba0b570d5fe5a896685267b8a9bbd09e6f6139fd764f5dac58dd57cff1ec2531b748511bb210a2aacc30704c5aee7d378489316a9b5 SHA512 b5c36e1a5e1dd0f954b7c2318d32d1bd52d8ec0a94a98e9c2de0b61ebbc6d0809d87fefbf13271c20a1a55e1a965e1a98f14c819df7b16a523b7cfc0fd4562ac
-EBUILD svxlink-15.11.ebuild 1545 BLAKE2B 4b0c42e29cb6f0b90804b0db5862ab168b8470533f375a75192e4bf5dd3420263a4fd347bc25fe8ba98a01db04566f8d381d2672fcbcd737dfdc3beb2192977a SHA512 d5185d68b52598530b8ad553ba2c8cc0e4e214d47c1a4ac78a371e2af800581e3ecdf1791899bf04c5097e0ca1ca1370a72d957ab0d21117cd0d22b15498ce0e
+EBUILD svxlink-15.11.ebuild 1646 BLAKE2B 459ecb702fa6d5951ef130acbb34303b77b19dc0abd31c86f4179e5f175115739c3427448e5115b57d234b43ac69f49d5c98a1782ed4ac42c918268345f6e973 SHA512 8bb7ffe3775e1915256365cf8db31676db333d21217c2f6186fa0c36acc9aaff9f32bfddc35013f220b3461142b59cfec9a390206ef05761840e99ff0f4b2a5d
MISC metadata.xml 696 BLAKE2B 51be8858bc950793e0044d7d8dfa695f3f4c1fa0f373be8908d00c0fdc73ee0fbbe06b118a28da147978ad204d63f2eb02183c961123d71c078fcaa9cc8306f0 SHA512 8e514fc2f15af5d7520a371ab802aa2a024276514d184f31b00b96c09b06e7b7c69904a0ea256f17fbe9e97f8da4cd908a91072284b274ba6488982e92182bc5
diff --git a/media-radio/svxlink/files/svxlink-15.11-gcc72.patch b/media-radio/svxlink/files/svxlink-15.11-gcc72.patch
new file mode 100644
index 000000000000..a55894c62f34
--- /dev/null
+++ b/media-radio/svxlink/files/svxlink-15.11-gcc72.patch
@@ -0,0 +1,12 @@
+# backported fix for newer compilers
+--- src/async/audio/AsyncAudioDeviceAlsa.cpp.orig 2017-12-27 16:32:27.185098621 +0000
++++ src/async/audio/AsyncAudioDeviceAlsa.cpp 2017-12-27 16:33:33.468067578 +0000
+@@ -548,7 +548,7 @@
+ return false;
+ }
+
+- if (::abs(real_rate - sample_rate) > 100)
++ if (::abs(static_cast<int>(real_rate) - sample_rate) > 100)
+ {
+ cerr << "*** ERROR: The sample rate could not be set to "
+ << sample_rate << "Hz for ALSA device \"" << dev_name << "\". "
diff --git a/media-radio/svxlink/svxlink-15.11.ebuild b/media-radio/svxlink/svxlink-15.11.ebuild
index de0def111eaa..0eac5fc40fef 100644
--- a/media-radio/svxlink/svxlink-15.11.ebuild
+++ b/media-radio/svxlink/svxlink-15.11.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=5
-inherit cmake-utils qt4-r2 user
+inherit cmake-utils eutils qt4-r2 user
CMAKE_USE_DIR="${S}/src"
@@ -34,6 +34,9 @@ pkg_setup() {
}
src_prepare() {
+ # fix compilation problem with newer gcc bug #639592
+ epatch "${FILESDIR}"/${P}-gcc72.patch
+
cmake-utils_src_prepare
# drop deprecated desktop category (bug #475730)
sed -i -e "s:Categories=Application;:Categories=:g" src/qtel/qtel.desktop || die