mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-05 17:07:49 +00:00
protobuf: update to 21.12
This commit is contained in:
parent
9fcc751ef3
commit
6760f365f4
@ -2,11 +2,11 @@
|
|||||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||||
|
|
||||||
PKG_NAME="protobuf"
|
PKG_NAME="protobuf"
|
||||||
PKG_VERSION="3.20.3"
|
PKG_VERSION="21.12"
|
||||||
PKG_SHA256="e51cc8fc496f893e2a48beb417730ab6cbcb251142ad8b2cd1951faa5c76fe3d"
|
PKG_SHA256="4eab9b524aa5913c6fffb20b2a8abf5ef7f95a80bc0701f3a6dbb4c607f73460"
|
||||||
PKG_LICENSE="OSS"
|
PKG_LICENSE="OSS"
|
||||||
PKG_SITE="https://developers.google.com/protocol-buffers/"
|
PKG_SITE="https://developers.google.com/protocol-buffers/"
|
||||||
PKG_URL="https://github.com/google/${PKG_NAME}/releases/download/v${PKG_VERSION}/${PKG_NAME}-cpp-${PKG_VERSION}.tar.gz"
|
PKG_URL="https://github.com/google/${PKG_NAME}/releases/download/v${PKG_VERSION}/${PKG_NAME}-cpp-3.${PKG_VERSION}.tar.gz"
|
||||||
PKG_DEPENDS_HOST="toolchain:host zlib:host"
|
PKG_DEPENDS_HOST="toolchain:host zlib:host"
|
||||||
PKG_DEPENDS_TARGET="toolchain zlib protobuf:host"
|
PKG_DEPENDS_TARGET="toolchain zlib protobuf:host"
|
||||||
PKG_LONGDESC="Protocol Buffers for Google's data interchange format."
|
PKG_LONGDESC="Protocol Buffers for Google's data interchange format."
|
||||||
|
@ -1,24 +0,0 @@
|
|||||||
From fc7dc129f19fec7fe3211a39f13f6fe74c35cce6 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Adam Cozzette <acozzette@google.com>
|
|
||||||
Date: Mon, 9 May 2022 19:03:39 +0000
|
|
||||||
Subject: [PATCH] Use __constinit only in GCC 12.2 and up
|
|
||||||
|
|
||||||
Fixes #9916. GCC appears to have a bug preventing our use of __constinit
|
|
||||||
from working correctly, but this bug will be fixed in GCC 12.2.
|
|
||||||
---
|
|
||||||
src/google/protobuf/port_def.inc | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/src/google/protobuf/port_def.inc b/src/google/protobuf/port_def.inc
|
|
||||||
index dcb0ff758f1..289a42674cf 100644
|
|
||||||
--- a/src/google/protobuf/port_def.inc
|
|
||||||
+++ b/src/google/protobuf/port_def.inc
|
|
||||||
@@ -650,7 +650,7 @@
|
|
||||||
(!defined(__APPLE__) && __clang_major__ >= 12))
|
|
||||||
#define PROTOBUF_CONSTINIT [[clang::require_constant_initialization]]
|
|
||||||
#define PROTOBUF_CONSTEXPR constexpr
|
|
||||||
-#elif PROTOBUF_GNUC_MIN(12, 0)
|
|
||||||
+#elif PROTOBUF_GNUC_MIN(12, 2)
|
|
||||||
#define PROTOBUF_CONSTINIT __constinit
|
|
||||||
#define PROTOBUF_CONSTEXPR constexpr
|
|
||||||
#else
|
|
Loading…
x
Reference in New Issue
Block a user