diff --git a/editors/openoffice-4/files/patch-bridges_source_cpp__uno_gcc3__freebsd__arm_share.hxx b/editors/openoffice-4/files/patch-bridges_source_cpp__uno_gcc3__freebsd__arm_share.hxx
new file mode 100644
index 000000000000..fae5635bd797
--- /dev/null
+++ b/editors/openoffice-4/files/patch-bridges_source_cpp__uno_gcc3__freebsd__arm_share.hxx
@@ -0,0 +1,11 @@
+--- bridges/source/cpp_uno/gcc3_freebsd_arm/share.hxx.orig	2020-10-06 14:16:16 UTC
++++ bridges/source/cpp_uno/gcc3_freebsd_arm/share.hxx
+@@ -61,7 +61,7 @@ namespace CPPU_CURRENT_NAMESPACE
+     };    
+ 
+     extern "C" void *__cxa_allocate_exception(
+-        std::size_t thrown_size ) throw();
++        size_t thrown_size );
+     extern "C" void __cxa_throw (
+         void *thrown_exception, std::type_info *tinfo, 
+         void (*dest) (void *) ) __attribute__((noreturn));
diff --git a/editors/openoffice-4/files/patch-bridges_source_cpp__uno_gcc3__freebsd__intel_share.hxx b/editors/openoffice-4/files/patch-bridges_source_cpp__uno_gcc3__freebsd__intel_share.hxx
new file mode 100644
index 000000000000..0bcac37f3a23
--- /dev/null
+++ b/editors/openoffice-4/files/patch-bridges_source_cpp__uno_gcc3__freebsd__intel_share.hxx
@@ -0,0 +1,11 @@
+--- bridges/source/cpp_uno/gcc3_freebsd_intel/share.hxx.orig	2020-10-06 14:16:16 UTC
++++ bridges/source/cpp_uno/gcc3_freebsd_intel/share.hxx
+@@ -62,7 +62,7 @@ extern "C" void *__cxa_allocate_exception(
+ #endif /* __GLIBCXX__ */
+ 
+ extern "C" void *__cxa_allocate_exception(
+-    std::size_t thrown_size ) throw();
++    size_t thrown_size );
+ extern "C" void __cxa_throw (
+     void *thrown_exception, std::type_info *tinfo, void (*dest) (void *) ) __attribute__((noreturn));
+ 
diff --git a/editors/openoffice-4/files/patch-bridges_source_cpp__uno_gcc3__freebsd__powerpc64_share.hxx b/editors/openoffice-4/files/patch-bridges_source_cpp__uno_gcc3__freebsd__powerpc64_share.hxx
index acba73004356..b36fd8309b2f 100644
--- a/editors/openoffice-4/files/patch-bridges_source_cpp__uno_gcc3__freebsd__powerpc64_share.hxx
+++ b/editors/openoffice-4/files/patch-bridges_source_cpp__uno_gcc3__freebsd__powerpc64_share.hxx
@@ -1,43 +1,44 @@
---- bridges/source/cpp_uno/gcc3_freebsd_powerpc64/share.hxx.orig	2019-09-17 22:55:10 UTC
+--- bridges/source/cpp_uno/gcc3_freebsd_powerpc64/share.hxx.orig	2020-10-06 14:16:16 UTC
 +++ bridges/source/cpp_uno/gcc3_freebsd_powerpc64/share.hxx
 @@ -35,6 +35,7 @@ namespace CPPU_CURRENT_NAMESPACE
  
  // ----- following decl from libstdc++-v3/libsupc++/unwind-cxx.h and unwind.h
  
 +#ifdef __GLIBCXX__
  struct _Unwind_Exception
  {
      unsigned exception_class __attribute__((__mode__(__DI__)));
 @@ -63,18 +64,21 @@ struct __cxa_exception
      
      _Unwind_Exception unwindHeader;
  };    
 +#endif /* __GLIBCXX__ */
  
  extern "C" void *__cxa_allocate_exception(
-     std::size_t thrown_size ) throw();
+-    std::size_t thrown_size ) throw();
++    size_t thrown_size );
  extern "C" void __cxa_throw (
      void *thrown_exception, std::type_info *tinfo, void (*dest) (void *) ) __attribute__((noreturn));
  
 +#ifdef __GLIBCXX__
  struct __cxa_eh_globals
  {
      __cxa_exception *caughtExceptions;
      unsigned int uncaughtExceptions;
  };
  extern "C" __cxa_eh_globals *__cxa_get_globals () throw();
 +#endif /* __GLIBCXX__ */
  
  // -----
  
 @@ -82,6 +86,10 @@ void raiseException(
  void raiseException(
      uno_Any * pUnoExc, uno_Mapping * pUno2Cpp );
  //==================================================================================================
 +#ifndef __GLIBCXX__
 +using __cxxabiv1:: __cxa_exception;
 +#endif /* __GLIBCXX__ */
 +
  void fillUnoException(
      __cxa_exception * header, uno_Any *, uno_Mapping * pCpp2Uno );
  }
