aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2019-04-27 22:05:05 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2019-04-27 22:05:05 +0200
commite7f868b0c457f496f66a8791eba1cd440d9f1ff2 (patch)
tree4f8ef49b1340a34a82f34f1623914b310c822995
parentprofiles: Add x86-64 static qemu-riscv64 to all stages for now (here, stage1) (diff)
downloadriscv-e7f868b0c457f496f66a8791eba1cd440d9f1ff2.tar.gz
riscv-e7f868b0c457f496f66a8791eba1cd440d9f1ff2.tar.bz2
riscv-e7f868b0c457f496f66a8791eba1cd440d9f1ff2.zip
dev-libs/libgpg-error: not needed here anymore
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
-rw-r--r--dev-libs/libgpg-error/Manifest1
-rw-r--r--dev-libs/libgpg-error/files/libgpg-error-1.36-gawk5-2.patch13
-rw-r--r--dev-libs/libgpg-error/files/libgpg-error-1.36-gawk5.patch74
-rw-r--r--dev-libs/libgpg-error/libgpg-error-1.36.ebuild53
-rw-r--r--dev-libs/libgpg-error/metadata.xml11
5 files changed, 0 insertions, 152 deletions
diff --git a/dev-libs/libgpg-error/Manifest b/dev-libs/libgpg-error/Manifest
deleted file mode 100644
index 7c18d4d..0000000
--- a/dev-libs/libgpg-error/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST libgpg-error-1.36.tar.bz2 920542 BLAKE2B 81684f6e47192c50cfa408977d53dc3812befca28733b531d51dffa0a6799a47366a50f64755557a7b3111a179ac4aba9e6a527418461cdbcccea80ae6bed4fa SHA512 6e5f853f77dc04f0091d94b224cab8e669042450f271b78d0ea0219658d059c9cab1ab0eaa020a4227f451520b417fc340b85971a6f5e144fa69be57e15df346
diff --git a/dev-libs/libgpg-error/files/libgpg-error-1.36-gawk5-2.patch b/dev-libs/libgpg-error/files/libgpg-error-1.36-gawk5-2.patch
deleted file mode 100644
index 5684921..0000000
--- a/dev-libs/libgpg-error/files/libgpg-error-1.36-gawk5-2.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/src/Makefile.in b/src/Makefile.in
-index 9ffb29d..83e6659 100644
---- a/src/Makefile.in
-+++ b/src/Makefile.in
-@@ -1449,7 +1449,7 @@ code-from-errno.h: mkerrcodes Makefile
-
- 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: mkheader.c Makefile
diff --git a/dev-libs/libgpg-error/files/libgpg-error-1.36-gawk5.patch b/dev-libs/libgpg-error/files/libgpg-error-1.36-gawk5.patch
deleted file mode 100644
index 2ea2b6e..0000000
--- a/dev-libs/libgpg-error/files/libgpg-error-1.36-gawk5.patch
+++ /dev/null
@@ -1,74 +0,0 @@
-From 55b9550de790126856666ad8cb78a75c5ae48220 Mon Sep 17 00:00:00 2001
-From: Lars Wendler <polynomial-c@gentoo.org>
-Date: Sat, 13 Apr 2019 19:59:45 +0200
-Subject: [PATCH] Fixed build with gawk-5
-
-gawk-5 has the word "namespace" reserved which results in an error when
-building libgpg-error:
-
- gawk: fatal: cannot use gawk builtin `namespace' as variable name
-
-Fixed this by renaming "namespace" to "libgpg_error_namespace".
-
-Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
----
- src/Makefile.am | 2 +-
- src/mkstrtable.awk | 8 ++++----
- 2 files changed, 5 insertions(+), 5 deletions(-)
-
-diff --git a/src/Makefile.am b/src/Makefile.am
-index ce1b882..b329242 100644
---- a/src/Makefile.am
-+++ b/src/Makefile.am
-@@ -293,7 +293,7 @@ code-from-errno.h: mkerrcodes$(EXEEXT_FOR_BUILD) Makefile
-
- 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 >$@
-
-
-diff --git a/src/mkstrtable.awk b/src/mkstrtable.awk
-index c9de9c1..5b5307b 100644
---- a/src/mkstrtable.awk
-+++ b/src/mkstrtable.awk
-@@ -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 @@ header {
- 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 @@ END {
- 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 @@ END {
- 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";
-
---
-2.21.0
-
diff --git a/dev-libs/libgpg-error/libgpg-error-1.36.ebuild b/dev-libs/libgpg-error/libgpg-error-1.36.ebuild
deleted file mode 100644
index 93ea2b5..0000000
--- a/dev-libs/libgpg-error/libgpg-error-1.36.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit libtool multilib-minimal toolchain-funcs
-
-DESCRIPTION="Contains error handling functions used by GnuPG software"
-HOMEPAGE="http://www.gnupg.org/related_software/libgpg-error"
-SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2"
-
-LICENSE="GPL-2 LGPL-2.1"
-SLOT="0"
-KEYWORDS="~riscv"
-IUSE="common-lisp nls static-libs"
-
-RDEPEND="nls? ( >=virtual/libintl-0-r1[${MULTILIB_USEDEP}] )"
-DEPEND="${RDEPEND}"
-BDEPEND="nls? ( sys-devel/gettext )"
-
-MULTILIB_CHOST_TOOLS=(
- /usr/bin/gpg-error-config
-)
-MULTILIB_WRAPPED_HEADERS=(
- /usr/include/gpg-error.h
- /usr/include/gpgrt.h
-)
-
-PATCHES=(
- "${FILESDIR}/${P}-gawk5.patch"
- "${FILESDIR}/${P}-gawk5-2.patch"
-)
-
-src_prepare() {
- default
- elibtoolize
-}
-
-multilib_src_configure() {
- ECONF_SOURCE="${S}" econf \
- $(multilib_is_native_abi || echo --disable-languages) \
- $(use_enable common-lisp languages) \
- $(use_enable nls) \
- $(use_enable static-libs static) \
- --enable-threads \
- CC_FOR_BUILD="$(tc-getBUILD_CC)" \
- $("${S}/configure" --help | grep -- '--without-.*-prefix' | sed -e 's/^ *\([^ ]*\) .*/\1/g')
-}
-
-multilib_src_install_all() {
- einstalldocs
- find "${D}" -name '*.la' -delete || die
-}
diff --git a/dev-libs/libgpg-error/metadata.xml b/dev-libs/libgpg-error/metadata.xml
deleted file mode 100644
index 89e9849..0000000
--- a/dev-libs/libgpg-error/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>crypto@gentoo.org</email>
- <name>Crypto</name>
- </maintainer>
- <use>
- <flag name="common-lisp">Install common-lisp files</flag>
- </use>
-</pkgmetadata>