Date: Wed, 16 Nov 2022 00:28:24 GMT From: Jose Alonso Cardenas Marquez <acm@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: faab0eb2bebf - main - lang/ldc: Make portlint friendly Message-ID: <202211160028.2AG0SOhi099303@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by acm: URL: https://cgit.FreeBSD.org/ports/commit/?id=faab0eb2bebff16152b11515792d1953301fdbde commit faab0eb2bebff16152b11515792d1953301fdbde Author: Jose Alonso Cardenas Marquez <acm@FreeBSD.org> AuthorDate: 2022-11-16 00:26:27 +0000 Commit: Jose Alonso Cardenas Marquez <acm@FreeBSD.org> CommitDate: 2022-11-16 00:26:27 +0000 lang/ldc: Make portlint friendly PR: 264100 Reported by: jwb --- lang/ldc/Makefile | 2 +- lang/ldc/files/patch-driver_linker-gcc.cpp | 8 ++++---- lang/ldc/files/patch-driver_targetmachine.cpp | 4 ++-- lang/ldc/files/patch-runtime_CMakeLists.txt | 6 +++--- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/lang/ldc/Makefile b/lang/ldc/Makefile index 59900d46f38f..365ac3ffb781 100644 --- a/lang/ldc/Makefile +++ b/lang/ldc/Makefile @@ -1,9 +1,9 @@ PORTNAME= ldc PORTVERSION= 1.30.0 +DISTVERSIONSUFFIX= -src PORTREVISION= 1 CATEGORIES= lang MASTER_SITES= https://github.com/ldc-developers/${PORTNAME}/releases/download/v${DISTVERSION}/ -DISTVERSIONSUFFIX= -src MAINTAINER= acm@FreeBSD.org COMMENT= LLVM-based D compiler diff --git a/lang/ldc/files/patch-driver_linker-gcc.cpp b/lang/ldc/files/patch-driver_linker-gcc.cpp index 563392761cad..0c56180f545a 100644 --- a/lang/ldc/files/patch-driver_linker-gcc.cpp +++ b/lang/ldc/files/patch-driver_linker-gcc.cpp @@ -1,8 +1,8 @@ ---- driver/linker-gcc.cpp 2020-06-16 16:15:55 UTC +--- driver/linker-gcc.cpp.orig 2022-07-20 17:05:27 UTC +++ driver/linker-gcc.cpp -@@ -647,6 +647,8 @@ void ArgsBuilder::addDefaultPlatformLibs() { - args.push_back("-ldl"); - // fallthrough +@@ -659,6 +659,8 @@ void ArgsBuilder::addDefaultPlatformLibs() { + case llvm::Triple::Darwin: + case llvm::Triple::MacOSX: case llvm::Triple::FreeBSD: + args.push_back("-lexecinfo"); // for static druntime + // fallthrough diff --git a/lang/ldc/files/patch-driver_targetmachine.cpp b/lang/ldc/files/patch-driver_targetmachine.cpp index daeba1879579..fe4b0af6193a 100644 --- a/lang/ldc/files/patch-driver_targetmachine.cpp +++ b/lang/ldc/files/patch-driver_targetmachine.cpp @@ -1,6 +1,6 @@ ---- driver/targetmachine.cpp 2020-06-16 18:15:55 UTC +--- driver/targetmachine.cpp.orig 2022-07-20 17:05:27 UTC +++ driver/targetmachine.cpp -@@ -444,6 +444,10 @@ createTargetMachine(const std::string targetTriple, co +@@ -431,6 +431,10 @@ createTargetMachine(const std::string targetTriple, co // these OSes. // On Android, PIC is default as well. relocModel = llvm::Reloc::PIC_; diff --git a/lang/ldc/files/patch-runtime_CMakeLists.txt b/lang/ldc/files/patch-runtime_CMakeLists.txt index 2f7437b56157..7461ce6ca1af 100644 --- a/lang/ldc/files/patch-runtime_CMakeLists.txt +++ b/lang/ldc/files/patch-runtime_CMakeLists.txt @@ -1,6 +1,6 @@ ---- runtime/CMakeLists.txt 2022-07-20 12:05:27.000000000 -0500 -+++ runtime/CMakeLists.txt 2022-11-13 19:53:33.442980000 -0500 -@@ -123,6 +123,8 @@ +--- runtime/CMakeLists.txt.orig 2022-07-20 17:05:27 UTC ++++ runtime/CMakeLists.txt +@@ -123,6 +123,8 @@ if("${C_SYSTEM_LIBS}" STREQUAL "AUTO") set(C_SYSTEM_LIBS m c) elseif("${TARGET_SYSTEM}" MATCHES "Linux") set(C_SYSTEM_LIBS m pthread rt dl)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202211160028.2AG0SOhi099303>