office-gobmx/external/libgpg-error/w32-build-fixes-6.patch
Xisco Fauli 908b85de63 libgpg-error: upgrade to 1.51
* external/libgpg-error/w32-build-fixes-6.patch fixes
libgpg-error.lib(libgpg_error_la-spawn-w32.obj) : error LNK2019: unresolved external symbol __imp__AllowSetForegroundWindow@4 referenced in function __gpgrt_process_spawn

Downloaded from https://gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-1.51.tar.bz2

Change-Id: I6001d1932d1226c0daa037408523f98a9e719f2d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176446
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-11-12 17:15:32 +01:00

15 lines
783 B
Diff

--- src/spawn-w32.c 2024-11-12 14:35:30.648259606 +0100
+++ src/spawn-w32.c 2024-11-12 14:35:56.972307401 +0100
@@ -1061,9 +1061,9 @@
/* Fixme: For unknown reasons AllowSetForegroundWindow returns
* an invalid argument error if we pass it the correct
* processID. As a workaround we use -1 (ASFW_ANY). */
- if (!AllowSetForegroundWindow (ASFW_ANY /*pi.dwProcessId*/))
- _gpgrt_log_info ("AllowSetForegroundWindow() failed: ec=%d\n",
- (int)GetLastError ());
+ //if (!AllowSetForegroundWindow (ASFW_ANY /*pi.dwProcessId*/))
+ // _gpgrt_log_info ("AllowSetForegroundWindow() failed: ec=%d\n",
+ // (int)GetLastError ());
}
/* Process has been created suspended; resume it now. */