From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- dev-perl/Ace/Ace-1.920.0-r3.ebuild | 115 ++++++++++++++++++++++++++ dev-perl/Ace/Manifest | 6 ++ dev-perl/Ace/files/Ace-1.92-gcc-nonvoid.patch | 31 +++++++ dev-perl/Ace/files/Ace-1.92-glibc26.patch | 29 +++++++ dev-perl/Ace/files/Ace-1.92-rpcxs.patch | 25 ++++++ dev-perl/Ace/metadata.xml | 58 +++++++++++++ 6 files changed, 264 insertions(+) create mode 100644 dev-perl/Ace/Ace-1.920.0-r3.ebuild create mode 100644 dev-perl/Ace/Manifest create mode 100644 dev-perl/Ace/files/Ace-1.92-gcc-nonvoid.patch create mode 100644 dev-perl/Ace/files/Ace-1.92-glibc26.patch create mode 100644 dev-perl/Ace/files/Ace-1.92-rpcxs.patch create mode 100644 dev-perl/Ace/metadata.xml (limited to 'dev-perl/Ace') diff --git a/dev-perl/Ace/Ace-1.920.0-r3.ebuild b/dev-perl/Ace/Ace-1.920.0-r3.ebuild new file mode 100644 index 000000000000..9b035a9c5ae0 --- /dev/null +++ b/dev-perl/Ace/Ace-1.920.0-r3.ebuild @@ -0,0 +1,115 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DIST_NAME=AcePerl +DIST_AUTHOR=LDS +DIST_VERSION=1.92 +DIST_EXAMPLES=("examples/*") +inherit perl-module toolchain-funcs + +DESCRIPTION="Object-Oriented Access to ACEDB Databases" + +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="test" + +RDEPEND="virtual/perl-Digest-MD5 + dev-perl/Cache-Cache + dev-perl/GD + elibc_glibc? ( net-libs/libtirpc net-libs/rpcsvc-proto ) +" +DEPEND="${RDEPEND}" + +src_prepare() { + eapply "${FILESDIR}/${PN}-1.92-rpcxs.patch" + eapply "${FILESDIR}/${PN}-1.92-gcc-nonvoid.patch" + + cat > "${S}/acelib/wmake/DARWIN_DEF" < +Date: Fri, 10 Nov 2017 17:37:54 -0500 +Subject: Fix compile with newer gcc "non-void function 'constant' should ..." + +Bug: https://bugs.gentoo.org/637330 +Bug: https://rt.cpan.org/Ticket/Display.html?id=123593 +--- + RPC/RPC.xs | 6 ------ + 1 file changed, 6 deletions(-) + +diff --git a/RPC/RPC.xs b/RPC/RPC.xs +index 3e059c0..cd4f6fa 100644 +--- a/RPC/RPC.xs ++++ b/RPC/RPC.xs +@@ -152,12 +152,6 @@ int arg; + case 'Z': + break; + case '_': +- if (strEQ(name, "_ACECLIENT_")) +-#ifdef _ACECLIENT_ +- return _ACECLIENT_; +-#else +- goto not_there; +-#endif + break; + } + errno = EINVAL; +-- +2.16.2 + diff --git a/dev-perl/Ace/files/Ace-1.92-glibc26.patch b/dev-perl/Ace/files/Ace-1.92-glibc26.patch new file mode 100644 index 000000000000..93913485b2f4 --- /dev/null +++ b/dev-perl/Ace/files/Ace-1.92-glibc26.patch @@ -0,0 +1,29 @@ +From 79cbe4803f73eab5474e709b20ed570a44071182 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andreas=20K=2E=20H=C3=BCttel?= +Date: Sat, 31 Mar 2018 08:12:32 +1300 +Subject: Fix building with GlibC 2.26 + +Bug: https://bugs.gentoo.org/637114 +--- + acelib/wmake/LINUX_DEF | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/acelib/wmake/LINUX_DEF b/acelib/wmake/LINUX_DEF +index ba96774..bd89334 100644 +--- a/acelib/wmake/LINUX_DEF ++++ b/acelib/wmake/LINUX_DEF +@@ -18,9 +18,9 @@ + NAME = LINUX + COMPILER = gcc -g -Wall -O2 -DACEDB4 + LINKER = gcc -g +-USEROPTS=-fPIC ++USEROPTS=-I/usr/include/tirpc -fPIC + +-LIBS = -lm ++LIBS = -ltirpc -lm + Xt_LIBS = -L/usr/X11R6/lib -lXaw -lXt -lXmu -lXext -lX11 + LEX_LIBS = + +-- +2.16.2 + diff --git a/dev-perl/Ace/files/Ace-1.92-rpcxs.patch b/dev-perl/Ace/files/Ace-1.92-rpcxs.patch new file mode 100644 index 000000000000..be67f6fe1168 --- /dev/null +++ b/dev-perl/Ace/files/Ace-1.92-rpcxs.patch @@ -0,0 +1,25 @@ +From f44e3b39758057e3a5af7654768d40de2b249ae5 Mon Sep 17 00:00:00 2001 +From: Kent Fredric +Date: Fri, 13 Oct 2017 17:30:57 +1300 +Subject: Enable RPC and XS support + +--- + Makefile.PL | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile.PL b/Makefile.PL +index 232bc42..7a312fd 100644 +--- a/Makefile.PL ++++ b/Makefile.PL +@@ -10,7 +10,7 @@ while (!$choice) { + " 1) Interface to Ace socket server and local databases (pure Perl)\n" . + " 2) The above plus XS optimizations (requires C compiler)\n" . + " 3) The above plus RPC server interface (requires C compiler)\n\n" . +- "Enter your choice: ", "1"); ++ "Enter your choice: ", "3"); + if ($reply =~ /(\d+)/) { + $choice = $1; + die "invalid choice: $choice!" if $choice < 1 || $choice > 3; +-- +2.16.2 + diff --git a/dev-perl/Ace/metadata.xml b/dev-perl/Ace/metadata.xml new file mode 100644 index 000000000000..5d700f3b63b0 --- /dev/null +++ b/dev-perl/Ace/metadata.xml @@ -0,0 +1,58 @@ + + + + + sci@gentoo.org + Gentoo Science Project + + + perl@gentoo.org + Gentoo Perl Project + + + AcePerl + Ace + Ace::Browser::AceSubs + Ace::Browser::GeneSubs + Ace::Browser::SearchSubs + Ace::Browser::SiteDefs + Ace::Browser::TreeSubs + Ace::Freesubs + Ace::Graphics::Fk + Ace::Graphics::Glyph + Ace::Graphics::Glyph::anchored_arrow + Ace::Graphics::Glyph::arrow + Ace::Graphics::Glyph::box + Ace::Graphics::Glyph::crossbox + Ace::Graphics::Glyph::dot + Ace::Graphics::Glyph::ex + Ace::Graphics::Glyph::graded_segments + Ace::Graphics::Glyph::group + Ace::Graphics::Glyph::line + Ace::Graphics::Glyph::primers + Ace::Graphics::Glyph::segments + Ace::Graphics::Glyph::span + Ace::Graphics::Glyph::toomany + Ace::Graphics::Glyph::transcript + Ace::Graphics::Glyph::triangle + Ace::Graphics::GlyphFactory + Ace::Graphics::Panel + Ace::Graphics::Track + Ace::Iterator + Ace::Local + Ace::Model + Ace::Object + Ace::Object::Wormbase + Ace::RPC + Ace::Sequence + Ace::Sequence::Feature + Ace::Sequence::FeatureList + Ace::Sequence::GappedAlignment + Ace::Sequence::Gene + Ace::Sequence::Homol + Ace::Sequence::Multi + Ace::Sequence::Transcript + Ace::SocketServer + GFF::Filehandle + + -- cgit v1.2.3