Projects
Extra
vlc-beta
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 42
View file
_service:obs_scm:vlc-beta-20250525.d942198743.obscpio/contrib/src/cddb/cddb-gcc14-getsockoptfix.patch
Added
@@ -0,0 +1,37 @@ +*size_t cannot be passed into getsockopt since gcc14 + +--- b/lib/cddb_net.c 2025-02-28 13:13:17.680209272 +0000 ++++ a/lib/cddb_net.c 2025-02-28 13:15:19.318977753 +0000 +@@ -268,7 +268,7 @@ + int rv; + fd_set wfds; + struct timeval tv; +- size_t l; ++ socklen_t l; + + /* set up select time out */ + tv.tv_sec = timeout; +--- a/configure.ac.orig 2025-03-06 10:32:40.974509646 +0000 ++++ b/configure.ac 2025-03-09 10:13:07.446501285 +0000 +@@ -133,6 +133,21 @@ + fi + AC_SUBST(with_iconv) + ++dnl Check for socklen_t type ++AC_CHECK_TYPE(socklen_t, ++ , ++ AC_DEFINE(socklen_t, int, Define to `int' if <sys/socket.h> does not define it.), ++ ++#if defined(_WIN32) ++# include <winsock2.h> ++# include <ws2tcpip.h> ++#else ++# include <sys/types.h> ++# include <sys/socket.h> ++#endif ++ ++) ++ + dnl Check and add some GCC specific warning flags + dnl - we do this as the last thing so that a possible -Werror flag + dnl - does not cause a failure in one of the other tests above
View file
_service:obs_scm:vlc-beta-20250523.ae87cc1de2.obscpio/contrib/src/cddb/rules.mak -> _service:obs_scm:vlc-beta-20250525.d942198743.obscpio/contrib/src/cddb/rules.mak
Changed
@@ -24,6 +24,7 @@ $(APPLY) $(SRC)/cddb/cddb-no-alarm.patch $(APPLY) $(SRC)/cddb/fix-header-guards.patch $(APPLY) $(SRC)/cddb/no-gettext.patch + $(APPLY) $(SRC)/cddb/cddb-gcc14-getsockoptfix.patch # Avoid relying on iconv.m4 from gettext, when reconfiguring. # This is only used by the frontend which we disable. sed -i.orig 's/^:blank:*AM_ICONV/#&/' $(UNPACK_DIR)/configure.ac
View file
_service:obs_scm:vlc-beta-20250523.ae87cc1de2.obscpio/contrib/src/libarchive/0001-zstd-use-GetNativeSystemInfo-to-get-the-number-of-th.patch -> _service:obs_scm:vlc-beta-20250525.d942198743.obscpio/contrib/src/libarchive/0001-zstd-use-GetNativeSystemInfo-to-get-the-number-of-th.patch
Changed
@@ -1,7 +1,8 @@ -From 51214b8cbd6008105fd94807dfc9c0699459e9e2 Mon Sep 17 00:00:00 2001 +From 30308ee3c0b1eccc6747aac0cbabb6bfb171dd18 Mon Sep 17 00:00:00 2001 From: Steve Lhomme <robux4@ycbcr.xyz> Date: Mon, 23 Sep 2024 13:37:22 +0200 -Subject: PATCH zstd: use GetNativeSystemInfo() to get the number of threads +Subject: PATCH set_format: use GetNativeSystemInfo() to get the number of + threads GetActiveProcessorCount() is not available in UWP 1 and it's not available before Windows 7. @@ -12,10 +13,12 @@ 2 https://learn.microsoft.com/en-us/windows/win32/api/sysinfoapi/ns-sysinfoapi-system_info --- libarchive/archive_write_add_filter_zstd.c | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) + libarchive/archive_write_set_format_7zip.c | 6 +++--- + libarchive/archive_write_set_format_zip.c | 5 +++-- + 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/libarchive/archive_write_add_filter_zstd.c b/libarchive/archive_write_add_filter_zstd.c -index 7ea3d18c..89b90387 100644 +index c0a6e5a3..0e2bdf44 100644 --- a/libarchive/archive_write_add_filter_zstd.c +++ b/libarchive/archive_write_add_filter_zstd.c @@ -280,9 +280,9 @@ archive_compressor_zstd_options(struct archive_write_filter *f, const char *key, @@ -31,6 +34,39 @@ } #endif if (threads < 0 || threads > INT_MAX) { +diff --git a/libarchive/archive_write_set_format_7zip.c b/libarchive/archive_write_set_format_7zip.c +index 902d03f6..793a2e8c 100644 +--- a/libarchive/archive_write_set_format_7zip.c ++++ b/libarchive/archive_write_set_format_7zip.c +@@ -533,9 +533,9 @@ _7z_options(struct archive_write *a, const char *key, const char *value) + threads = sysconf(_SC_NPROCESSORS_ONLN); + #elif !defined(__CYGWIN__) && defined(_WIN32_WINNT) && \ + _WIN32_WINNT >= 0x0601 /* _WIN32_WINNT_WIN7 */ +- DWORD winCores = GetActiveProcessorCount( +- ALL_PROCESSOR_GROUPS); +- threads = (intmax_t)winCores; ++ SYSTEM_INFO systemInfo; ++ GetNativeSystemInfo(&systemInfo); ++ threads = (intmax_t)systemInfo.dwNumberOfProcessors; + #else + threads = 1; + #endif +diff --git a/libarchive/archive_write_set_format_zip.c b/libarchive/archive_write_set_format_zip.c +index 3630b9f2..76356d40 100644 +--- a/libarchive/archive_write_set_format_zip.c ++++ b/libarchive/archive_write_set_format_zip.c +@@ -453,8 +453,9 @@ archive_write_zip_options(struct archive_write *a, const char *key, + zip->threads = sysconf(_SC_NPROCESSORS_ONLN); + #elif !defined(__CYGWIN__) && defined(_WIN32_WINNT) && _WIN32_WINNT >= 0x0601 + /* Windows 7 and up */ +- DWORD activeProcs = GetActiveProcessorCount(ALL_PROCESSOR_GROUPS); +- zip->threads = activeProcs <= SHRT_MAX ? (short)activeProcs : SHRT_MAX; ++ SYSTEM_INFO systemInfo; ++ GetNativeSystemInfo(&systemInfo); ++ zip->threads = systemInfo.dwNumberOfProcessors <= SHRT_MAX ? (short)systemInfo.dwNumberOfProcessors : SHRT_MAX; + #else + zip->threads = 1; + #endif -- -2.45.0.windows.1 +2.47.2
View file
_service:obs_scm:vlc-beta-20250523.ae87cc1de2.obscpio/contrib/src/libarchive/SHA512SUMS -> _service:obs_scm:vlc-beta-20250525.d942198743.obscpio/contrib/src/libarchive/SHA512SUMS
Changed
@@ -1,1 +1,1 @@ -dcc90cc0597c14867c094aaf13bb1ec4d6b2fee7f0d6d714a909f42085cc99f7e49ac78a51e312df39b5db57aa8d17bc794f1d8d7b1c8fb65bc598ff88eb5158 libarchive-3.7.8.tar.gz +e563cd10cd447daf7c5d11c657cbc3d8971add4440264fb4754ea7670a249e8b7b1c31f62f78259867960392623dba73c2d20efc57dc02564c8f55841dc8f2cc libarchive-3.8.0.tar.gz
View file
_service:obs_scm:vlc-beta-20250523.ae87cc1de2.obscpio/contrib/src/libarchive/rules.mak -> _service:obs_scm:vlc-beta-20250525.d942198743.obscpio/contrib/src/libarchive/rules.mak
Changed
@@ -1,5 +1,5 @@ # LIBARCHIVE -LIBARCHIVE_VERSION := 3.7.8 +LIBARCHIVE_VERSION := 3.8.0 LIBARCHIVE_URL := $(GITHUB)/libarchive/libarchive/releases/download/v$(LIBARCHIVE_VERSION)/libarchive-$(LIBARCHIVE_VERSION).tar.gz PKGS += libarchive
View file
_service:obs_scm:vlc-beta.obsinfo
Changed
@@ -1,4 +1,4 @@ name: vlc-beta -version: 20250523.ae87cc1de2 -mtime: 1748002903 -commit: ae87cc1de201956333635f0df7f6152ce91bd665 +version: 20250525.d942198743 +mtime: 1748159903 +commit: d942198743f8c059b1bf475bae48b43985b38fe0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.