From 2c5b0d5d6eba3bda4e83f489da546060fa8f3a2b Mon Sep 17 00:00:00 2001 From: Zhu Zihao Date: Sat, 26 Mar 2022 16:54:43 +0800 Subject: [PATCH] Unbundle robin-map. This patch makes libobjc2 use robin-map header from system instead of cloning from submodule. --- CMakeLists.txt | 8 -------- arc.mm | 2 +- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e2746e9..cf731f1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -86,14 +86,6 @@ else () list(APPEND libobjc_C_SRCS eh_personality.c) endif (WIN32) -if (NOT EXISTS "${CMAKE_SOURCE_DIR}/third_party/robin-map/include/tsl/robin_map.h") - message(FATAL_ERROR "Git submodules not present, please run:\n\n" - " $ git submodule init && git submodule update\n\n" - "If you did not checkout via git, you will need to" - "fetch the submodule's contents from" - "https://github.com/Tessil/robin-map/") -endif () - # For release builds, we disable spamming the terminal with warnings about # selector type mismatches if (CMAKE_BUILD_TYPE STREQUAL Release) diff --git a/arc.mm b/arc.mm index c96681f..cc93e7f 100644 --- a/arc.mm +++ b/arc.mm @@ -3,7 +3,7 @@ #include #include #include -#include "third_party/robin-map/include/tsl/robin_map.h" +#include #import "lock.h" #import "objc/runtime.h" #import "objc/blocks_runtime.h" -- 2.34.0 a href='/guix/commit/gnu/packages/patches/llvm-3.6-fix-build-with-gcc-10.patch?id=ab9f9b582e510e3d1133ec29242e70fca1d2997a'>commitdiff
)
AgeCommit message (Expand)Author
Author
2023-12-02gnu: python-sphinx-prompt: Fix tests....docutils>=0.19 broke the tests, which upstream fixed in a newer commit. Cherry-pick it. * gnu/packages/patches/python-sphinx-prompt-docutils-0.19.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. * gnu/packages/sphinx.scm (python-sphinx-prompt)[origin]: Use it. Change-Id: I597387a35e6a1da01063b4812e0f919788a13b54 Lars-Dominik Braun