libsoup3: update to 3.6.0; fix GTK2/3 app startup
[oi-userland.git] / components / desktop / libreoffice / patches / 05-regression-in-tdf146619.patch
blob2689d90a78e09981f3aec111d07bcdfdf27a79b1
1 Regressions in tdf#146619 Remove unused includes from sal/osl/unx
2 see commit https://github.com/LibreOffice/core/commit/252132d9752964a4aa82567b6a3ca8cd7df5ccfb
4 problem 1
5 libreoffice-dev/core-695390b08799af34b393c81c834d615bea330d89/sal/osl/unx/process.cxx:685:9: error: 'kill' was not declared in this scope
6 685 | if (kill(static_cast<oslProcessImpl*>(Process)->m_pid, SIGKILL) != 0)
7 | ^~~~
9 problem 2
10 libreoffice-dev/core-695390b08799af34b393c81c834d615bea330d89/sal/osl/unx/process_impl.cxx:338:31: error: 'rtl_stringbuffer_newFromStringBuffer' was not declared in this scope; did you mean 'rtl_string_newFromString'?
11 338 | sal_Int32 nCapacity = rtl_stringbuffer_newFromStringBuffer( &pBuffer,
12 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
13 | rtl_string_newFromString
15 --- core-695390b08799af34b393c81c834d615bea330d89/sal/osl/unx/process.cxx.~1~ 2023-10-03 11:29:14.000000000 -0400
16 +++ core-695390b08799af34b393c81c834d615bea330d89/sal/osl/unx/process.cxx 2023-10-05 15:55:01.519220228 -0400
17 @@ -27,6 +27,11 @@
18 #include <sys/wait.h>
19 #include <unistd.h>
21 +#if defined(__sun)
22 +#include <sys/types.h>
23 +#include <signal.h>
24 +#endif
27 * ToDo:
28 * - cleanup of process status things
29 --- core-695390b08799af34b393c81c834d615bea330d89/sal/osl/unx/process_impl.cxx.old 2023-10-05 14:41:21.898902427 -0400
30 +++ core-695390b08799af34b393c81c834d615bea330d89/sal/osl/unx/process_impl.cxx 2023-10-05 14:42:08.830757584 -0400
31 @@ -33,6 +33,7 @@
32 #include <osl/thread.h>
33 #include <rtl/alloc.h>
34 #include <rtl/ustring.hxx>
35 +#include <rtl/strbuf.h>
36 #include <sal/log.hxx>
38 #include "file_path_helper.hxx"