Skip to contentSkip to conversation

nlohmann-json: Avoid usage of nobranch=1

PATCH New Sourav Kumar Pramanik 1 participant 1 message Aug 21, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nlohmann-json: Avoid usage of nobranch=1

From: Sourav Pramanik <[email protected]>

The usage of nobranch=1 in SRC_URI allows using unprotected branches.

This change updates the real branch name in place of nobranch=1.

---
 meta-oe/recipes-devtools/nlohmann-json/nlohmann-json_3.7.3.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-devtools/nlohmann-json/nlohmann-json_3.7.3.bb +1 -1
index 2749f4497..a7ba46c8d 100644
@@ -4,7 +4,7 @@ SECTION = "libs"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE.MIT;md5=f5f7c71504da070bcf4f090205ce1080"
 
-SRC_URI = "git://github.com/nlohmann/json.git;nobranch=1;protocol=https \
+SRC_URI = "git://github.com/nlohmann/json.git;branch=develop;protocol=https \
            file://0001-Templatize-basic_json-ctor-from-json_ref.patch \
            file://0001-typo-fix.patch \
            "
Signature · 1 line
2.25.1