From bfcb6f38f0ef3d08db3421ef59fa7d349c28c305 Mon Sep 17 00:00:00 2001 From: Lorenzo Salvadore Date: Tue, 29 Apr 2025 17:50:39 +0200 Subject: lang/gcc15: Add port GCC, the GNU Compiler Collection, supports a number of languages. This port installs the C, C++, and Fortran front ends as gcc15, g++15, and gfortran15, respectively. This is the first release from the GCC 15 series. It largely is a copy of lang/gcc15-devel, with release-specific modifications from lang/gcc14. Common issues that could happen when porting code to GCC 15: https://gcc.gnu.org/gcc-15/porting_to.html Changes: https://gcc.gnu.org/gcc-15/changes.html Note: files/patch-libgcc_unwind.inc will get obsolete once all supported FreeBSD releases include commit 22e564c74eb20e14bd93fd9fdde20e38a29cfcf1. [1] PR: 285711 [1] --- lang/gcc15/files/patch-gcc_jit_Make-lang.in | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 lang/gcc15/files/patch-gcc_jit_Make-lang.in (limited to 'lang/gcc15/files/patch-gcc_jit_Make-lang.in') diff --git a/lang/gcc15/files/patch-gcc_jit_Make-lang.in b/lang/gcc15/files/patch-gcc_jit_Make-lang.in new file mode 100644 index 000000000000..d5fdd6103146 --- /dev/null +++ b/lang/gcc15/files/patch-gcc_jit_Make-lang.in @@ -0,0 +1,14 @@ +--- gcc/jit/Make-lang.in.orig 2024-02-25 22:32:31 UTC ++++ gcc/jit/Make-lang.in +@@ -360,9 +360,9 @@ jit.install-headers: installdirs + # Install hooks: + jit.install-headers: installdirs + $(INSTALL_DATA) $(srcdir)/jit/libgccjit.h \ +- $(DESTDIR)$(includedir)/libgccjit.h ++ $(DESTDIR)$(libsubincludedir)/libgccjit.h + $(INSTALL_DATA) $(srcdir)/jit/libgccjit++.h \ +- $(DESTDIR)$(includedir)/libgccjit++.h ++ $(DESTDIR)$(libsubincludedir)/libgccjit++.h + + ifneq (,$(findstring mingw,$(target))) + jit.install-common: installdirs jit.install-headers -- cgit v1.2.3