Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openh264: update to 2.6.0 (CVE-2025-27091) #27748

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 5 additions & 10 deletions multimedia/openh264/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ PortSystem 1.0
PortGroup github 1.0
PortGroup meson 1.0

github.setup cisco openh264 2.5.0 v
github.setup cisco openh264 2.6.0 v
revision 0
categories multimedia
license BSD
Expand All @@ -14,9 +14,9 @@ description Open-source H.264 codec
long_description OpenH264 is a codec library which supports \
H.264 encoding and decoding.

checksums rmd160 43787b53cb9528ff95ccb1c11959b7e20a6eb720 \
sha256 94c8ca364db990047ec4ec3481b04ce0d791e62561ef5601443011bdc00825e3 \
size 60301431
checksums rmd160 81968c7f3848b6432d320bdc178d7411bff14881 \
sha256 558544ad358283a7ab2930d69a9ceddf913f4a51ee9bf1bfb9e377322af81a69 \
size 60302243
github.tarball_from archive

depends_build-append port:gtest
Expand All @@ -26,13 +26,8 @@ if {${configure.build_arch} in [list i386 x86_64]} {
port:nasm
}

# https://github.com/cisco/openh264/pull/3806
patchfiles-append 0001-meson.build-add-powerpc-arch.patch

# https://github.com/cisco/openh264/issues/3805
patchfiles-append 0002-meson.build-do-not-hardcode-libc-on-darwin.patch

patchfiles-append no-Werror.patch
patchfiles-append meson-build-do-not-hardcode-libc-on-darwin.diff

# Undefined symbols:
# "__ZN7testing8internal23MakeAndRegisterTestInfoENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKcS8_S8_NS0_12CodeLocationEPKvPFvvESD_PNS0_15TestFactoryBaseE"
Expand Down
90 changes: 0 additions & 90 deletions multimedia/openh264/files/0001-meson.build-add-powerpc-arch.patch

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,6 @@ From cb90ec4d5e519f00a44e48eb4d5144bb054926ee Mon Sep 17 00:00:00 2001
From: Sergey Fedorov <[email protected]>
Date: Sun, 17 Nov 2024 13:35:57 +0800
Subject: [PATCH] meson.build: do not hardcode libc++ on darwin

---
meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git meson.build meson.build
index 5dbefa43..1790cdfd 100644
--- meson.build
+++ meson.build
@@ -105,7 +105,7 @@ if ['linux', 'android', 'ios', 'darwin'].contains(system)
Expand Down
11 changes: 0 additions & 11 deletions multimedia/openh264/files/no-Werror.patch

This file was deleted.