svn commit: r556760 - head/dns/encrypted-dns-server/files

Mikael Urankar mikael at FreeBSD.org
Tue Dec 1 16:51:38 UTC 2020


Author: mikael
Date: Tue Dec  1 16:51:38 2020
New Revision: 556760
URL: https://svnweb.freebsd.org/changeset/ports/556760

Log:
  dns/encrypted-dns-server: Fix build on build on 11.4
  
  Switch to a modern linker
  
  PR:		251273
  Approved by:	Felix Hanley (maintainer)

Added:
  head/dns/encrypted-dns-server/files/patch-cargo-crates_libsodium-sys-stable-1.19.11_build.rs   (contents, props changed)

Added: head/dns/encrypted-dns-server/files/patch-cargo-crates_libsodium-sys-stable-1.19.11_build.rs
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/dns/encrypted-dns-server/files/patch-cargo-crates_libsodium-sys-stable-1.19.11_build.rs	Tue Dec  1 16:51:38 2020	(r556760)
@@ -0,0 +1,10 @@
+--- cargo-crates/libsodium-sys-stable-1.19.11/build.rs.orig     2020-11-19 15:20:25 UTC
++++ cargo-crates/libsodium-sys-stable-1.19.11/build.rs
+@@ -214,6 +214,7 @@ fn make_libsodium(target: &str, source_dir: &Path, ins
+         cross_compiling = true;
+         help = "";
+     } else {
++        cflags += " -fuse-ld=lld";
+         if target.contains("i686") {
+             compiler += " -m32 -maes";
+             cflags += " -march=i686 -fuse-ld=lld";


More information about the svn-ports-head mailing list