From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3CFF8138334 for ; Sat, 23 Feb 2019 11:55:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E224EE0929; Sat, 23 Feb 2019 11:55:19 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A5501E0929 for ; Sat, 23 Feb 2019 11:55:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EF70E33BEB8 for ; Sat, 23 Feb 2019 11:55:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 67D7F54E for ; Sat, 23 Feb 2019 11:55:16 +0000 (UTC) From: "Pacho Ramos" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Pacho Ramos" Message-ID: <1550922885.3294485699fbbd4b28bc51eb99fa95fec0ced604.pacho@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/aiksaurus/, app-text/aiksaurus/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/aiksaurus/aiksaurus-1.2.1-r1.ebuild app-text/aiksaurus/files/aiksaurus-1.2.1-format-security.patch X-VCS-Directories: app-text/aiksaurus/ app-text/aiksaurus/files/ X-VCS-Committer: pacho X-VCS-Committer-Name: Pacho Ramos X-VCS-Revision: 3294485699fbbd4b28bc51eb99fa95fec0ced604 X-VCS-Branch: master Date: Sat, 23 Feb 2019 11:55:16 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f18ca10f-1248-4b42-81c4-103c51ae4d92 X-Archives-Hash: 477122fd6de8393bab43046dfd84b0a0 commit: 3294485699fbbd4b28bc51eb99fa95fec0ced604 Author: Pacho Ramos gentoo org> AuthorDate: Sat Feb 23 11:38:37 2019 +0000 Commit: Pacho Ramos gentoo org> CommitDate: Sat Feb 23 11:54:45 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32944856 app-text/aiksaurus: Fix format-security, drop .la files Closes: https://bugs.gentoo.org/521124 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Pacho Ramos gentoo.org> app-text/aiksaurus/aiksaurus-1.2.1-r1.ebuild | 41 ++++++++++++++++++++++ .../files/aiksaurus-1.2.1-format-security.patch | 29 +++++++++++++++ 2 files changed, 70 insertions(+) diff --git a/app-text/aiksaurus/aiksaurus-1.2.1-r1.ebuild b/app-text/aiksaurus/aiksaurus-1.2.1-r1.ebuild new file mode 100644 index 00000000000..b78d34eacee --- /dev/null +++ b/app-text/aiksaurus/aiksaurus-1.2.1-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit flag-o-matic libtool + +DESCRIPTION="A thesaurus lib, tool and database" +HOMEPAGE="https://sourceforge.net/projects/aiksaurus" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos" +IUSE="gtk" + +RDEPEND="gtk? ( x11-libs/gtk+:2 )" +DEPEND="${RDEPEND} + gtk? ( virtual/pkgconfig ) +" + +PATCHES=( + "${FILESDIR}/${P}-gcc43.patch" + "${FILESDIR}/${P}-format-security.patch" +) + +src_prepare() { + default + # Needed to make relink work on FreeBSD, without it won't install. + # Also needed for a sane .so versionning there. + elibtoolize +} + +src_configure() { + filter-flags -fno-exceptions + econf $(use_with gtk) +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +} diff --git a/app-text/aiksaurus/files/aiksaurus-1.2.1-format-security.patch b/app-text/aiksaurus/files/aiksaurus-1.2.1-format-security.patch new file mode 100644 index 00000000000..ba90a451950 --- /dev/null +++ b/app-text/aiksaurus/files/aiksaurus-1.2.1-format-security.patch @@ -0,0 +1,29 @@ +--- aiksaurus-1.2.1/base/caiksaurus.cpp.orig 2014-06-07 21:14:03.869649696 +0100 ++++ aiksaurus-1.2.1/base/caiksaurus.cpp 2014-06-07 21:33:06.241471066 +0100 +@@ -254,7 +254,7 @@ + /* see if we got --version. */ + if ( !strcmp(arg, "--version") || !strcmp(arg, "-v") ) + { +- printf(version); ++ printf("%s", version); + exit(0); + } + +@@ -262,7 +262,7 @@ + else if ( !strcmp(arg, "--help") || !strcmp(arg, "-h") ) + { + printf("Usage: %s [word]\n\n", argv[0]); +- printf(help); ++ printf("%s", help); + exit(0); + } + } +@@ -271,7 +271,7 @@ + if (argc != 2) + { + printf("Usage: %s [word]\n", argv[0]); +- printf(help); ++ printf("%s", help); + exit(1); + } + }