diff --git a/srcpkgs/bctoolbox/patches/use-after-realloc.patch b/srcpkgs/bctoolbox/patches/use-after-realloc.patch deleted file mode 100644 index 719083f65c7..00000000000 --- a/srcpkgs/bctoolbox/patches/use-after-realloc.patch +++ /dev/null @@ -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 - #include - #include -+#include - - 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); diff --git a/srcpkgs/bctoolbox/template b/srcpkgs/bctoolbox/template index de3c42944a5..3f53c6c8257 100644 --- a/srcpkgs/bctoolbox/template +++ b/srcpkgs/bctoolbox/template @@ -1,7 +1,7 @@ # Template file for 'bctoolbox' pkgname=bctoolbox -version=5.1.17 -revision=2 +version=5.2.6 +revision=1 build_style=cmake configure_args="-DENABLE_TESTS=ON -DENABLE_TESTS_COMPONENT=FALSE -DCMAKE_MODULE_PATH=/usr/lib/cmake" @@ -11,7 +11,7 @@ maintainer="John " license="GPL-2.0-only" homepage="https://gitlab.linphone.org/BC/public/bctoolbox" distfiles="https://gitlab.linphone.org/BC/public/bctoolbox/-/archive/${version}/bctoolbox-${version}.tar.gz" -checksum=cbfea331dde994122a8bf04f05c03da6592aa53612f1da93eca3932d5460f231 +checksum=573dd538cfdb6b13007c843ded101601d441b5da717597171823e49a619083c4 bctoolbox-devel_package() { depends="bctoolbox-${version}_${revision}"