mirror of
https://github.com/LibreOffice/core.git
synced 2025-07-23 04:42:03 +00:00
const up icu gencmn output
Change-Id: I0e39e5833b78b1c699782cf040dfbe49cf76ba8a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/187905 Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com> Tested-by: Jenkins
This commit is contained in:
25
external/icu/0001-ICU-23054-const-up-struct-that-gencmn-outputs.patch.2
vendored
Normal file
25
external/icu/0001-ICU-23054-const-up-struct-that-gencmn-outputs.patch.2
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
From a918593e59e4fc67055420281940f67a068e0598 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolanm@gmail.com>
|
||||
Date: Tue, 15 Jul 2025 11:21:18 +0100
|
||||
Subject: [PATCH] ICU-23054 const up struct that gencmn outputs
|
||||
|
||||
---
|
||||
icu4c/source/tools/toolutil/pkg_gencmn.cpp | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/icu4c/source/tools/toolutil/pkg_gencmn.cpp b/icu4c/source/tools/toolutil/pkg_gencmn.cpp
|
||||
index 3ec965d8e6..c1a46e9aed 100644
|
||||
--- a/icu4c/source/tools/toolutil/pkg_gencmn.cpp
|
||||
+++ b/icu4c/source/tools/toolutil/pkg_gencmn.cpp
|
||||
@@ -360,7 +360,7 @@ createCommonDataFile(const char *destDir, const char *name, const char *entrypoi
|
||||
|
||||
snprintf(
|
||||
buffer, sizeof(buffer),
|
||||
- "U_EXPORT struct {\n"
|
||||
+ "U_EXPORT const struct {\n"
|
||||
" uint16_t headerSize;\n"
|
||||
" uint8_t magic1, magic2;\n"
|
||||
" UDataInfo info;\n"
|
||||
--
|
||||
2.49.0
|
||||
|
1
external/icu/UnpackedTarball_icu.mk
vendored
1
external/icu/UnpackedTarball_icu.mk
vendored
@ -41,6 +41,7 @@ $(eval $(call gb_UnpackedTarball_add_patches,icu,\
|
||||
$(if $(filter-out ANDROID,$(OS)),external/icu/icu4c-icudata-stdlibs.patch.1) \
|
||||
external/icu/no-python.patch \
|
||||
external/icu/Wunnecessary-virtual-specifier.patch \
|
||||
external/icu/0001-ICU-23054-const-up-struct-that-gencmn-outputs.patch.2 \
|
||||
))
|
||||
|
||||
$(eval $(call gb_UnpackedTarball_add_file,icu,source/data/brkitr/khmerdict.dict,external/icu/khmerdict.dict))
|
||||
|
Reference in New Issue
Block a user