Ray Donnelly 39f559a7ec gpgme: Fix mkstemp bug
Fixes https://github.com/Alexpux/MINGW-packages/issues/724 kind of

.. issue 724 is down to the fact that GetModuleFileName is used as
a landmark to locate other executables needed by gpgme. However if
the static library is linked to then the executable will often not
be in /mingw64/bin and the landmark location is irrelevant. I need
to come up with something else instead, but the only idea I've got
at present is to use a registry key for where MSYS2 was installed.

.. breaking multiple installations ... and using the registry, two
things that we've worked hard to avoid so far. Perhaps an env. var.
is the best we can do here.

Anyway, the landmark problem can be mitigated by putting the exe in
the /mingw64/bin folder or perhaps moving the gnupg programs to the
same folder as the exe. Both options are horrible.

Whith that issue avoided, the next bug is the temporary files used
by gpgme to communicate with gnupg are opened with _O_TEMPORARY
meaning they get deleted when they're closed before the spawnee has
had a chance to read them. To avoid this the file is reopened with
the _O_TEMPORARY flag removed.
2015-08-04 22:40:41 +01:00
2015-02-10 17:37:15 -02:00
2015-04-29 11:48:05 +02:00
2015-07-20 00:52:01 +03:00
2015-07-23 00:21:49 +01:00
2015-03-14 18:11:59 +01:00
2015-04-13 14:20:32 +01:00
2015-07-22 09:45:17 +03:00
2015-05-02 10:24:21 +01:00
2015-08-01 11:28:58 +03:00
2015-04-06 22:02:13 +02:00
2015-04-28 11:01:46 +03:00
2015-07-22 11:00:08 +03:00
2015-07-13 13:03:10 +03:00
2015-08-04 22:40:41 +01:00
2015-07-22 13:31:25 +03:00
2015-07-20 00:52:01 +03:00
2015-01-17 10:26:39 +03:00
2015-06-27 14:17:58 +01:00
2015-07-26 19:17:57 +03:00
2015-07-20 00:52:01 +03:00
2015-07-20 15:55:09 +03:00
2015-08-02 17:24:33 +03:00
2015-08-01 14:14:57 +03:00
2015-07-28 10:03:25 +03:00
2015-07-28 10:20:18 +03:00
2015-08-05 00:11:23 +03:00
2015-07-23 01:13:00 +01:00
2015-07-21 01:14:21 +03:00
2015-07-21 01:14:21 +03:00
2015-07-21 01:14:21 +03:00
2015-07-21 01:14:21 +03:00
2015-07-22 15:29:32 +03:00
2015-07-21 01:14:21 +03:00
2015-07-27 11:36:01 +03:00
2015-06-04 13:16:19 +03:00
2015-08-05 00:11:46 +03:00
2015-07-31 17:50:05 +02:00
2015-05-22 21:26:53 +02:00
2015-04-13 11:59:20 +01:00
2015-08-03 03:08:27 +08:00
2015-03-29 14:03:02 +03:00
2015-08-01 03:40:13 +02:00

MINGW-packages

Package scripts for MinGW-w64 targets to build under MSYS2.

To build these, run msys2_shell.bat then from the bash prompt.

cd ${package-name}
makepkg-mingw

To install the built package(s).

pacman -U ${package-name}*.pkg.tar.xz

When creating a PKGBUILD use 2 spaces for each tab

expand -t 2 PKGBUILD > PKGBUILD.new; mv PKGBUILD.new PKGBUILD
Description
Package scripts for MinGW-w64 targets to build under MSYS2.
Readme BSD-3-Clause 206 MiB
srcinfo-cache Latest
2021-09-12 16:20:49 +02:00
Languages
Shell 87.3%
C 5.8%
Fortran 2%
Tcl 1.5%
CMake 1.3%
Other 2%