pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/cmake/patches cmake: add patch



details:   https://anonhg.NetBSD.org/pkgsrc/rev/18c3bd4f950b
branches:  trunk
changeset: 449466:18c3bd4f950b
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Mar 31 07:44:29 2021 +0000

description:
cmake: add patch

diffstat:

 devel/cmake/patches/patch-bootstrap |  15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diffs (19 lines):

diff -r 690ee0b24379 -r 18c3bd4f950b devel/cmake/patches/patch-bootstrap
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/cmake/patches/patch-bootstrap       Wed Mar 31 07:44:29 2021 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-bootstrap,v 1.5 2021/03/31 07:44:29 adam Exp $
+
+librhash requires -lcrypto when statically linked.
+
+--- bootstrap.orig     2021-03-30 09:45:30.000000000 +0000
++++ bootstrap
+@@ -1708,7 +1708,7 @@ if test "x${bootstrap_system_librhash}" 
+     cmake_c_flags="${cmake_c_flags} ${use_librhash_flags}"
+     cmake_cxx_flags="${cmake_cxx_flags} ${use_librhash_flags}"
+   fi
+-  libs="${libs} -lrhash"
++  libs="${libs} -lrhash -lcrypto"
+ fi
+ 
+ if test "${cmake_bootstrap_generator}" = "Ninja"; then



Home | Main Index | Thread Index | Old Index