Debian Patches

Status for protobuf/3.21.12-13

Patch Description Author Forwarded Bugs Origin Last update
hurd.patch Add support for GNU/Hurd which doesn't define PATH_MAX. Bas Couwenberg <sebastic@debian.org> no debian 2022-03-11
default_python_version =================================================================== no
s390x.patch Add support for s390x architecture. Based on port of Google V8 JavaScript engine to z Systems Sebastiaan Couwenberg <sebastic@xs4all.nl> no debian https://github.com/ibmruntimes/v8z
disable_local_gmock.patch use packaged Google Test and Google Mock libraries Link tests with the already compiled libraries. Laszlo Boszormenyi (GCS) <gcs@debian.org> not-needed 2022-03-11
fix_google_test_link.patch fix linking with recent Google's C++ test framework Need to link with libgtest_main.a as well. Laszlo Boszormenyi (GCS) <gcs@debian.org> no 2022-03-11
no_thirdparty.patch don't compile third_party source . Laszlo Boszormenyi (GCS) <gcs@debian.org> not-needed 2022-09-28
x32.patch fix FTBFS on x32 due to versioned glibc symbols protobuf assumes that glibc 2.2.5 memcpy symbols will be available #if
defined(__x86-64__); however, x32 also defines this, but was not
supported prior to 2.16.
Laurence Parry <greenreaper@gmail.com> not-needed debian other, https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=931503#5 2022-03-11
32bit.patch cut number 32 bit number parsing in Python 2 self-tests Any number get back as zero. :-/ Laszlo Boszormenyi (GCS) <gcs@debian.org> no 2022-03-11
python3ify_examples.patch execute examples with Pyhton 3 Update shebang to call Python 3 binary. Laszlo Boszormenyi (GCS) <gcs@debian.org> no 2020-03-24
no_errorprone.patch Remove dependency on errror-prone library Library is not necessary and is not currently available in Debian. This patch
can be safely removed if the error-prone library is ever added to Debian and
that functionality is needed in protobuf.
Olek Wojnar <olek@debian.org> no 2022-03-11
no_j2objc.patch Remove dependency on j2objc library It's not needed for Debian. Laszlo Boszormenyi (GCS) <gcs@debian.org> not-needed 2022-03-11
no_javax.patch Remove dependency on javax.annotation library It's not yet packaged and not mandatory. Laszlo Boszormenyi (GCS) <gcs@debian.org> not-needed 2022-03-11
Fix_build_with_Python_3.11.patch [PATCH] Fix build with Python 3.11
The PyFrameObject structure members have been removed from the public C API.
Alexander Shadchin <alexandr.shadchin@gmail.com> no 2022-08-14
fix_hppa_alignof_assert.patch hppa is over aligned and fails Filter out hppa machines on the static_assert lines. Laszlo Boszormenyi (GCS) <gcs@debian.org> no 2023-04-09
Fix_rule_for_java_target.patch [PATCH] Fix rule for java target in examples/Makefile Kiyoshi Mizumaru <kiyoshi.mizumaru@gmail.com> no 2022-08-06
build_32_bit_tests.patch [PATCH] Adding full build to 32 bit tests (#10589)
* Adding full build to 32 bit tests

* Running C++ tests in 32 bit builds

* Patching static assert test failure

* Test fixes for 32-bit architectures

* Cleanup after CMake build

* Save protoc before cleanup

* Route protoc better
Mike Kruskal <62662355+mkruskal-google@users.noreply.github.com> no 2022-09-19
fix_C++_32bit_tests.patch fix C++ build tests Add bits to expect 32 bit systems. Laszlo Boszormenyi (GCS) <gcs@debian.org> no debian 2023-04-07
fix_Python_32bit_tests.patch fix Python build tests Add bits to expect 32 bit systems. Laszlo Boszormenyi (GCS) <gcs@debian.org> no debian 2023-04-07
test_scope_for_junit.patch no
stop_using_backward_compatibility_timezones.patch [PATCH] Python: stop using backward compatibility timezones
The 'Japan' and 'US/Pacific' timezones used in Python tests are
backward compatibility timezones (defined in the backward file of
tzdata) and might not be available on all systems. For instance Debian
recently split those timezones in a tzdata-legacy package.

Update the tests to the use the canonical name of the timezones instead,
that is respectively 'Asia/Tokyo' and 'America/Los_Angeles'.
Aurelien Jarno <aurelien@aurel32.net> no 2023-09-06
python3.12.diff =================================================================== no
CVE-2024-7254-1.patch [PATCH 1/5] Internal change Protobuf Team Bot <protobuf-github-bot@google.com> no 2024-08-16
CVE-2024-7254-2.patch [PATCH 2/5] Internal change Protobuf Team Bot <protobuf-github-bot@google.com> no 2024-07-18
CVE-2024-7254-3.patch [PATCH 3/5] Add recursion check when parsing unknown fields in Java. Protobuf Team Bot <protobuf-github-bot@google.com> no 2024-09-17
CVE-2024-7254-4.patch [PATCH 4/5] Fix merge conflict by adding optional label to proto2 unittest_lite.proto Sandy Zhang <sandyzhang@google.com> no 2024-09-18
CVE-2024-7254-5.patch [PATCH 5/5] Remove RecursiveGroup test case which doesn't exist in 25.x pre-Editions Sandy Zhang <sandyzhang@google.com> no 2024-09-18
CVE-2025-4565.patch [PATCH] Add recursion depth limits to pure python Protobuf Team Bot <protobuf-github-bot@google.com> no 2025-05-13
protobuf-add-loongarch64-support.patch Add loongarch64 support .
protobuf (3.21.12-10+loong64) unstable; urgency=medium
.
* src/google/protobuf/stubs/platform_macros.h
- Add loongarch64 support
Dandan Zhang <zhangdandan@loongson.cn> no
0001-Change-PROTOBUF_MUSTTAIL-to-affirmatively-use-the-mu.patch Change PROTOBUF_MUSTTAIL to affirmatively use the musttail annotation only on our primary target platforms where we know it does what we want.

This should effectively be the same net result as the prior ifdef in practice, but leaves it disabled by default for the long tail of more exotic platforms where this may cause a build break.

Fixes #22367
Protobuf Team Bot <protobuf-github-bot@google.com> no 2025-06-25

All known versions for source package 'protobuf'

Links