|
|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
Index: gcc/config/i386/sol2.h
|
|
|
|
|
--- gcc/config/i386/sol2.h.orig 2020-05-07 12:49:59.000000000 +0200
|
|
|
|
|
+++ gcc/config/i386/sol2.h 2020-05-21 10:11:04.648967000 +0200
|
|
|
|
|
--- gcc/config/i386/sol2.h.orig 2021-04-08 13:56:28.113741209 +0200
|
|
|
|
|
+++ gcc/config/i386/sol2.h 2021-04-09 08:43:50.229754000 +0200
|
|
|
|
|
@@ -140,6 +140,9 @@
|
|
|
|
|
} while (0)
|
|
|
|
|
#endif
|
|
|
|
|
@ -12,8 +12,8 @@ Index: gcc/config/i386/sol2.h
|
|
|
|
|
#define ASM_OUTPUT_DEF_FROM_DECLS(FILE, DECL, TARGET) \
|
|
|
|
|
do { \
|
|
|
|
|
Index: gcc/config/sol2.h
|
|
|
|
|
--- gcc/config/sol2.h.orig 2020-05-07 12:49:59.000000000 +0200
|
|
|
|
|
+++ gcc/config/sol2.h 2020-05-21 10:11:04.649158000 +0200
|
|
|
|
|
--- gcc/config/sol2.h.orig 2021-04-08 13:56:28.197742224 +0200
|
|
|
|
|
+++ gcc/config/sol2.h 2021-04-09 08:43:50.229915000 +0200
|
|
|
|
|
@@ -419,9 +419,9 @@
|
|
|
|
|
"%{h*} %{v:-V} \
|
|
|
|
|
%{!shared:%{!static:%{rdynamic: " RDYNAMIC_SPEC "}}} \
|
|
|
|
|
@ -26,9 +26,21 @@ Index: gcc/config/sol2.h
|
|
|
|
|
%(link_arch) \
|
|
|
|
|
%{Qy:} %{!Qn:-Qy}"
|
|
|
|
|
|
|
|
|
|
Index: gcc/system.h
|
|
|
|
|
--- gcc/system.h.orig 2021-04-08 13:56:28.581746862 +0200
|
|
|
|
|
+++ gcc/system.h 2021-04-09 09:14:00.018136000 +0200
|
|
|
|
|
@@ -94,7 +94,7 @@
|
|
|
|
|
# undef getchar
|
|
|
|
|
# define getchar() getchar_unlocked ()
|
|
|
|
|
# endif
|
|
|
|
|
-# ifdef HAVE_FPUTC_UNLOCKED
|
|
|
|
|
+# if defined(HAVE_FPUTC_UNLOCKED) && !defined(__FreeBSD__)
|
|
|
|
|
# undef fputc
|
|
|
|
|
# define fputc(C, Stream) fputc_unlocked (C, Stream)
|
|
|
|
|
# endif
|
|
|
|
|
Index: libcpp/charset.c
|
|
|
|
|
--- libcpp/charset.c.orig 2020-05-07 12:50:02.000000000 +0200
|
|
|
|
|
+++ libcpp/charset.c 2020-05-21 10:11:04.649479000 +0200
|
|
|
|
|
--- libcpp/charset.c.orig 2021-04-08 13:56:29.761761109 +0200
|
|
|
|
|
+++ libcpp/charset.c 2021-04-09 08:43:50.230232000 +0200
|
|
|
|
|
@@ -74,6 +74,7 @@
|
|
|
|
|
#define iconv_open(x, y) (errno = EINVAL, (iconv_t)-1)
|
|
|
|
|
#define iconv(a,b,c,d,e) (errno = EINVAL, (size_t)-1)
|
|
|
|
|
@ -38,8 +50,8 @@ Index: libcpp/charset.c
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
Index: libcpp/internal.h
|
|
|
|
|
--- libcpp/internal.h.orig 2020-05-07 12:50:02.000000000 +0200
|
|
|
|
|
+++ libcpp/internal.h 2020-05-21 10:11:04.649661000 +0200
|
|
|
|
|
--- libcpp/internal.h.orig 2021-04-08 13:56:29.765761158 +0200
|
|
|
|
|
+++ libcpp/internal.h 2021-04-09 08:43:50.230397000 +0200
|
|
|
|
|
@@ -28,6 +28,7 @@
|
|
|
|
|
#if HAVE_ICONV
|
|
|
|
|
#include <iconv.h>
|
|
|
|
|
@ -48,3 +60,15 @@ Index: libcpp/internal.h
|
|
|
|
|
#define HAVE_ICONV 0
|
|
|
|
|
typedef int iconv_t; /* dummy */
|
|
|
|
|
#endif
|
|
|
|
|
Index: libcpp/system.h
|
|
|
|
|
--- libcpp/system.h.orig 2021-04-08 13:56:29.785761398 +0200
|
|
|
|
|
+++ libcpp/system.h 2021-04-09 08:43:50.230521000 +0200
|
|
|
|
|
@@ -90,7 +90,7 @@
|
|
|
|
|
# undef getchar
|
|
|
|
|
# define getchar() getchar_unlocked ()
|
|
|
|
|
# endif
|
|
|
|
|
-# ifdef HAVE_FPUTC_UNLOCKED
|
|
|
|
|
+# if defined(HAVE_FPUTC_UNLOCKED) && !defined(__FreeBSD__)
|
|
|
|
|
# undef fputc
|
|
|
|
|
# define fputc(C, Stream) fputc_unlocked (C, Stream)
|
|
|
|
|
# endif
|
|
|
|
|
|