pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/libunwind/patches libunwind: add patches
details: https://anonhg.NetBSD.org/pkgsrc/rev/14bf22e0a049
branches: trunk
changeset: 388172:14bf22e0a049
user: adam <adam%pkgsrc.org@localhost>
date: Mon Nov 14 18:45:20 2022 +0000
description:
libunwind: add patches
diffstat:
lang/libunwind/patches/patch-src_CMakeLists.txt | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
diffs (19 lines):
diff -r e310e3fbcc47 -r 14bf22e0a049 lang/libunwind/patches/patch-src_CMakeLists.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/libunwind/patches/patch-src_CMakeLists.txt Mon Nov 14 18:45:20 2022 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_CMakeLists.txt,v 1.1 2022/11/14 18:45:20 adam Exp $
+
+Fix build on Darwin.
+
+--- src/CMakeLists.txt.orig 2022-11-09 10:05:30.000000000 +0000
++++ src/CMakeLists.txt
+@@ -34,7 +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.25) 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)
Home |
Main Index |
Thread Index |
Old Index