diff --git a/editors/openoffice-4/files/patch-bridges_source_cpp__uno_gcc3__freebsd__powerpc_share.hxx b/editors/openoffice-4/files/patch-bridges_source_cpp__uno_gcc3__freebsd__powerpc_share.hxx
new file mode 100644
index 000000000000..3266d04affd6
--- /dev/null
+++ b/editors/openoffice-4/files/patch-bridges_source_cpp__uno_gcc3__freebsd__powerpc_share.hxx
@@ -0,0 +1,11 @@
+--- bridges/source/cpp_uno/gcc3_freebsd_powerpc/share.hxx.orig	2020-10-06 14:16:16 UTC
++++ bridges/source/cpp_uno/gcc3_freebsd_powerpc/share.hxx
+@@ -65,7 +65,7 @@ extern "C" void *__cxa_allocate_exception(
+ };    
+ 
+ extern "C" void *__cxa_allocate_exception(
+-    std::size_t thrown_size ) throw();
++    size_t thrown_size );
+ extern "C" void __cxa_throw (
+     void *thrown_exception, std::type_info *tinfo, void (*dest) (void *) ) __attribute__((noreturn));
+ 
diff --git a/editors/openoffice-4/files/patch-bridges_source_cpp__uno_gcc3__freebsd__x86-64_share.hxx b/editors/openoffice-4/files/patch-bridges_source_cpp__uno_gcc3__freebsd__x86-64_share.hxx
new file mode 100644
index 000000000000..0aec998ac85b
--- /dev/null
+++ b/editors/openoffice-4/files/patch-bridges_source_cpp__uno_gcc3__freebsd__x86-64_share.hxx
@@ -0,0 +1,11 @@
+--- bridges/source/cpp_uno/gcc3_freebsd_x86-64/share.hxx.orig	2020-10-06 14:16:16 UTC
++++ bridges/source/cpp_uno/gcc3_freebsd_x86-64/share.hxx
+@@ -62,7 +62,7 @@ extern "C" void *__cxa_allocate_exception(
+ #endif /* __GLIBCXX__ */
+ 
+ extern "C" void *__cxa_allocate_exception(
+-    std::size_t thrown_size ) throw();
++    size_t thrown_size );
+ extern "C" void __cxa_throw (
+     void *thrown_exception, std::type_info *tinfo, void (*dest) (void *) ) __attribute__((noreturn));
+ 
diff --git a/editors/openoffice-devel/files/patch-bridges_source_cpp__uno_gcc3__freebsd__arm_share.hxx b/editors/openoffice-devel/files/patch-bridges_source_cpp__uno_gcc3__freebsd__arm_share.hxx
new file mode 100644
index 000000000000..3bf2f4003750
--- /dev/null
+++ b/editors/openoffice-devel/files/patch-bridges_source_cpp__uno_gcc3__freebsd__arm_share.hxx
@@ -0,0 +1,11 @@
+--- bridges/source/cpp_uno/gcc3_freebsd_arm/share.hxx.orig	2019-09-17 22:55:10 UTC
++++ bridges/source/cpp_uno/gcc3_freebsd_arm/share.hxx
+@@ -61,7 +61,7 @@ namespace CPPU_CURRENT_NAMESPACE
+     };    
+ 
+     extern "C" void *__cxa_allocate_exception(
+-        std::size_t thrown_size ) throw();
++        size_t thrown_size );
+     extern "C" void __cxa_throw (
+         void *thrown_exception, std::type_info *tinfo, 
+         void (*dest) (void *) ) __attribute__((noreturn));
diff --git a/editors/openoffice-devel/files/patch-bridges_source_cpp__uno_gcc3__freebsd__intel_share.hxx b/editors/openoffice-devel/files/patch-bridges_source_cpp__uno_gcc3__freebsd__intel_share.hxx
new file mode 100644
index 000000000000..7744a82a6cd4
--- /dev/null
+++ b/editors/openoffice-devel/files/patch-bridges_source_cpp__uno_gcc3__freebsd__intel_share.hxx
@@ -0,0 +1,11 @@
+--- bridges/source/cpp_uno/gcc3_freebsd_intel/share.hxx.orig	2019-09-17 22:55:10 UTC
++++ bridges/source/cpp_uno/gcc3_freebsd_intel/share.hxx
+@@ -62,7 +62,7 @@ extern "C" void *__cxa_allocate_exception(
+ #endif /* __GLIBCXX__ */
+ 
+ extern "C" void *__cxa_allocate_exception(
+-    std::size_t thrown_size ) throw();
++    size_t thrown_size );
+ extern "C" void __cxa_throw (
+     void *thrown_exception, std::type_info *tinfo, void (*dest) (void *) ) __attribute__((noreturn));
+ 
diff --git a/editors/openoffice-devel/files/patch-bridges_source_cpp__uno_gcc3__freebsd__powerpc64_share.hxx b/editors/openoffice-devel/files/patch-bridges_source_cpp__uno_gcc3__freebsd__powerpc64_share.hxx
index acba73004356..7b230a1dbb81 100644
--- a/editors/openoffice-devel/files/patch-bridges_source_cpp__uno_gcc3__freebsd__powerpc64_share.hxx
+++ b/editors/openoffice-devel/files/patch-bridges_source_cpp__uno_gcc3__freebsd__powerpc64_share.hxx
@@ -1,43 +1,44 @@
 --- bridges/source/cpp_uno/gcc3_freebsd_powerpc64/share.hxx.orig	2019-09-17 22:55:10 UTC
 +++ bridges/source/cpp_uno/gcc3_freebsd_powerpc64/share.hxx
 @@ -35,6 +35,7 @@ namespace CPPU_CURRENT_NAMESPACE
  
  // ----- following decl from libstdc++-v3/libsupc++/unwind-cxx.h and unwind.h
  
 +#ifdef __GLIBCXX__
  struct _Unwind_Exception
  {
      unsigned exception_class __attribute__((__mode__(__DI__)));
 @@ -63,18 +64,21 @@ struct __cxa_exception
      
      _Unwind_Exception unwindHeader;
  };    
 +#endif /* __GLIBCXX__ */
  
  extern "C" void *__cxa_allocate_exception(
-     std::size_t thrown_size ) throw();
+-    std::size_t thrown_size ) throw();
++    size_t thrown_size );
  extern "C" void __cxa_throw (
      void *thrown_exception, std::type_info *tinfo, void (*dest) (void *) ) __attribute__((noreturn));
  
 +#ifdef __GLIBCXX__
  struct __cxa_eh_globals
  {
      __cxa_exception *caughtExceptions;
      unsigned int uncaughtExceptions;
  };
  extern "C" __cxa_eh_globals *__cxa_get_globals () throw();
 +#endif /* __GLIBCXX__ */
  
  // -----
  
 @@ -82,6 +86,10 @@ void raiseException(
  void raiseException(
      uno_Any * pUnoExc, uno_Mapping * pUno2Cpp );
  //==================================================================================================
 +#ifndef __GLIBCXX__
 +using __cxxabiv1:: __cxa_exception;
 +#endif /* __GLIBCXX__ */
 +
  void fillUnoException(
      __cxa_exception * header, uno_Any *, uno_Mapping * pCpp2Uno );
  }
