Merge pull request #9237 from heitbaum/pkg

Package updates
This commit is contained in:
Christian Hewitt 2024-08-25 19:55:13 +04:00 committed by GitHub
commit 7044f6fdec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 7 additions and 59 deletions

View File

@ -2,8 +2,8 @@
# Copyright (C) 2021-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="pipewire"
PKG_VERSION="1.2.2"
PKG_SHA256="8255d7b7c6d7844ed20b5bb9cc7af66ddcaba32fee9902728471de7c02213bac"
PKG_VERSION="1.2.3"
PKG_SHA256="f2645dda4294a46b58727bf81352f13180be232e74ff7fccbc44f30d31fa4766"
PKG_LICENSE="LGPL"
PKG_SITE="https://pipewire.org"
PKG_URL="https://github.com/PipeWire/pipewire/archive/${PKG_VERSION}.tar.gz"

View File

@ -2,8 +2,8 @@
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="mariadb-connector-c"
PKG_VERSION="3.4.0"
PKG_SHA256="23efc2da9c50d71dc0bb4f25c07f9437d5b8e2b0cbd529091a83d00ccf3f6d20"
PKG_VERSION="3.4.1"
PKG_SHA256="4979916af92aaf7f7b09578897b7dd885d4acd9bfa8a6a0026334dbe98a0d2ab"
PKG_LICENSE="LGPL"
PKG_SITE="https://mariadb.org/"
PKG_URL="https://github.com/mariadb-corporation/mariadb-connector-c/archive/v${PKG_VERSION}.tar.gz"
@ -12,6 +12,7 @@ PKG_LONGDESC="mariadb-connector: library to conntect to mariadb/mysql database s
PKG_BUILD_FLAGS="-gold"
PKG_CMAKE_OPTS_TARGET="-DWITH_EXTERNAL_ZLIB=ON
-DWITH_UNIT_TESTS=OFF
-DCLIENT_PLUGIN_DIALOG=STATIC
-DCLIENT_PLUGIN_MYSQL_CLEAR_PASSWORD=STATIC
-DCLIENT_PLUGIN_MYSQL_OLD_PASSWORD=STATIC

View File

@ -1,53 +0,0 @@
From 55631533d134d791ce12af9ab8acb2be39e5d22c Mon Sep 17 00:00:00 2001
From: Rudi Heitbaum <rudi@heitbaum.com>
Date: Mon, 3 Jun 2024 07:57:30 +0000
Subject: [PATCH] fix calloc errors as warnings when compiling with gcc-14.1.0
error: 'calloc' sizes specified with 'sizeof' in the earlier argument
and not in the later argument [-Werror=calloc-transposed-args]
note: earlier argument should specify number of elements, later size
of each element
---
unittest/libmariadb/bulk1.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/unittest/libmariadb/bulk1.c b/unittest/libmariadb/bulk1.c
index 56ae20d8..1f28153c 100644
--- a/unittest/libmariadb/bulk1.c
+++ b/unittest/libmariadb/bulk1.c
@@ -723,7 +723,7 @@ static int test_char_conv2(MYSQL *mysql)
return SKIP;
stmt= mysql_stmt_init(mysql);
- buffer[0]= calloc(1, 7);
+ buffer[0]= calloc(7, 1);
strcpy (buffer[0], "\xC3\x82\xC3\x83\xC3\x84\x00");
rc= mysql_query(mysql, "SET NAMES UTF8");
@@ -1126,7 +1126,7 @@ static int bulk_with_unit_result_insert(MYSQL *my)
/* allocate memory */
buffer= calloc(TEST_ARRAY_SIZE, sizeof(char *));
- lengths= (unsigned long *)calloc(sizeof(long), TEST_ARRAY_SIZE);
+ lengths= (unsigned long *)calloc(TEST_ARRAY_SIZE, sizeof(long));
for (i=0; i < TEST_ARRAY_SIZE; i++)
{
@@ -1251,7 +1251,7 @@ static int bulk_with_unit_result_delete(MYSQL *my)
rc= mysql_stmt_attr_set(stmt, STMT_ATTR_ARRAY_SIZE, &array_size);
check_stmt_rc(rc, stmt);
- vals= (unsigned int *)calloc(sizeof(int), 5);
+ vals= (unsigned int *)calloc(5, sizeof(int));
memset(bind, 0, sizeof(MYSQL_BIND) * 1);
bind[0].buffer_type= MYSQL_TYPE_LONG;
bind[0].buffer= vals;
@@ -1359,7 +1359,7 @@ static int bulk_with_unit_result_update(MYSQL *my)
rc= mysql_stmt_attr_set(stmt, STMT_ATTR_ARRAY_SIZE, &array_size);
check_stmt_rc(rc, stmt);
- vals= (unsigned int *)calloc(sizeof(int), 5);
+ vals= (unsigned int *)calloc(5, sizeof(int));
memset(bind, 0, sizeof(MYSQL_BIND) * 1);
bind[0].buffer_type= MYSQL_TYPE_LONG;
bind[0].buffer= vals;

View File

@ -2,8 +2,8 @@
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="wayland"
PKG_VERSION="1.23.0"
PKG_SHA256="05b3e1574d3e67626b5974f862f36b5b427c7ceeb965cb36a4e6c2d342e45ab2"
PKG_VERSION="1.23.1"
PKG_SHA256="864fb2a8399e2d0ec39d56e9d9b753c093775beadc6022ce81f441929a81e5ed"
PKG_LICENSE="OSS"
PKG_SITE="https://wayland.freedesktop.org/"
PKG_URL="https://gitlab.freedesktop.org/wayland/wayland/-/releases/${PKG_VERSION}/downloads/${PKG_NAME}-${PKG_VERSION}.tar.xz"