[vlc-commits] [Git][videolan/vlc][3.0.x] 5 commits: contrib: ebml: Add missing includes

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Wed May 20 05:44:46 UTC 2026



Jean-Baptiste Kempf pushed to branch 3.0.x at VideoLAN / VLC


Commits:
4cf9ac1e by Martin Storsjö at 2026-05-18T08:06:10+03:00
contrib: ebml: Add missing includes

This fixes building with libc++ with
_LIBCPP_REMOVE_TRANSITIVE_INCLUDES set (which removes unnecessary
transitive dependencies, making it more strict wrt including all
the right headers). This will become the default in a few
versions.

This is a backport of upstream commits
f2b7fb66229705f43f744cd5e4732b83803828c4 and
3a2ab2c706b31fea4f92cd362c93e2aa7875ccf8.

(cherry picked from commit 5175687531911b01ba0b11533d61df11feea7178)

- - - - -
ddb45cfa by Martin Storsjö at 2026-05-19T00:13:09+03:00
contrib: projectM: Add a missing include

Doing "#define isnan _isnan" causes problems for future includes,
if headers that define identifiers named "isnan" are included
after this.

This fixes building with libc++ with
_LIBCPP_REMOVE_TRANSITIVE_INCLUDES set (which removes unnecessary
transitive dependencies, making it more strict wrt including all
the right headers). This will become the default in a few
versions.

This fixes building older versions of projectM; this is not an
issue with projectM v4 or newer (where this whole block is
removed). However, projectM also requires toolchains to support
std::filesystem, which not all current VLC 3 toolchains do.

- - - - -
72d370ff by Martin Storsjö at 2026-05-19T00:14:44+03:00
contrib: protobuf: Add missing includes

This fixes building with libc++ with
_LIBCPP_REMOVE_TRANSITIVE_INCLUDES defined (which will be the
default since libc++ 23).

This issue is fixed in newer versions of protobuf.

- - - - -
9a920258 by Martin Storsjö at 2026-05-19T00:14:58+03:00
extras: build: protobuf: Add missing includes

This fixes building with libc++ with
_LIBCPP_REMOVE_TRANSITIVE_INCLUDES defined (which will be the
default since libc++ 23).

This issue is fixed in newer versions of protobuf.

- - - - -
0f8da0df by Martin Storsjö at 2026-05-19T00:15:20+03:00
modules: Add missing includes of <new> for std::nothrow

This fixes building with libc++ with
_LIBCPP_REMOVE_TRANSITIVE_INCLUDES set (which removes unnecessary
transitive dependencies, making it more strict wrt including all
the right headers). This will become the default in a few
versions.

- - - - -


31 changed files:

- + contrib/src/ebml/0001-include-iterator-for-std-back_inserter.patch
- + contrib/src/ebml/0002-include-new-for-std-nothrow.patch
- contrib/src/ebml/rules.mak
- contrib/src/projectM/rules.mak
- + contrib/src/projectM/win32-math-include.patch
- + contrib/src/protobuf/missing-includes.patch
- contrib/src/protobuf/rules.mak
- + extras/tools/protobuf-3.4.1-missing-includes.patch
- extras/tools/tools.mak
- modules/access/dcp/dcp.cpp
- modules/access/dcp/dcpparser.cpp
- modules/demux/adaptive/adaptive.cpp
- modules/demux/adaptive/http/HTTPConnection.cpp
- modules/demux/adaptive/playlist/Segment.cpp
- modules/demux/adaptive/plumbing/FakeESOut.cpp
- modules/demux/adaptive/xml/DOMParser.cpp
- modules/demux/dash/DASHStream.cpp
- modules/demux/dash/mpd/DASHSegment.cpp
- modules/demux/dash/mpd/IsoffMainParser.cpp
- modules/demux/hls/HLSStreams.cpp
- modules/demux/hls/playlist/Tags.cpp
- modules/demux/smooth/SmoothManager.cpp
- modules/demux/smooth/SmoothStream.cpp
- modules/demux/smooth/mp4/SmoothIndexReader.cpp
- modules/demux/smooth/playlist/ForgedInitSegment.cpp
- modules/demux/smooth/playlist/SmoothParser.cpp
- modules/demux/smooth/playlist/SmoothSegment.cpp
- modules/gui/skins2/parser/builder.cpp
- modules/gui/skins2/parser/interpreter.cpp
- modules/gui/skins2/src/ft2_font.cpp
- modules/text_renderer/freetype/fonts/dwrite.cpp


The diff was not included because it is too large.


View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/d312dcf73c9986866b2eafcd2a6f2dda0faedaca...0f8da0df35b32f6c0d844f9f27cdf4ac300dfa98

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/d312dcf73c9986866b2eafcd2a6f2dda0faedaca...0f8da0df35b32f6c0d844f9f27cdf4ac300dfa98
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help




More information about the vlc-commits mailing list