logo

live-bootstrap

Mirror of <https://github.com/fosslinux/live-bootstrap>

remove_gperf_dependency.patch (1434B)


  1. SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
  2. SPDX-License-Identifier: GPL-3.0-or-later
  3. Remove dependency on gperf.
  4. --- gcc-4.7.4/gcc/cp/except.c 2021-07-07 18:24:36.561530121 +0100
  5. +++ gcc-4.7.4/gcc/cp/except.c 2021-07-07 18:27:18.035681929 +0100
  6. @@ -987,8 +987,6 @@
  7. exception, unless it calls a program-supplied function that
  8. throws an exception. */
  9. -#include "cfns.h"
  10. -
  11. int
  12. nothrow_libfn_p (const_tree fn)
  13. {
  14. @@ -1007,7 +1005,7 @@
  15. unless the system headers are playing rename tricks, and if
  16. they are, we don't want to be confused by them. */
  17. id = DECL_NAME (fn);
  18. - return !!libc_name_p (IDENTIFIER_POINTER (id), IDENTIFIER_LENGTH (id));
  19. + return 0;
  20. }
  21. /* Returns nonzero if an exception of type FROM will be caught by a
  22. --- gcc-4.7.4/gcc/cp/Make-lang.in 2021-07-07 18:24:36.571530380 +0100
  23. +++ gcc-4.7.4/gcc/cp/Make-lang.in 2021-07-07 18:26:47.154887799 +0100
  24. @@ -313,7 +313,7 @@
  25. cp/rtti.o: cp/rtti.c $(CXX_TREE_H) $(TM_H) $(FLAGS_H) convert.h \
  26. $(TARGET_H) $(C_PRAGMA_H) gt-cp-rtti.h intl.h
  27. cp/except.o: cp/except.c $(CXX_TREE_H) $(TM_H) $(FLAGS_H) \
  28. - cp/cfns.h $(TREE_INLINE_H) $(TARGET_H) gt-cp-except.h
  29. + $(TREE_INLINE_H) $(TARGET_H) gt-cp-except.h
  30. cp/expr.o: cp/expr.c $(CXX_TREE_H) $(TM_H) $(FLAGS_H) $(TM_P_H)
  31. cp/pt.o: cp/pt.c $(CXX_TREE_H) $(TM_H) cp/decl.h cp/cp-objcp-common.h \
  32. toplev.h $(TREE_INLINE_H) pointer-set.h gt-cp-pt.h vecprim.h intl.h \