annotate src/libgpg_error-1-fixes.patch @ 5893:53a6c7df43f8

Mesa 3D: Update to version 21.1.8. * src/mesa.mk: Update version and checksum. * src/mesa-2-uninitialized.patch: Remove file. * dist-files.mk: Remove file from list.
author Markus Mützel <markus.muetzel@gmx.de>
date Thu, 16 Sep 2021 22:37:45 +0200
parents e8d4843a6b55
children 1e1f0d624fbb
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5308
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
1 This file is part of MXE. See LICENSE.md for licensing information.
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
2
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
3 Contains ad hoc patches for cross building.
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
4
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
5 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
6 From: Mark Brand <mabrand@mabrand.nl>
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
7 Date: Sat, 15 Dec 2018 16:51:30 +0100
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
8 Subject: [PATCH 1/3] more tolerant parsing for mingw in host triplet
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
9
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
10
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
11 diff --git a/src/mkheader.c b/src/mkheader.c
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
12 index 1111111..2222222 100644
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
13 --- a/src/mkheader.c
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
14 +++ b/src/mkheader.c
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
15 @@ -602,7 +602,7 @@ write_special (const char *fname, int lnr, const char *tag)
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
16 }
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
17 else if (!strcmp (tag, "include:os-add"))
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
18 {
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
19 - if (!strcmp (host_os, "mingw32"))
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
20 + if (strstr (host_os, "mingw"))
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
21 {
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
22 include_file (fname, lnr, "w32-add.h", write_line);
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
23 }
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
24
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
25 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
26 From: Tony Theodore <tonyt@logyst.com>
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
27 Date: Wed, 6 Nov 2019 19:00:10 +1100
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
28 Subject: [PATCH 2/3] avoid whitespace in gpg-error.def linker script for
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
29 mingw32
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
30
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
31 https://lists.gnupg.org/pipermail/gnupg-devel/2016-February/030798.html
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
32
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
33 diff --git a/src/gpg-error.def.in b/src/gpg-error.def.in
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
34 index 1111111..2222222 100644
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
35 --- a/src/gpg-error.def.in
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
36 +++ b/src/gpg-error.def.in
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
37 @@ -24,7 +24,6 @@
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
38 */
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
39
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
40 #include <config.h>
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
41 -
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
42 EXPORTS
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
43 gpg_strerror @1
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
44 gpg_strerror_r @2
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
45
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
46 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
47 From: Tony Theodore <tonyt@logyst.com>
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
48 Date: Wed, 6 Nov 2019 19:11:35 +1100
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
49 Subject: [PATCH 3/3] fix for automake < 1.12
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
50
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
51
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
52 diff --git a/configure.ac b/configure.ac
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
53 index 1111111..2222222 100644
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
54 --- a/configure.ac
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
55 +++ b/configure.ac
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
56 @@ -62,9 +62,28 @@ VERSION_NUMBER=m4_esyscmd(printf "0x%02x%02x00" mym4_major mym4_minor)
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
57 AC_SUBST(VERSION_NUMBER)
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
58
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
59 AC_CONFIG_AUX_DIR([build-aux])
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
60 -AM_INIT_AUTOMAKE([serial-tests dist-bzip2])
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
61 AM_MAINTAINER_MODE
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
62 AC_CONFIG_SRCDIR([src/err-sources.h.in])
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
63 +
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
64 +
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
65 +dnl Initialize automake. automake < 1.12 didn't have serial-tests and
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
66 +dnl gives an error if it sees this, but for automake >= 1.13
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
67 +dnl serial-tests is required so we have to include it. Solution is to
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
68 +dnl test for the version of automake (by running an external command)
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
69 +dnl and provide it if necessary. Note we have to do this entirely using
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
70 +dnl m4 macros since automake queries this macro by running
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
71 +dnl 'autoconf --trace ...'.
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
72 +m4_define([serial_tests], [
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
73 + m4_esyscmd([automake --version |
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
74 + head -1 |
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
75 + awk '{split ($NF,a,"."); if (a[1] == 1 && a[2] >= 12) { '\
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
76 + 'print "serial-tests" }}'
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
77 + ])
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
78 +])
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
79 +dnl NB: Do not [quote] this parameter.
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
80 +AM_INIT_AUTOMAKE(serial_tests dist-bzip2)
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
81 +
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
82 +
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
83 AC_CONFIG_HEADER([config.h])
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
84 AC_CONFIG_MACRO_DIR([m4])
e8d4843a6b55 Update libgpg_error to v1.37
John Donoghue
parents:
diff changeset
85 AM_SILENT_RULES