libgpg-error: update to 1.37.

This commit is contained in:
Juan RP 2020-02-14 12:59:02 +01:00
parent 02b24a675b
commit a711722934
2 changed files with 3 additions and 94 deletions

View file

@ -1,91 +0,0 @@
--- src/mkerrcodes.awk 2013-03-15 20:24:25.000000000 +0100
+++ src/mkerrcodes.awk 2019-04-15 12:27:18.223378102 +0200
@@ -85,7 +85,7 @@
}
!header {
- sub (/\#.+/, "");
+ sub (/#.+/, "");
sub (/[ ]+$/, ""); # Strip trailing space and tab characters.
if (/^$/)
--- src/mkerrcodes1.awk 2013-03-15 20:24:25.000000000 +0100
+++ src/mkerrcodes1.awk 2019-04-15 12:30:40.960388561 +0200
@@ -81,7 +81,7 @@
}
!header {
- sub (/\#.+/, "");
+ sub (/#.+/, "");
sub (/[ ]+$/, ""); # Strip trailing space and tab characters.
if (/^$/)
--- src/mkerrnos.awk 2013-03-15 20:24:25.000000000 +0100
+++ src/mkerrnos.awk 2019-04-15 12:32:10.966393204 +0200
@@ -83,7 +83,7 @@
}
!header {
- sub (/\#.+/, "");
+ sub (/#.+/, "");
sub (/[ ]+$/, ""); # Strip trailing space and tab characters.
if (/^$/)
--- src/mkstrtable.awk 2013-03-15 20:24:25.000000000 +0100
+++ src/mkstrtable.awk 2019-04-15 12:39:46.679416714 +0200
@@ -77,7 +77,7 @@
#
# The variable prefix can be used to prepend a string to each message.
#
-# The variable namespace can be used to prepend a string to each
+# The variable my_namespace can be used to prepend a string to each
# variable and macro name.
BEGIN {
@@ -102,7 +102,7 @@
print "/* The purpose of this complex string table is to produce";
print " optimal code with a minimum of relocations. */";
print "";
- print "static const char " namespace "msgstr[] = ";
+ print "static const char " my_namespace "msgstr[] = ";
header = 0;
}
else
@@ -110,7 +110,7 @@
}
!header {
- sub (/\#.+/, "");
+ sub (/#.+/, "");
sub (/[ ]+$/, ""); # Strip trailing space and tab characters.
if (/^$/)
@@ -150,7 +150,7 @@
else
print " gettext_noop (\"" last_msgstr "\");";
print "";
- print "static const int " namespace "msgidx[] =";
+ print "static const int " my_namespace "msgidx[] =";
print " {";
for (i = 0; i < coded_msgs; i++)
print " " pos[i] ",";
@@ -158,7 +158,7 @@
print " };";
print "";
print "static GPG_ERR_INLINE int";
- print namespace "msgidxof (int code)";
+ print my_namespace "msgidxof (int code)";
print "{";
print " return (0 ? 0";
--- src/Makefile.in 2019-03-19 09:58:04.000000000 +0100
+++ src/Makefile.in 2019-04-15 12:41:31.470422120 +0200
@@ -1615,7 +1615,7 @@
errnos-sym.h: Makefile mkstrtable.awk errnos.in
$(AWK) -f $(srcdir)/mkstrtable.awk -v textidx=2 -v nogettext=1 \
- -v prefix=GPG_ERR_ -v namespace=errnos_ \
+ -v prefix=GPG_ERR_ -v my_namespace=errnos_ \
$(srcdir)/errnos.in >$@
mkheader$(EXEEXT_FOR_BUILD): mkheader.c Makefile

View file

@ -1,14 +1,14 @@
# Template file for 'libgpg-error'
pkgname=libgpg-error
version=1.36
revision=3
version=1.37
revision=1
build_style=gnu-configure
short_desc="Library for error values used by GnuPG component"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later, GPL-2.0-or-later"
homepage="https://www.gnupg.org"
distfiles="https://www.gnupg.org/ftp/gcrypt/${pkgname}/${pkgname}-${version}.tar.bz2"
checksum=babd98437208c163175c29453f8681094bcaf92968a15cafb1a276076b33c97c
checksum=b32d6ff72a73cf79797f7f2d039e95e9c6f92f0c1450215410840ab62aea9763
if [ "$CROSS_BUILD" ]; then
hostmakedepends="qemu-user-static"