git: 3e1a202077d5 - main - devel/libcbor: Update to 0.14.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 26 Jun 2026 20:49:42 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3e1a202077d5b80a3d804556c41ff86aaf79e015

commit 3e1a202077d5b80a3d804556c41ff86aaf79e015
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-06-26 20:44:02 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-06-26 20:44:02 +0000

    devel/libcbor: Update to 0.14.0
    
    Changes:        https://github.com/PJK/libcbor/releases
---
 devel/libcbor/Makefile                       |  2 +-
 devel/libcbor/distinfo                       |  6 +++---
 devel/libcbor/files/patch-src-CMakeLists.txt | 22 ++++++++++++----------
 3 files changed, 16 insertions(+), 14 deletions(-)

diff --git a/devel/libcbor/Makefile b/devel/libcbor/Makefile
index c2363dc28014..8a4bfbde72e6 100644
--- a/devel/libcbor/Makefile
+++ b/devel/libcbor/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	libcbor
-PORTVERSION=	0.13.0
+PORTVERSION=	0.14.0
 DISTVERSIONPREFIX=	v
 CATEGORIES=	devel
 
diff --git a/devel/libcbor/distinfo b/devel/libcbor/distinfo
index 0347f1883a73..99782bdff323 100644
--- a/devel/libcbor/distinfo
+++ b/devel/libcbor/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1757436411
-SHA256 (PJK-libcbor-v0.13.0_GH0.tar.gz) = 95a7f0dd333fd1dce3e4f92691ca8be38227b27887599b21cd3c4f6d6a7abb10
-SIZE (PJK-libcbor-v0.13.0_GH0.tar.gz) = 299917
+TIMESTAMP = 1780751904
+SHA256 (PJK-libcbor-v0.14.0_GH0.tar.gz) = a8c1516e741562cf95aa4479c64916c3d4d2623e24fdc35e414e2320e7300aae
+SIZE (PJK-libcbor-v0.14.0_GH0.tar.gz) = 317101
diff --git a/devel/libcbor/files/patch-src-CMakeLists.txt b/devel/libcbor/files/patch-src-CMakeLists.txt
index c185c1e95c59..9171642408f5 100644
--- a/devel/libcbor/files/patch-src-CMakeLists.txt
+++ b/devel/libcbor/files/patch-src-CMakeLists.txt
@@ -1,12 +1,14 @@
---- src/CMakeLists.txt.orig	2025-05-06 17:51:02 UTC
+--- src/CMakeLists.txt.orig	2026-04-06 22:57:56 UTC
 +++ src/CMakeLists.txt
-@@ -29,12 +29,19 @@ add_library(cbor ${SOURCES})
+@@ -29,6 +29,7 @@ add_library(cbor ${SOURCES})
  endif()
  
  add_library(cbor ${SOURCES})
 +add_library(cbor_static STATIC ${SOURCES})
- target_include_directories(cbor PUBLIC
-   $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
+ 
+ target_compile_definitions(cbor
+   PRIVATE
+@@ -60,7 +61,13 @@ target_include_directories(cbor PUBLIC
    $<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}>
    $<BUILD_INTERFACE:${PROJECT_BINARY_DIR}>
    $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>)
@@ -20,16 +22,16 @@
  # For vendored builds
  add_library(libcbor::libcbor ALIAS cbor)
  
-@@ -62,7 +69,7 @@ set_target_properties(
-   PROPERTIES VERSION ${CBOR_VERSION}
+@@ -88,7 +95,7 @@ set_target_properties(
+   PROPERTIES VERSION ${PROJECT_VERSION}
               MACHO_COMPATIBILITY_VERSION
-              ${CBOR_VERSION_MAJOR}.${CBOR_VERSION_MINOR}.0
--             SOVERSION ${CBOR_VERSION_MAJOR}.${CBOR_VERSION_MINOR})
-+             SOVERSION ${CBOR_VERSION_MAJOR})
+              ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.0
+-             SOVERSION ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR})
++             SOVERSION ${PROJECT_VERSION_MAJOR})
  
  join_paths(libdir_for_pc_file "\${prefix}" "${CMAKE_INSTALL_LIBDIR}")
  join_paths(includedir_for_pc_file "\${prefix}" "${CMAKE_INSTALL_INCLUDEDIR}")
-@@ -70,7 +77,7 @@ install(
+@@ -96,7 +103,7 @@ install(
  
  # http://www.cmake.org/Wiki/CMake:Install_Commands
  install(