pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/libunwind libunwind: fix building of assembler files
details: https://anonhg.NetBSD.org/pkgsrc/rev/2af347f16d8f
branches: trunk
changeset: 391676:2af347f16d8f
user: wiz <wiz%pkgsrc.org@localhost>
date: Thu Jan 12 08:52:49 2023 +0000
description:
libunwind: fix building of assembler files
If they are not tagged as C sources, they are not built at all on NetBSD.
Extend macOS workaround for all platforms.
diffstat:
lang/libunwind/Makefile | 3 ++-
lang/libunwind/distinfo | 4 ++--
lang/libunwind/patches/patch-src_CMakeLists.txt | 20 ++++++++++++--------
3 files changed, 16 insertions(+), 11 deletions(-)
diffs (61 lines):
diff -r 86be29118032 -r 2af347f16d8f lang/libunwind/Makefile
--- a/lang/libunwind/Makefile Thu Jan 12 08:43:53 2023 +0000
+++ b/lang/libunwind/Makefile Thu Jan 12 08:52:49 2023 +0000
@@ -1,9 +1,10 @@
-# $NetBSD: Makefile,v 1.29 2022/11/14 18:44:06 adam Exp $
+# $NetBSD: Makefile,v 1.30 2023/01/12 08:52:49 wiz Exp $
.include "../../lang/llvm/version.mk"
DISTNAME= libunwind-${LLVM_VERSION}.src
PKGNAME= ${DISTNAME:S/.src//}
+PKGREVISION= 1
CATEGORIES= lang devel
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
diff -r 86be29118032 -r 2af347f16d8f lang/libunwind/distinfo
--- a/lang/libunwind/distinfo Thu Jan 12 08:43:53 2023 +0000
+++ b/lang/libunwind/distinfo Thu Jan 12 08:52:49 2023 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.28 2022/11/30 19:55:00 adam Exp $
+$NetBSD: distinfo,v 1.29 2023/01/12 08:52:49 wiz Exp $
BLAKE2s (cmake-15.0.6.src.tar.xz) = 6d91c537ea78e56d2621d703d6d20d9b4f52281b80520e5003bb8ea402ad8236
SHA512 (cmake-15.0.6.src.tar.xz) = a078b9b426515414dae41c8732d7cd955e8ddc9638b4ba9c7dd0925db68e5ea760096f08fd7e1cb9d55b6d73da75f9b4318a2fac36d7aa64f47536ac383b3edc
@@ -9,4 +9,4 @@
BLAKE2s (libunwind-15.0.6.src.tar.xz) = 9c03258bbb691d6b17a7ea0d7cd2d8516623947ccc8ae8c404e037ff8d6e1a32
SHA512 (libunwind-15.0.6.src.tar.xz) = 9e888d66112ee2b275cad03c102a2c07ddfd01167a0c88fab17a4a190008f5c1a7a21c7e78b449f48321bc920f9fb8d64508075e4e175617c8cc0b4aeb343c3e
Size (libunwind-15.0.6.src.tar.xz) = 113308 bytes
-SHA1 (patch-src_CMakeLists.txt) = cb7dc96b8e84caef6a71d14cc450214a05aa594b
+SHA1 (patch-src_CMakeLists.txt) = 170f52c1f9a7bb2683b7611390ca9ff2742810a8
diff -r 86be29118032 -r 2af347f16d8f lang/libunwind/patches/patch-src_CMakeLists.txt
--- a/lang/libunwind/patches/patch-src_CMakeLists.txt Thu Jan 12 08:43:53 2023 +0000
+++ b/lang/libunwind/patches/patch-src_CMakeLists.txt Thu Jan 12 08:52:49 2023 +0000
@@ -1,15 +1,19 @@
-$NetBSD: patch-src_CMakeLists.txt,v 1.2 2022/11/30 19:55:00 adam Exp $
+$NetBSD: patch-src_CMakeLists.txt,v 1.3 2023/01/12 08:52:49 wiz Exp $
-Fix build on Darwin.
+Fix building assembler files.
---- src/CMakeLists.txt.orig 2022-11-09 10:05:30.000000000 +0000
+--- src/CMakeLists.txt.orig 2022-11-29 10:05:58.000000000 +0000
+++ src/CMakeLists.txt
-@@ -34,7 +34,7 @@ set(LIBUNWIND_ASM_SOURCES
+@@ -34,11 +34,7 @@ set(LIBUNWIND_ASM_SOURCES
# See add_asm_sources() in compiler-rt for explanation of this workaround.
# CMake doesn't work correctly with assembly on AIX. Workaround by compiling
# as C files as well.
-if((APPLE AND CMAKE_VERSION VERSION_LESS 3.19) OR
-+if((APPLE AND CMAKE_VERSION VERSION_LESS 3.26) OR
- (MINGW AND CMAKE_VERSION VERSION_LESS 3.17) OR
- (${CMAKE_SYSTEM_NAME} MATCHES "AIX"))
- set_source_files_properties(${LIBUNWIND_ASM_SOURCES} PROPERTIES LANGUAGE C)
+- (MINGW AND CMAKE_VERSION VERSION_LESS 3.17) OR
+- (${CMAKE_SYSTEM_NAME} MATCHES "AIX"))
+- set_source_files_properties(${LIBUNWIND_ASM_SOURCES} PROPERTIES LANGUAGE C)
+-endif()
++set_source_files_properties(${LIBUNWIND_ASM_SOURCES} PROPERTIES LANGUAGE C)
+
+ set(LIBUNWIND_HEADERS
+ AddressSpace.hpp
Home |
Main Index |
Thread Index |
Old Index