Skip to Content.
Sympa Menu

sm-commit - [[SM-Commit] ] GIT changes to master grimoire by Ismael Luceno (c8ace260aa2c106efa22d065833d716826b10363)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Ismael Luceno <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org, sm-commit AT lists.sourcemage.org
  • Subject: [[SM-Commit] ] GIT changes to master grimoire by Ismael Luceno (c8ace260aa2c106efa22d065833d716826b10363)
  • Date: Sun, 23 Jun 2024 14:59:46 +0000

GIT changes to master grimoire by Ismael Luceno <ismael AT sourcemage.org>:

libs/rapidjson/DETAILS
| 2
libs/rapidjson/HISTORY
| 6 +-
libs/rapidjson/PRE_BUILD
| 3 +

libs/rapidjson/patches/0001-Removed-non-compiling-assignment-operator.-Fixed-718.patch
| 28 ++++++++++
4 files changed, 38 insertions(+), 1 deletion(-)

New commits:
commit c8ace260aa2c106efa22d065833d716826b10363
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

rapidjson: Fix non-compiling operator

commit e17c03a714a9bd895ca472fa27b3a20a6078a487
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

rapidjson: Add Watch line

diff --git a/libs/rapidjson/DETAILS b/libs/rapidjson/DETAILS
index bb358a0..8080605 100755
--- a/libs/rapidjson/DETAILS
+++ b/libs/rapidjson/DETAILS
@@ -1,6 +1,8 @@
+# Watch: https://github.com/Tencent/rapidjson/tags
/refs/tags/v([0-9.]+)[.]tar
source "${GRIMOIRE}/CMAKE_FUNCTIONS"
SPELL="rapidjson"
VERSION="1.1.0"
+ PATCHLEVEL=1

SOURCE_HASH="sha512:2e82a4bddcd6c4669541f5945c2d240fb1b4fdd6e239200246d3dd50ce98733f0a4f6d3daa56f865d8c88779c036099c52a9ae85d47ad263686b68a88d832dff"
SOURCE="${SPELL}-${VERSION}.tar.gz"

SOURCE_URL[0]="https://github.com/Tencent/${SPELL}/archive/v${VERSION}.tar.gz";
diff --git a/libs/rapidjson/HISTORY b/libs/rapidjson/HISTORY
index da9c787..3b94a3d 100644
--- a/libs/rapidjson/HISTORY
+++ b/libs/rapidjson/HISTORY
@@ -1,3 +1,7 @@
+2024-06-23 Ismael Luceno <ismael AT sourcemage.org>
+ * DETAILS: PATCHLEVEL++
+ * PRE_BUILD,
patches/0001-Removed-non-compiling-assignment-operator.-Fixed-718.patch:
+ fixed non-compiling operator
+
2019-01-14 Pavel Vinogradov <public AT sourcemage.org>
* BUILD, CONFIGURE, DEPENDS, DETAILS: created spell
-
diff --git a/libs/rapidjson/PRE_BUILD b/libs/rapidjson/PRE_BUILD
new file mode 100755
index 0000000..c230ad1
--- /dev/null
+++ b/libs/rapidjson/PRE_BUILD
@@ -0,0 +1,3 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+apply_patch_dir patches
diff --git
a/libs/rapidjson/patches/0001-Removed-non-compiling-assignment-operator.-Fixed-718.patch

b/libs/rapidjson/patches/0001-Removed-non-compiling-assignment-operator.-Fixed-718.patch
new file mode 100644
index 0000000..7c72169
--- /dev/null
+++
b/libs/rapidjson/patches/0001-Removed-non-compiling-assignment-operator.-Fixed-718.patch
@@ -0,0 +1,28 @@
+From 3b2441b87f99ab65f37b141a7b548ebadb607b96 Mon Sep 17 00:00:00 2001
+From: Janusz Chorko <janusz.chorko AT apdu.pl>
+Date: Fri, 26 Aug 2016 21:17:38 +0200
+Subject: [PATCH] Removed non-compiling assignment operator. Fixed #718
+
+Upstream-Status: Backport
+Origin: Upstream
+Signed-off-by: Ismael Luceno <ismael AT sourcemage.org>
+---
+ include/rapidjson/document.h | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/include/rapidjson/document.h b/include/rapidjson/document.h
+index e3e20dfbdc99..b0f1f70bebad 100644
+--- a/include/rapidjson/document.h
++++ b/include/rapidjson/document.h
+@@ -316,8 +316,6 @@ struct GenericStringRef {
+
+ GenericStringRef(const GenericStringRef& rhs) : s(rhs.s),
length(rhs.length) {}
+
+- GenericStringRef& operator=(const GenericStringRef& rhs) { s = rhs.s;
length = rhs.length; }
+-
+ //! implicit conversion to plain CharType pointer
+ operator const Ch *() const { return s; }
+
+--
+2.44.0
+


  • [[SM-Commit] ] GIT changes to master grimoire by Ismael Luceno (c8ace260aa2c106efa22d065833d716826b10363), Ismael Luceno, 06/23/2024

Archive powered by MHonArc 2.6.24.

Top of Page