summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaco Kroon <jaco@uls.co.za>2022-07-05 17:05:30 +0200
committerSam James <sam@gentoo.org>2022-07-15 02:45:24 +0100
commit4ba7f8cc3f3802f83f192d7d35291fd89e23d7d8 (patch)
treedf08ec763fd25817db74c8d11fda158799cce356 /net-misc/dahdi-tools/files
parentgames-util/gamemode: Fix build on musl (diff)
downloadgentoo-4ba7f8cc3f3802f83f192d7d35291fd89e23d7d8.tar.gz
gentoo-4ba7f8cc3f3802f83f192d7d35291fd89e23d7d8.tar.bz2
gentoo-4ba7f8cc3f3802f83f192d7d35291fd89e23d7d8.zip
net-misc/dahdi-tools: rev-bump to fix two bugs
The latter was fixed, then I didn't focus properly when updating for T1 support. Closes: https://bugs.gentoo.org/855467 Closes: https://bugs.gentoo.org/855464 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Jaco Kroon <jaco@uls.co.za> Closes: https://github.com/gentoo/gentoo/pull/26232 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-misc/dahdi-tools/files')
-rw-r--r--net-misc/dahdi-tools/files/dahdi-autoconf.init-3.1.0-r4 (renamed from net-misc/dahdi-tools/files/dahdi-autoconf.init-3.1.0-r3)10
1 files changed, 5 insertions, 5 deletions
diff --git a/net-misc/dahdi-tools/files/dahdi-autoconf.init-3.1.0-r3 b/net-misc/dahdi-tools/files/dahdi-autoconf.init-3.1.0-r4
index 3841aca8d18a..73ab07b8904f 100644
--- a/net-misc/dahdi-tools/files/dahdi-autoconf.init-3.1.0-r3
+++ b/net-misc/dahdi-tools/files/dahdi-autoconf.init-3.1.0-r4
@@ -150,20 +150,20 @@ dahdi_conf_span() {
case "${type}" in
digital-TE)
- cfunc+="bri_te"
+ cfunc="${cfunc}bri_te"
;;
digital-NT)
- cfunc+="bri_nt"
+ cfunc="${cfunc}bri_nt"
;;
digital-[TE]1)
- cfunc+="$(echo "${type##*-}" | tr 'TE' 'te')"
+ cfunc="${cfunc}$(echo "${type##*-}" | tr 'TE' 'te')"
# Use CPE by default. Unfortunately there is no easy
# way to detect CPE vs NET as far as I know and specifying
# in a config that you want NET mode seems the sanest way.
if yesno "${vname}"; then
- cfunc+="_net"
+ cfunc="${cfunc}_net"
else
- cfunc+="_cpe"
+ cfunc="${cfunc}_cpe"
fi
;;
*)