pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/libunwind/patches



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Nov 14 18:45:20 UTC 2022

Added Files:
        pkgsrc/lang/libunwind/patches: patch-src_CMakeLists.txt

Log Message:
libunwind: add patches


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/libunwind/patches/patch-src_CMakeLists.txt

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/lang/libunwind/patches/patch-src_CMakeLists.txt
diff -u /dev/null pkgsrc/lang/libunwind/patches/patch-src_CMakeLists.txt:1.1
--- /dev/null   Mon Nov 14 18:45:20 2022
+++ pkgsrc/lang/libunwind/patches/patch-src_CMakeLists.txt      Mon Nov 14 18:45:20 2022
@@ -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