From 68ed7ace99599bd002cf00dea1c6dca7d649c8f0 Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Thu, 23 May 2024 12:00:09 +0200 Subject: [PATCH] devel/hyprlang: update to 0.5.2 Changes: https://github.com/hyprwm/hyprlang/releases/tag/v0.5.2 Reported by: GitHub (watch releases) --- devel/hyprlang/Makefile | 2 +- devel/hyprlang/distinfo | 6 +++--- devel/hyprlang/files/patch-CMakeLists.txt | 13 +++++++++++++ 3 files changed, 17 insertions(+), 4 deletions(-) create mode 100644 devel/hyprlang/files/patch-CMakeLists.txt diff --git a/devel/hyprlang/Makefile b/devel/hyprlang/Makefile index 19540080726ec..88d1463d0f044 100644 --- a/devel/hyprlang/Makefile +++ b/devel/hyprlang/Makefile @@ -1,6 +1,6 @@ PORTNAME= hyprlang DISTVERSIONPREFIX= v -DISTVERSION= 0.5.1 +DISTVERSION= 0.5.2 CATEGORIES= devel MAINTAINER= jbeich@FreeBSD.org diff --git a/devel/hyprlang/distinfo b/devel/hyprlang/distinfo index 2041db8f243ca..bc5e5b63a3392 100644 --- a/devel/hyprlang/distinfo +++ b/devel/hyprlang/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1713121246 -SHA256 (hyprwm-hyprlang-v0.5.1_GH0.tar.gz) = 7f521906d3f40b8d7b2bfcbe29a8286e9c65a7a601994344278bc16325bbd75d -SIZE (hyprwm-hyprlang-v0.5.1_GH0.tar.gz) = 56237 +TIMESTAMP = 1716458409 +SHA256 (hyprwm-hyprlang-v0.5.2_GH0.tar.gz) = 66a1f87634c8ecdeb67d7ccc499a3fc1c19b064a098b103be042751e7430b5cc +SIZE (hyprwm-hyprlang-v0.5.2_GH0.tar.gz) = 56383 SHA256 (llvm-llvm-project-llvmorg-16.0.1_GH0.tar.gz) = b5a9ff1793b1e2d388a3819bf35797002b1d2e40bb35a10c65605e0ea1435271 SIZE (llvm-llvm-project-llvmorg-16.0.1_GH0.tar.gz) = 179289803 diff --git a/devel/hyprlang/files/patch-CMakeLists.txt b/devel/hyprlang/files/patch-CMakeLists.txt new file mode 100644 index 0000000000000..908484955fd44 --- /dev/null +++ b/devel/hyprlang/files/patch-CMakeLists.txt @@ -0,0 +1,13 @@ +https://github.com/hyprwm/hyprlang/issues/46 + +--- CMakeLists.txt.orig 2024-05-23 10:00:09 UTC ++++ CMakeLists.txt +@@ -45,7 +45,7 @@ if (CMAKE_CXX_COMPILER_ID MATCHES "Clang") + # probably evil. Arch's clang is very outdated tho... + target_compile_options(hyprlang PUBLIC -std=gnu++2b -D__cpp_concepts=202002L -Wno-macro-redefined) + add_compile_options(-stdlib=libc++) +- add_link_options(-stdlib=libc++ -lc++abi) ++ add_link_options(-stdlib=libc++) + message(STATUS "Using clang++ to compile hyprlang") + endif() +