SHA256
1
0
forked from pool/libvpx

Accepting request 1185130 from multimedia:libs

- Limit explicit GCC13 usage to suse_version < 1600, i.e to Leap
  15.x. Future versions are supposed to have a recent enough GCC
  version. (forwarded request 1185120 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/1185130
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvpx?expand=0&rev=52
This commit is contained in:
Ana Guerrero 2024-07-04 14:22:11 +00:00 committed by Git OBS Bridge
commit 6f54de2ea6
6 changed files with 48 additions and 9 deletions

View File

@ -4,7 +4,7 @@
<param name="scm">git</param> <param name="scm">git</param>
<param name="versionformat">@PARENT_TAG@</param> <param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-pattern">v(.*)</param> <param name="versionrewrite-pattern">v(.*)</param>
<param name="revision">v1.14.0</param> <param name="revision">v1.14.1</param>
</service> </service>
<service name="set_version" mode="manual"/> <service name="set_version" mode="manual"/>
<service name="tar" mode="buildtime"/> <service name="tar" mode="buildtime"/>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6582d97bafb39f22522f1dd6b1deb26b486f41a5c8c6999ae0da428b6e750f34
size 24609805

BIN
libvpx-1.14.1.obscpio (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,33 @@
-------------------------------------------------------------------
Wed Jul 3 13:00:34 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Limit explicit GCC13 usage to suse_version < 1600, i.e to Leap
15.x. Future versions are supposed to have a recent enough GCC
version.
-------------------------------------------------------------------
Wed Jul 3 08:23:41 UTC 2024 - Adrian Schröter <adrian@suse.de>
- Update to version 1.14.1:
* Added buffer bounds checks to vpx_writer and vpx_write_bit_buffer.
* Fix to GetSegmentationData() crash in aq_mode=0 for RTC rate control.
* Fix to alloc for row_base_thresh_freq_fac.
* Free row mt memory before freeing cpi->tile_data.
* Fix to buffer alloc for vp9_bitstream_worker_data.
* Fix to VP8 race issue for multi-thread with pnsr_calc.
* Fix to uv width/height in vp9_scale_and_extend_frame_ssse3.
* Fix to integer division by zero and overflow in calc_pframe_target_size().
* Fix to integer overflow in vpx_img_alloc() & vpx_img_wrap()(CVE-2024-5197).
* Fix to UBSan error in vp9_rc_update_framerate().
* Fix to UBSan errors in vp8_new_framerate().
* Fix to integer overflow in vp8 encodeframe.c.
* Handle EINTR from sem_wait().
-------------------------------------------------------------------
Tue Feb 27 08:57:04 UTC 2024 - Adrian Schröter <adrian@suse.de>
- enforce usage of gcc 13 on Leap. Fixes esp. aarch64 builds.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Feb 27 08:22:28 UTC 2024 - Adrian Schröter <adrian@suse.de> Tue Feb 27 08:22:28 UTC 2024 - Adrian Schröter <adrian@suse.de>

View File

@ -1,4 +1,4 @@
name: libvpx name: libvpx
version: 1.14.0 version: 1.14.1
mtime: 1704834742 mtime: 1717012823
commit: 602e2e8979d111b02c959470da5322797dd96a19 commit: 12f3a2ac603e8f10742105519e0cd03c3b8f71dd

View File

@ -17,8 +17,9 @@
%define sover 9 %define sover 9
%define use_gcc13 0%{?suse_version} < 1600
Name: libvpx Name: libvpx
Version: 1.14.0 Version: 1.14.1
Release: 0 Release: 0
Summary: VP8/VP9 codec library Summary: VP8/VP9 codec library
License: BSD-3-Clause AND GPL-2.0-or-later License: BSD-3-Clause AND GPL-2.0-or-later
@ -27,8 +28,12 @@ URL: https://www.webmproject.org/
Source0: %{name}-%{version}.tar.xz Source0: %{name}-%{version}.tar.xz
Source1000: baselibs.conf Source1000: baselibs.conf
Patch2: libvpx-configure-add-arch.patch Patch2: libvpx-configure-add-arch.patch
# only needed for test suite %if %use_gcc13
BuildRequires: gcc13-c++
%else
BuildRequires: gcc-c++ BuildRequires: gcc-c++
%endif
# only needed for test suite
# Needed to be able to create pkgconfig() provides. # Needed to be able to create pkgconfig() provides.
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: yasm BuildRequires: yasm
@ -97,6 +102,10 @@ sed -i~ /ssse3/d configure
sed -i~ 's@ssse3@@' build/make/rtcd.pl sed -i~ 's@ssse3@@' build/make/rtcd.pl
%endif %endif
cd build cd build
%if %use_gcc13
export CXX=g++-13
export CC=gcc-13
%endif
# It is only an emulation of autotools configure; the macro does not work # It is only an emulation of autotools configure; the macro does not work
export CFLAGS="%{optflags} -O3" export CFLAGS="%{optflags} -O3"
export CXXFLAGS="%{optflags} -O3" export CXXFLAGS="%{optflags} -O3"