diff options
author | brooks <brooks@FreeBSD.org> | 2018-02-08 02:03:24 +0800 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2018-02-08 02:03:24 +0800 |
commit | df09be499b90189887d054d83b0c2630f426b6ad (patch) | |
tree | 77ae64c6e35086f2e12f5a73c3cbc6c8e186a3d4 /devel | |
parent | 332fd2f9098aea0723ee99bf5e6b65ccda5d1c0f (diff) | |
download | freebsd-ports-gnome-df09be499b90189887d054d83b0c2630f426b6ad.tar.gz freebsd-ports-gnome-df09be499b90189887d054d83b0c2630f426b6ad.tar.zst freebsd-ports-gnome-df09be499b90189887d054d83b0c2630f426b6ad.zip |
Switch to EXTRA_PATCHES directories.
Delete unreferenced patches.
No functional changes.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/llvm-devel/Makefile | 10 | ||||
-rw-r--r-- | devel/llvm-devel/files/clang/patch-fformat_extensions.diff (renamed from devel/llvm-devel/files/clang-patch-fformat_extensions.diff) | 0 | ||||
-rw-r--r-- | devel/llvm-devel/files/clang/patch-fopenmp.diff (renamed from devel/llvm-devel/files/clang-patch-fopenmp.diff) | 0 | ||||
-rw-r--r-- | devel/llvm-devel/files/clang/patch-tools_clang_tools_clang-format_clang-format-sublime.py (renamed from devel/llvm-devel/files/clang-patch-tools_clang_tools_clang-format_clang-format-sublime.py) | 0 | ||||
-rw-r--r-- | devel/llvm-devel/files/clang/patch-tools_clang_tools_clang-format_clang-format.py (renamed from devel/llvm-devel/files/clang-patch-tools_clang_tools_clang-format_clang-format.py) | 0 | ||||
-rw-r--r-- | devel/llvm-devel/files/clang/patch-tools_clang_tools_clang-format_git-clang-format (renamed from devel/llvm-devel/files/clang-patch-tools_clang_tools_clang-format_git-clang-format) | 0 | ||||
-rw-r--r-- | devel/llvm-devel/files/compiler-rt-patch-canonical-syscalls | 35 | ||||
-rw-r--r-- | devel/llvm-devel/files/compiler-rt-patch-ino64 | 15 | ||||
-rw-r--r-- | devel/llvm-devel/files/openmp-patch-tools_openmp_libomptarget_CMakeLists.txt | 10 | ||||
-rw-r--r-- | devel/llvm-devel/files/openmp/patch-bug32279 (renamed from devel/llvm-devel/files/openmp-patch-bug32279) | 0 |
10 files changed, 2 insertions, 68 deletions
diff --git a/devel/llvm-devel/Makefile b/devel/llvm-devel/Makefile index b73463f77c8b..92d5b18ed9b1 100644 --- a/devel/llvm-devel/Makefile +++ b/devel/llvm-devel/Makefile @@ -59,12 +59,7 @@ OPTIONS_SUB= yes PLIST_FILES= CLANG_DESC= Build clang -CLANG_EXTRA_PATCHES= \ - ${PATCHDIR}/clang-patch-fformat_extensions.diff \ - ${PATCHDIR}/clang-patch-fopenmp.diff \ - ${PATCHDIR}/clang-patch-tools_clang_tools_clang-format_clang-format.py \ - ${PATCHDIR}/clang-patch-tools_clang_tools_clang-format_clang-format-sublime.py \ - ${PATCHDIR}/clang-patch-tools_clang_tools_clang-format_git-clang-format +CLANG_EXTRA_PATCHES= ${PATCHDIR}/clang CLANG_CONFLICTS_INSTALL= clang-devel-3.[1234567]* CLANG_GH_PROJECT= clang:clang CLANG_GH_SUBDIR= tools/clang:clang @@ -104,8 +99,7 @@ OPENMP_CONFLICTS_INSTALL= libiomp5-devel-* OPENMP_GH_PROJECT= openmp:openmp OPENMP_GH_SUBDIR= projects/openmp:openmp OPENMP_GH_TAGNAME= ${OPENMP_COMMIT}:openmp -OPENMP_EXTRA_PATCHES= \ - ${PATCHDIR}/openmp-patch-bug32279 +OPENMP_EXTRA_PATCHES= ${PATCHDIR}/openmp GOLD_DESC= Build the LLVM Gold plugin for LTO GOLD_CMAKE_ON= -DLLVM_BINUTILS_INCDIR=${LOCALBASE}/include GOLD_BUILD_DEPENDS= ${LOCALBASE}/bin/ld.gold:devel/binutils diff --git a/devel/llvm-devel/files/clang-patch-fformat_extensions.diff b/devel/llvm-devel/files/clang/patch-fformat_extensions.diff index a4d2ecd90540..a4d2ecd90540 100644 --- a/devel/llvm-devel/files/clang-patch-fformat_extensions.diff +++ b/devel/llvm-devel/files/clang/patch-fformat_extensions.diff diff --git a/devel/llvm-devel/files/clang-patch-fopenmp.diff b/devel/llvm-devel/files/clang/patch-fopenmp.diff index 18932bd0d19c..18932bd0d19c 100644 --- a/devel/llvm-devel/files/clang-patch-fopenmp.diff +++ b/devel/llvm-devel/files/clang/patch-fopenmp.diff diff --git a/devel/llvm-devel/files/clang-patch-tools_clang_tools_clang-format_clang-format-sublime.py b/devel/llvm-devel/files/clang/patch-tools_clang_tools_clang-format_clang-format-sublime.py index 2c8909f1e1d1..2c8909f1e1d1 100644 --- a/devel/llvm-devel/files/clang-patch-tools_clang_tools_clang-format_clang-format-sublime.py +++ b/devel/llvm-devel/files/clang/patch-tools_clang_tools_clang-format_clang-format-sublime.py diff --git a/devel/llvm-devel/files/clang-patch-tools_clang_tools_clang-format_clang-format.py b/devel/llvm-devel/files/clang/patch-tools_clang_tools_clang-format_clang-format.py index 2962d3f4cbcb..2962d3f4cbcb 100644 --- a/devel/llvm-devel/files/clang-patch-tools_clang_tools_clang-format_clang-format.py +++ b/devel/llvm-devel/files/clang/patch-tools_clang_tools_clang-format_clang-format.py diff --git a/devel/llvm-devel/files/clang-patch-tools_clang_tools_clang-format_git-clang-format b/devel/llvm-devel/files/clang/patch-tools_clang_tools_clang-format_git-clang-format index 5c5ae3581228..5c5ae3581228 100644 --- a/devel/llvm-devel/files/clang-patch-tools_clang_tools_clang-format_git-clang-format +++ b/devel/llvm-devel/files/clang/patch-tools_clang_tools_clang-format_git-clang-format diff --git a/devel/llvm-devel/files/compiler-rt-patch-canonical-syscalls b/devel/llvm-devel/files/compiler-rt-patch-canonical-syscalls deleted file mode 100644 index f68f299e8a03..000000000000 --- a/devel/llvm-devel/files/compiler-rt-patch-canonical-syscalls +++ /dev/null @@ -1,35 +0,0 @@ -diff --git lib/sanitizer_common/sanitizer_linux.cc lib/sanitizer_common/sanitizer_linux.cc -index 7328a5c0ac1..4b59a39ee27 100644 ---- lib/sanitizer_common/sanitizer_linux.cc -+++ lib/sanitizer_common/sanitizer_linux.cc -@@ -223,7 +223,8 @@ static void kernel_stat_to_stat(struct kernel_stat *in, struct stat *out) { - - uptr internal_stat(const char *path, void *buf) { - #if SANITIZER_FREEBSD -- return internal_syscall(SYSCALL(stat), path, buf); -+ return internal_syscall(SYSCALL(fstatat), AT_FDCWD, (uptr)path, -+ (uptr)buf, 0); - #elif SANITIZER_USES_CANONICAL_LINUX_SYSCALLS - return internal_syscall(SYSCALL(newfstatat), AT_FDCWD, (uptr)path, - (uptr)buf, 0); -@@ -247,7 +248,8 @@ uptr internal_stat(const char *path, void *buf) { - - uptr internal_lstat(const char *path, void *buf) { - #if SANITIZER_FREEBSD -- return internal_syscall(SYSCALL(lstat), path, buf); -+ return internal_syscall(SYSCALL(fstatat), AT_FDCWD, (uptr)path, -+ (uptr)buf, AT_SYMLINK_NOFOLLOW); - #elif SANITIZER_USES_CANONICAL_LINUX_SYSCALLS - return internal_syscall(SYSCALL(newfstatat), AT_FDCWD, (uptr)path, - (uptr)buf, AT_SYMLINK_NOFOLLOW); -@@ -590,7 +592,9 @@ uptr internal_getppid() { - } - - uptr internal_getdents(fd_t fd, struct linux_dirent *dirp, unsigned int count) { --#if SANITIZER_USES_CANONICAL_LINUX_SYSCALLS -+#if SANITIZER_FREEBSD -+ return internal_syscall(SYSCALL(getdirentries), fd, (uptr)dirp, count, NULL); -+#elif SANITIZER_USES_CANONICAL_LINUX_SYSCALLS - return internal_syscall(SYSCALL(getdents64), fd, (uptr)dirp, count); - #else - return internal_syscall(SYSCALL(getdents), fd, (uptr)dirp, count); diff --git a/devel/llvm-devel/files/compiler-rt-patch-ino64 b/devel/llvm-devel/files/compiler-rt-patch-ino64 deleted file mode 100644 index 1e251f7f515c..000000000000 --- a/devel/llvm-devel/files/compiler-rt-patch-ino64 +++ /dev/null @@ -1,15 +0,0 @@ ---- lib/sanitizer_common/sanitizer_platform_limits_posix.h.orig 2017-05-24 19:09:24.000000000 +0000 -+++ lib/sanitizer_common/sanitizer_platform_limits_posix.h 2017-05-24 20:12:47.183536000 +0000 -@@ -485,7 +485,12 @@ - }; - #elif SANITIZER_FREEBSD - struct __sanitizer_dirent { -+#if __FreeBSD_version < 1200031 - unsigned int d_fileno; -+#else -+ unsigned long long d_fileno; -+ unsigned long long d_off; -+#endif - unsigned short d_reclen; - // more fields that we don't care about - }; diff --git a/devel/llvm-devel/files/openmp-patch-tools_openmp_libomptarget_CMakeLists.txt b/devel/llvm-devel/files/openmp-patch-tools_openmp_libomptarget_CMakeLists.txt deleted file mode 100644 index 99e56309e98f..000000000000 --- a/devel/llvm-devel/files/openmp-patch-tools_openmp_libomptarget_CMakeLists.txt +++ /dev/null @@ -1,10 +0,0 @@ ---- runtimes/openmp/libomptarget/CMakeLists.txt.orig -+++ runtimes/openmp/libomptarget/CMakeLists.txt -@@ -94,7 +94,6 @@ - # Build libomptarget library with libdl dependency. - add_library(omptarget SHARED ${src_files}) - target_link_libraries(omptarget -- dl - "-Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/exports") - - # Install libomptarget under the lib destination folder. diff --git a/devel/llvm-devel/files/openmp-patch-bug32279 b/devel/llvm-devel/files/openmp/patch-bug32279 index 420402ab15a6..420402ab15a6 100644 --- a/devel/llvm-devel/files/openmp-patch-bug32279 +++ b/devel/llvm-devel/files/openmp/patch-bug32279 |