mumble: update to 1.2.9.
This commit is contained in:
parent
59af9939a8
commit
3f36f844f5
|
@ -1,34 +0,0 @@
|
|||
From 349436284b5f1baa61836c98ff0d518392140c5d Mon Sep 17 00:00:00 2001
|
||||
From: Christian Krause <chkr@plauener.de>
|
||||
Date: Mon, 28 Apr 2014 03:08:08 +0200
|
||||
Subject: [PATCH] Avoid "jump to label crosses initialization" error.
|
||||
|
||||
Move variable "buffer" into the while loop to avoid a compile error
|
||||
with g++ 4.9.0.
|
||||
|
||||
Although earlier compiler versions did accept the code, jumping into the
|
||||
scope of an variable length array is not allowed:
|
||||
http://gcc.gnu.org/onlinedocs/gcc-4.3.0/gcc/Variable-Length.html
|
||||
---
|
||||
src/mumble/OSS.cpp | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/mumble/OSS.cpp b/src/mumble/OSS.cpp
|
||||
index eb87d5b..4af1326 100644
|
||||
--- src/mumble/OSS.cpp
|
||||
+++ src/mumble/OSS.cpp
|
||||
@@ -243,9 +243,9 @@ void OSSInput::run() {
|
||||
eMicFormat = SampleShort;
|
||||
initializeMixer();
|
||||
|
||||
- short buffer[iMicLength];
|
||||
-
|
||||
while (bRunning) {
|
||||
+ short buffer[iMicLength];
|
||||
+
|
||||
int len = static_cast<int>(iMicLength * iMicChannels * sizeof(short));
|
||||
ssize_t l = read(fd, buffer, len);
|
||||
if (l != len) {
|
||||
--
|
||||
1.9.3
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'mumble'
|
||||
pkgname=mumble
|
||||
version=1.2.8
|
||||
revision=5
|
||||
version=1.2.9
|
||||
revision=1
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="
|
||||
libcap-devel Ice-devel protobuf-devel libXi-devel qt-devel libressl-devel
|
||||
|
@ -13,7 +13,7 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|||
homepage="http://mumble.sourceforge.net/"
|
||||
license="BSD"
|
||||
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
|
||||
checksum=4c2fc3dff49687bc1d977905958e8a9c35e109723aeed42c9ea124104febe159
|
||||
checksum=4bd17e85613267f1df39e8328de5053586576d3de4659d3f33833282c4322cbb
|
||||
|
||||
do_configure() {
|
||||
# Needs bundled celt for some reason
|
||||
|
|
Loading…
Reference in New Issue