office-gobmx/external/gpgmepp/w32-include.patch
Xisco Fauli 96fb0457f4 gpgme: Upgrade to 1.24.0
* external/gpgmepp/gettid.patch fixes
/opt/rh/gcc-toolset-12/root/usr/libexec/gcc/x86_64-redhat-linux/12/ld: ./.libs/libgpgme.so: undefined reference to `gettid'

* external/gpgmepp/strcasecmp.patch fixes
libgpgme.lib(key.obj) : error LNK2019: unresolved external symbol _strcasecmp referenced in function __gpgme_key_append_name

Downloaded from https://www.gnupg.org/ftp/gcrypt/gpgme/gpgme-1.24.0.tar.bz2

Change-Id: I2f2587f5157db7610d6ffaa84b49f9677ba1cc4c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176160
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-11-08 22:49:42 +01:00

22 lines
391 B
Diff

--- src/data-fd.c
+++ src/data-fd.c
@@ -28,6 +28,9 @@
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
+#if defined HAVE_W32_SYSTEM
+#include <io.h>
+#endif
#include "debug.h"
#include "data.h"
--- src/gpgme-w32spawn.c
+++ src/gpgme-w32spawn.c
@@ -36,6 +36,7 @@
# include <sys/stat.h>
#endif
#include <stdint.h>
+#include <io.h>
#include <process.h>
#include "priv-io.h"