const up rasqal
Change-Id: I8198a38be2fdb5428e4ca7aa073d40a9cfee0de0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188101 Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com> Tested-by: Jenkins
This commit is contained in:
+4
@@ -18,6 +18,9 @@ $(eval $(call gb_UnpackedTarball_add_file,rasqal,src/rasqal.h,external/redland/r
|
||||
|
||||
$(eval $(call gb_UnpackedTarball_set_patchlevel,rasqal,0))
|
||||
|
||||
# 0001-const-up-rasqal_algebra_node_operator_labels.patch.1
|
||||
# upstream effort as: https://github.com/dajobe/rasqal/pull/20
|
||||
|
||||
$(eval $(call gb_UnpackedTarball_add_patches,rasqal,\
|
||||
external/redland/rasqal/rasqal-pkgconfig.patch.1 \
|
||||
external/redland/rasqal/rasqal-freebsd.patch.1 \
|
||||
@@ -28,6 +31,7 @@ $(eval $(call gb_UnpackedTarball_add_patches,rasqal,\
|
||||
external/redland/rasqal/rpath.patch \
|
||||
external/redland/rasqal/clang-cl.patch \
|
||||
external/redland/rasqal/libtool.patch \
|
||||
external/redland/rasqal/0001-const-up-rasqal_algebra_node_operator_labels.patch.1 \
|
||||
))
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
||||
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
From 7765e00e7a41c4f706bf62418e1f3355eb5bd9fd Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolan.mcnamara@collabora.com>
|
||||
Date: Mon, 21 Jul 2025 08:50:15 +0100
|
||||
Subject: [PATCH] const up rasqal_algebra_node_operator_labels
|
||||
|
||||
and move the symbol out of the .data section
|
||||
---
|
||||
src/rasqal_algebra.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/rasqal_algebra.c b/src/rasqal_algebra.c
|
||||
index e7e8be97..9131d0de 100644
|
||||
--- a/src/rasqal_algebra.c
|
||||
+++ b/src/rasqal_algebra.c
|
||||
@@ -773,7 +773,7 @@ rasqal_algebra_node_get_operator(rasqal_algebra_node* node)
|
||||
}
|
||||
|
||||
|
||||
-static struct {
|
||||
+static const struct {
|
||||
const char* const label;
|
||||
size_t length;
|
||||
} rasqal_algebra_node_operator_labels[RASQAL_ALGEBRA_OPERATOR_LAST + 1] = {
|
||||
--
|
||||
2.49.0
|
||||
|
||||
Reference in New Issue
Block a user