biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / development / ocaml-modules / bap / curses_is_ncurses.patch
blob0b012848601fdb2789e39cad35b3e95d8300d34a
1 From e6f6d1529d1725e8c1ed3c96eecc4aea43417aea Mon Sep 17 00:00:00 2001
2 From: Matthew Maurer <matthew.r.maurer@gmail.com>
3 Date: Sun, 19 Apr 2020 15:50:01 -0700
4 Subject: [PATCH] Remove attempt to work around libcurses dependency issues.
6 BAP doesn't actually link against libcurses, LLVM does. By adding
7 -lcurses to this file, we accidentally broke linking on any systems
8 where LLVM got linked against libncurses (not libcurses) without a
9 libcurses compatibility shim.
11 Overall, we should get -l flags from llvm-config, not attempt to
12 shoehorn them in later, as this is fragile.
13 ---
14 oasis/llvm | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
17 diff --git a/oasis/llvm b/oasis/llvm
18 index 966c407..fba3fb4 100644
19 --- a/oasis/llvm
20 +++ b/oasis/llvm
21 @@ -31,7 +31,7 @@ Library bap_llvm
22 Bap_llvm_ogre_samples,
23 Bap_llvm_ogre_types
24 CCOpt: $cc_optimization
25 - CCLib: $llvm_lib $cxxlibs $llvm_ldflags -lcurses
26 + CCLib: $llvm_lib $cxxlibs $llvm_ldflags -lncurses
27 CSources: llvm_disasm.h,
28 llvm_disasm.c,
29 llvm_stubs.c,
30 --
31 2.22.0