bctoolbox: update to 5.2.6.
This commit is contained in:
parent
14cef36534
commit
b2d45eba83
|
@ -1,29 +0,0 @@
|
||||||
Index: bctoolbox-5.1.17/src/utils/port.c
|
|
||||||
===================================================================
|
|
||||||
--- bctoolbox-5.1.17.orig/src/utils/port.c
|
|
||||||
+++ bctoolbox-5.1.17/src/utils/port.c
|
|
||||||
@@ -398,6 +398,7 @@ char * WSAAPI gai_strerror(int errnum){
|
|
||||||
#include <netdb.h>
|
|
||||||
#include <sys/un.h>
|
|
||||||
#include <sys/stat.h>
|
|
||||||
+#include <stddef.h>
|
|
||||||
|
|
||||||
static char *make_pipe_name(const char *name){
|
|
||||||
return bctbx_strdup_printf("/tmp/%s",name);
|
|
||||||
@@ -1508,6 +1509,7 @@ char * bctbx_concat(const char *str, ...
|
|
||||||
/* Resize the allocated memory if necessary. */
|
|
||||||
if (wp + len + 1 > result + allocated)
|
|
||||||
{
|
|
||||||
+ ptrdiff_t offset = wp - result;
|
|
||||||
allocated = (allocated + len) * 2;
|
|
||||||
newp = (char *) realloc (result, allocated);
|
|
||||||
if (newp == NULL)
|
|
||||||
@@ -1515,7 +1517,7 @@ char * bctbx_concat(const char *str, ...
|
|
||||||
free (result);
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
- wp = newp + (wp - result);
|
|
||||||
+ wp = newp + offset;
|
|
||||||
result = newp;
|
|
||||||
}
|
|
||||||
memcpy (wp, s, len);
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'bctoolbox'
|
# Template file for 'bctoolbox'
|
||||||
pkgname=bctoolbox
|
pkgname=bctoolbox
|
||||||
version=5.1.17
|
version=5.2.6
|
||||||
revision=2
|
revision=1
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="-DENABLE_TESTS=ON -DENABLE_TESTS_COMPONENT=FALSE
|
configure_args="-DENABLE_TESTS=ON -DENABLE_TESTS_COMPONENT=FALSE
|
||||||
-DCMAKE_MODULE_PATH=/usr/lib/cmake"
|
-DCMAKE_MODULE_PATH=/usr/lib/cmake"
|
||||||
|
@ -11,7 +11,7 @@ maintainer="John <me@johnnynator.dev>"
|
||||||
license="GPL-2.0-only"
|
license="GPL-2.0-only"
|
||||||
homepage="https://gitlab.linphone.org/BC/public/bctoolbox"
|
homepage="https://gitlab.linphone.org/BC/public/bctoolbox"
|
||||||
distfiles="https://gitlab.linphone.org/BC/public/bctoolbox/-/archive/${version}/bctoolbox-${version}.tar.gz"
|
distfiles="https://gitlab.linphone.org/BC/public/bctoolbox/-/archive/${version}/bctoolbox-${version}.tar.gz"
|
||||||
checksum=cbfea331dde994122a8bf04f05c03da6592aa53612f1da93eca3932d5460f231
|
checksum=573dd538cfdb6b13007c843ded101601d441b5da717597171823e49a619083c4
|
||||||
|
|
||||||
bctoolbox-devel_package() {
|
bctoolbox-devel_package() {
|
||||||
depends="bctoolbox-${version}_${revision}"
|
depends="bctoolbox-${version}_${revision}"
|
||||||
|
|
Loading…
Reference in New Issue