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

Bug#1000459: gcc-12: cross-install-location.diff does not apply



Source: gcc-12
Version: 12-20211117-1
Tags: patch
User: helmutg@debian.org
Usertags: ftcbfs

cross-install-location.diff does not apply due to changes in gcc. I'm
attaching a patch to fix that. Can you apply it? I plan to send more
fixes. Would you like to receive them in a different form (e.g. salsa
merge requests)?

Helmut
--- a/debian/patches/cross-install-location.diff
+++ b/debian/patches/cross-install-location.diff
@@ -17,7 +17,7 @@
 @@ -724,7 +724,7 @@ gcc_version := $(shell @get_gcc_base_ver
  @LIBGFOR_USE_SYMVER_GNU_TRUE@@LIBGFOR_USE_SYMVER_TRUE@version_dep = $(srcdir)/gfortran.map
  @LIBGFOR_USE_SYMVER_SUN_TRUE@@LIBGFOR_USE_SYMVER_TRUE@version_dep = gfortran.map-sun
- gfor_c_HEADERS = $(srcdir)/ISO_Fortran_binding.h
+ gfor_c_HEADERS = ISO_Fortran_binding.h
 -gfor_cdir = $(libdir)/gcc/$(target_alias)/$(gcc_version)/include
 +gfor_cdir = $(libdir)/gcc-cross/$(target_alias)/$(gcc_version)/include
  LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS)) \
@@ -43,7 +43,7 @@
 @@ -31,7 +31,7 @@ version_dep =
  endif
  
- gfor_c_HEADERS = $(srcdir)/ISO_Fortran_binding.h
+ gfor_c_HEADERS = ISO_Fortran_binding.h
 -gfor_cdir = $(libdir)/gcc/$(target_alias)/$(gcc_version)/include
 +gfor_cdir = $(libdir)/gcc-cross/$(target_alias)/$(gcc_version)/include
  

Reply to: