summaryrefslogtreecommitdiff
path: root/source/n/libgpg-error
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2020-02-08 21:20:28 +0000
committerEric Hameleers <alien@slackware.com>2020-02-09 08:59:49 +0100
commit83ec0a78cbc3542992d00ec84a7fa9bd649d7ef5 (patch)
treeedc1778c859a089f97aceeeb604db85ea5e9b25c /source/n/libgpg-error
parent080300e1e7dec7bb1a6297b5a4406e2c0be46048 (diff)
downloadcurrent-83ec0a78cbc3542992d00ec84a7fa9bd649d7ef5.tar.gz
Sat Feb 8 21:20:28 UTC 202020200208212028
a/bash-5.0.016-x86_64-1.txz: Upgraded. a/kernel-firmware-20200207_6f89735-noarch-1.txz: Upgraded. ap/nvme-cli-1.10.1-x86_64-1.txz: Added. d/gdb-9.1-x86_64-1.txz: Upgraded. l/ConsoleKit2-1.2.1-x86_64-1.txz: Upgraded. l/imagemagick-7.0.9_22-x86_64-1.txz: Upgraded. l/mozilla-nss-3.50-x86_64-1.txz: Upgraded. Upgraded to nss-3.50 and nspr-4.25. l/readline-8.0.004-x86_64-1.txz: Upgraded. n/libgpg-error-1.37-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/n/libgpg-error')
-rwxr-xr-xsource/n/libgpg-error/libgpg-error.SlackBuild5
-rw-r--r--source/n/libgpg-error/libgpg-error.gawk5.diff49
-rw-r--r--source/n/libgpg-error/libgpg-error.url1
3 files changed, 2 insertions, 53 deletions
diff --git a/source/n/libgpg-error/libgpg-error.SlackBuild b/source/n/libgpg-error/libgpg-error.SlackBuild
index 654d94df..5fb69ab7 100755
--- a/source/n/libgpg-error/libgpg-error.SlackBuild
+++ b/source/n/libgpg-error/libgpg-error.SlackBuild
@@ -1,7 +1,7 @@
#!/bin/bash
# Copyright 2006, 2009 Robby Workman, Northport, AL, USA
-# Copyright 2007, 2008, 2009, 2010, 2015, 2017, 2018, 2019 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2007, 2008, 2009, 2010, 2015, 2017, 2018, 2019, 2020 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -77,9 +77,6 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \+
-# 'namespace' is a builtin in gawk5, so change it to 'libgpg_error_namespace':
-zcat $CWD/libgpg-error.gawk5.diff.gz | patch -p1 --verbose || exit 1
-
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
diff --git a/source/n/libgpg-error/libgpg-error.gawk5.diff b/source/n/libgpg-error/libgpg-error.gawk5.diff
deleted file mode 100644
index d8842db4..00000000
--- a/source/n/libgpg-error/libgpg-error.gawk5.diff
+++ /dev/null
@@ -1,49 +0,0 @@
---- ./src/Makefile.in.orig 2019-03-19 03:58:04.000000000 -0500
-+++ ./src/Makefile.in 2019-04-13 13:58:45.614800729 -0500
-@@ -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 libgpg_error_namespace=errnos_ \
- $(srcdir)/errnos.in >$@
-
- mkheader$(EXEEXT_FOR_BUILD): mkheader.c Makefile
---- ./src/mkstrtable.awk.orig 2013-03-15 14:24:25.000000000 -0500
-+++ ./src/mkstrtable.awk 2019-04-13 13:57:47.141800103 -0500
-@@ -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 libgpg_error_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 " libgpg_error_namespace "msgstr[] = ";
- header = 0;
- }
- else
-@@ -150,7 +150,7 @@
- else
- print " gettext_noop (\"" last_msgstr "\");";
- print "";
-- print "static const int " namespace "msgidx[] =";
-+ print "static const int " libgpg_error_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 libgpg_error_namespace "msgidxof (int code)";
- print "{";
- print " return (0 ? 0";
-
diff --git a/source/n/libgpg-error/libgpg-error.url b/source/n/libgpg-error/libgpg-error.url
new file mode 100644
index 00000000..69afe7b1
--- /dev/null
+++ b/source/n/libgpg-error/libgpg-error.url
@@ -0,0 +1 @@
+ftp://ftp.gnupg.org:/gcrypt/libgpg-error