diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2023-01-19 20:30:47 +0300 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2023-01-20 02:24:09 +0300 |
commit | 150ecc38226d63e0ff84daad01e7bffa5060078a (patch) | |
tree | 5e7d77cda8d6eb4d3fa1eded9332997c85431980 /astro | |
parent | devel/py-types-psycopg2: update 2.9.21.3 → 2.9.21.4 (diff) |
astro/libosmium: update 2.18.0 → 2.19.0
Diffstat (limited to 'astro')
-rw-r--r-- | astro/libosmium/Makefile | 12 | ||||
-rw-r--r-- | astro/libosmium/distinfo | 6 | ||||
-rw-r--r-- | astro/libosmium/files/patch-include_osmium_thread_util.hpp | 29 | ||||
-rw-r--r-- | astro/libosmium/pkg-plist | 1 |
4 files changed, 4 insertions, 44 deletions
diff --git a/astro/libosmium/Makefile b/astro/libosmium/Makefile index bffc1d3c5cc0..6d7312472a70 100644 --- a/astro/libosmium/Makefile +++ b/astro/libosmium/Makefile @@ -1,7 +1,6 @@ PORTNAME= libosmium DISTVERSIONPREFIX= v -DISTVERSION= 2.18.0 -PORTREVISION= 1 +DISTVERSION= 2.19.0 CATEGORIES= astro geography devel MAINTAINER= amdmi3@FreeBSD.org @@ -38,15 +37,6 @@ OPTIONS_DEFAULT= TEST TEST_TEST_TARGET= test TEST_CMAKE_BOOL= BUILD_TESTING -post-patch: - @${FIND} ${WRKSRC} -type f \( -name "*.cpp" -o -name "*.hpp" \) \ - -not -name "memory_mapping.hpp" \ - -not -name "test_memory_mapping.cpp" \ - -not -name "test_memory.cpp" \ - -exec ${REINPLACE_CMD} \ - -e 's,^#ifdef __linux__,#if defined(__linux__) || defined(__FreeBSD__),' \ - -e 's,^#ifndef __linux__,#if !defined(__linux__) && !defined(__FreeBSD__),' {} \; - post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/CHANGELOG.md ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} diff --git a/astro/libosmium/distinfo b/astro/libosmium/distinfo index ef8ec6ea88d1..a10f7d4c782f 100644 --- a/astro/libosmium/distinfo +++ b/astro/libosmium/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1647270667 -SHA256 (osmcode-libosmium-v2.18.0_GH0.tar.gz) = c05a3e95c9c811521ebad8637e90f43ab8fb053b310875acce741cc4c17d6f59 -SIZE (osmcode-libosmium-v2.18.0_GH0.tar.gz) = 565862 +TIMESTAMP = 1674129193 +SHA256 (osmcode-libosmium-v2.19.0_GH0.tar.gz) = 6911a8ca8e81d49205357177982df908af11376919f93b814cccf02f1d4d63e3 +SIZE (osmcode-libosmium-v2.19.0_GH0.tar.gz) = 565486 diff --git a/astro/libosmium/files/patch-include_osmium_thread_util.hpp b/astro/libosmium/files/patch-include_osmium_thread_util.hpp deleted file mode 100644 index fd7360b76bc0..000000000000 --- a/astro/libosmium/files/patch-include_osmium_thread_util.hpp +++ /dev/null @@ -1,29 +0,0 @@ ---- include/osmium/thread/util.hpp.orig 2022-02-07 12:59:17 UTC -+++ include/osmium/thread/util.hpp -@@ -38,8 +38,10 @@ DEALINGS IN THE SOFTWARE. - #include <thread> - #include <utility> - --#ifdef __linux__ -+#if defined(__linux__) - # include <sys/prctl.h> -+#elif defined(__FreeBSD__) -+# include <pthread.h> - #endif - - namespace osmium { -@@ -72,9 +74,13 @@ namespace osmium { - /** - * Set name of current thread for debugging. This only works on Linux. - */ --#ifdef __linux__ -+#if defined(__linux__) - inline void set_thread_name(const char* name) noexcept { - prctl(PR_SET_NAME, name, 0, 0, 0); -+ } -+#elif defined(__FreeBSD__) -+ inline void set_thread_name(const char* name) noexcept { -+ pthread_setname_np(pthread_self(), name); - } - #else - inline void set_thread_name(const char*) noexcept { diff --git a/astro/libosmium/pkg-plist b/astro/libosmium/pkg-plist index 6b7f4389812b..b2506aaaae57 100644 --- a/astro/libosmium/pkg-plist +++ b/astro/libosmium/pkg-plist @@ -47,7 +47,6 @@ include/osmium/handler/disk_store.hpp include/osmium/handler/dump.hpp include/osmium/handler/node_locations_for_ways.hpp include/osmium/handler/object_relations.hpp -include/osmium/index/bool_vector.hpp include/osmium/index/detail/create_map_with_fd.hpp include/osmium/index/detail/mmap_vector_anon.hpp include/osmium/index/detail/mmap_vector_base.hpp |