pkgsrc-WIP-changes archive

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

llvm-netbsd: Backport patch from pkgsrc by ryoon@



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Tue Oct 17 22:18:29 2017 +0200
Changeset:	57f209bddf20a0900289f98819614c4ef72bc37f

Modified Files:
	llvm-netbsd/distinfo
Added Files:
	llvm-netbsd/patches/patch-cmake_config-ix.cmake

Log Message:
llvm-netbsd: Backport patch from pkgsrc by ryoon@

LLDB requires fix in llvm-config.
Correct terminfo linking, replace -tinfo with -lterminfo.
Fixes build on NetBSD.

Sponsored by <The NetBSD Foundation>

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=57f209bddf20a0900289f98819614c4ef72bc37f

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

diffstat:
 llvm-netbsd/distinfo                            |  1 +
 llvm-netbsd/patches/patch-cmake_config-ix.cmake | 13 +++++++++++++
 2 files changed, 14 insertions(+)

diffs:
diff --git a/llvm-netbsd/distinfo b/llvm-netbsd/distinfo
index 0aa264615e..e7629307a6 100644
--- a/llvm-netbsd/distinfo
+++ b/llvm-netbsd/distinfo
@@ -1,5 +1,6 @@
 $NetBSD$
 
+SHA1 (patch-cmake_config-ix.cmake) = ba413c9c566cdc0aee351d6ec53f566de425799a
 SHA1 (patch-lib_Transforms_Instrumentation_AddressSanitizer.cpp) = ad230c1f0091f28451a29a11050588f412824e53
 SHA1 (patch-lib_Transforms_Instrumentation_InstrProfiling.cpp) = 871b474f415d9dc468cc07477101f88d7a20868b
 SHA1 (patch-lib_Transforms_Instrumentation_MemorySanitizer.cpp) = 64fdbb55c77d5f5f73152d2f8daa28adfc428e40
diff --git a/llvm-netbsd/patches/patch-cmake_config-ix.cmake b/llvm-netbsd/patches/patch-cmake_config-ix.cmake
new file mode 100644
index 0000000000..a92443422a
--- /dev/null
+++ b/llvm-netbsd/patches/patch-cmake_config-ix.cmake
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- cmake/config-ix.cmake.orig	2017-10-16 20:22:53.000000000 +0000
++++ cmake/config-ix.cmake
+@@ -144,7 +144,7 @@ if( NOT PURE_WINDOWS AND NOT LLVM_USE_SA
+   endif()
+   if(LLVM_ENABLE_TERMINFO)
+     set(HAVE_TERMINFO 0)
+-    foreach(library tinfo terminfo curses ncurses ncursesw)
++    foreach(library terminfo tinfo curses ncurses ncursesw)
+       string(TOUPPER ${library} library_suffix)
+       check_library_exists(${library} setupterm "" HAVE_TERMINFO_${library_suffix})
+       if(HAVE_TERMINFO_${library_suffix})


Home | Main Index | Thread Index | Old Index