diff --git a/editors/openoffice-devel/files/patch-bridges_source_cpp__uno_gcc3__freebsd__powerpc_share.hxx b/editors/openoffice-devel/files/patch-bridges_source_cpp__uno_gcc3__freebsd__powerpc_share.hxx
new file mode 100644
index 000000000000..6e2cc713c800
--- /dev/null
+++ b/editors/openoffice-devel/files/patch-bridges_source_cpp__uno_gcc3__freebsd__powerpc_share.hxx
@@ -0,0 +1,11 @@
+--- bridges/source/cpp_uno/gcc3_freebsd_powerpc/share.hxx.orig	2019-09-17 22:55:10 UTC
++++ bridges/source/cpp_uno/gcc3_freebsd_powerpc/share.hxx
+@@ -65,7 +65,7 @@ extern "C" void *__cxa_allocate_exception(
+ };    
+ 
+ extern "C" void *__cxa_allocate_exception(
+-    std::size_t thrown_size ) throw();
++    size_t thrown_size );
+ extern "C" void __cxa_throw (
+     void *thrown_exception, std::type_info *tinfo, void (*dest) (void *) ) __attribute__((noreturn));
+ 
diff --git a/editors/openoffice-devel/files/patch-bridges_source_cpp__uno_gcc3__freebsd__x86-64_share.hxx b/editors/openoffice-devel/files/patch-bridges_source_cpp__uno_gcc3__freebsd__x86-64_share.hxx
new file mode 100644
index 000000000000..e1ec4b7824a7
--- /dev/null
+++ b/editors/openoffice-devel/files/patch-bridges_source_cpp__uno_gcc3__freebsd__x86-64_share.hxx
@@ -0,0 +1,11 @@
+--- bridges/source/cpp_uno/gcc3_freebsd_x86-64/share.hxx.orig	2019-09-17 22:55:10 UTC
++++ bridges/source/cpp_uno/gcc3_freebsd_x86-64/share.hxx
+@@ -62,7 +62,7 @@ extern "C" void *__cxa_allocate_exception(
+ #endif /* __GLIBCXX__ */
+ 
+ extern "C" void *__cxa_allocate_exception(
+-    std::size_t thrown_size ) throw();
++    size_t thrown_size );
+ extern "C" void __cxa_throw (
+     void *thrown_exception, std::type_info *tinfo, void (*dest) (void *) ) __attribute__((noreturn));
+