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 D50DF13835A for ; Mon, 2 Nov 2020 10:21:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2F825E0864; Mon, 2 Nov 2020 10:21:05 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 04DCCE0857 for ; Mon, 2 Nov 2020 10:21:05 +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 C9B3C33D3C7 for ; Mon, 2 Nov 2020 10:21:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1744D430 for ; Mon, 2 Nov 2020 10:21:01 +0000 (UTC) From: "Sergei Trofimovich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" Message-ID: <1604312455.2907618a6f57d32cc394be0b0ae357f3c7890c8a.slyfox@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/fbpdf/, app-text/fbpdf/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/fbpdf/Manifest app-text/fbpdf/fbpdf-0_p20190202-r1.ebuild app-text/fbpdf/files/fbpdf-0_p20190202-printf.patch X-VCS-Directories: app-text/fbpdf/files/ app-text/fbpdf/ X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: 2907618a6f57d32cc394be0b0ae357f3c7890c8a X-VCS-Branch: master Date: Mon, 2 Nov 2020 10:21:01 +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: 04345329-0677-47d5-911a-01696e0ec009 X-Archives-Hash: 0cf657a57196211f23dcd282890d521a commit: 2907618a6f57d32cc394be0b0ae357f3c7890c8a Author: Sergei Trofimovich gentoo org> AuthorDate: Mon Nov 2 08:42:00 2020 +0000 Commit: Sergei Trofimovich gentoo org> CommitDate: Mon Nov 2 10:20:55 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2907618a app-text/fbpdf: drop old Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Sergei Trofimovich gentoo.org> app-text/fbpdf/Manifest | 1 - app-text/fbpdf/fbpdf-0_p20190202-r1.ebuild | 43 ---------------------- .../fbpdf/files/fbpdf-0_p20190202-printf.patch | 38 ------------------- 3 files changed, 82 deletions(-) diff --git a/app-text/fbpdf/Manifest b/app-text/fbpdf/Manifest index ef0e2b843e0..ab7e2ce1d18 100644 --- a/app-text/fbpdf/Manifest +++ b/app-text/fbpdf/Manifest @@ -1,2 +1 @@ -DIST fbpdf-0_p20190202-dfe9f0067549f759cdc04f2f62b4f89cd6e1b199.tar.gz 7874 BLAKE2B 873da768b0152559536c73b7ed575c3457efe184934a38d0a9600412ac3a8616297194ab045be1d7eddb470d8d73ead4c655797fd7ba1efe6f2be9a19a5318b4 SHA512 f216a0993573e4e491845638b72ff019910f8a333ed618158e81bcb3f68619596f0354b0039c38c7619dd65c040aa599ed8923ac974717b86fb431e5c6954f3b DIST fbpdf-0_p20200614-27c9e28e9199a2491d0ee0a885760bedb1d4547b.tar.gz 8432 BLAKE2B 0004f8558b86c349744a37099ef86963d368ee9dedeefca861761f88adc3c94a3db9f46c9e1a6f6026357512a8320b956cd7c48108aa6c6657b84193fd5d4b49 SHA512 e037cd536e3a26b6d2364eb52803de67606bac418db8691c7530a889c95dd1f8661985021237ce7fea95f56ab5a308caf8d470c6c036b51b17211f9c200aba51 diff --git a/app-text/fbpdf/fbpdf-0_p20190202-r1.ebuild b/app-text/fbpdf/fbpdf-0_p20190202-r1.ebuild deleted file mode 100644 index 79bea0cffbd..00000000000 --- a/app-text/fbpdf/fbpdf-0_p20190202-r1.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit toolchain-funcs vcs-snapshot - -COMMIT="dfe9f0067549f759cdc04f2f62b4f89cd6e1b199" - -DESCRIPTION="framebuffer pdf and djvu viewer" -HOMEPAGE="https://github.com/aligrudi/fbpdf" - -SRC_URI="https://github.com/aligrudi/fbpdf/archive/${COMMIT}.tar.gz -> ${P}-${COMMIT}.tar.gz" - -LICENSE="BSD ISC" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - >=app-text/mupdf-1.10:0= - app-text/djvu:0= - !media-gfx/fbida[fbcon(-)] -" - -DEPEND="${RDEPEND}" - -BDEPEND="virtual/pkgconfig" - -S=${WORKDIR}/${P}-${COMMIT} - -PATCHES=( - "${FILESDIR}"/${P}-use-pkg-config.patch - "${FILESDIR}"/${P}-printf.patch -) - -src_compile() { - emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}" -} - -src_install() { - dobin fbpdf fbdjvu - dodoc README -} diff --git a/app-text/fbpdf/files/fbpdf-0_p20190202-printf.patch b/app-text/fbpdf/files/fbpdf-0_p20190202-printf.patch deleted file mode 100644 index 31f9fbe2c8a..00000000000 --- a/app-text/fbpdf/files/fbpdf-0_p20190202-printf.patch +++ /dev/null @@ -1,38 +0,0 @@ -https://bugs.gentoo.org/714736 - -From e89e36c01d09ca6aec03732e922e749257cac3f4 Mon Sep 17 00:00:00 2001 -From: Dmitry Bogatov -Date: Sun, 9 Feb 2020 00:47:09 -0500 -Subject: [PATCH] Avoid passing non-constant format string to printf - -gcc complains loudly on any code that uses anything but string literal -as format string to printf. Right now format string is "const char *" -and does not contain %-sequences, but should '%' appear in "usage" -string in future, bad things would happen. - -Since formatting functionality of "printf" is not used anyway, replacing -it with "puts" makes code both safer and easier to understand. ---- - fbpdf.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/fbpdf.c b/fbpdf.c -index a58797f..65b654b 100644 ---- a/fbpdf.c -+++ b/fbpdf.c -@@ -351,13 +351,13 @@ static void mainloop(void) - } - - static char *usage = -- "usage: fbpdf [-r rotation] [-z zoom x10] [-p page] filename\n"; -+ "usage: fbpdf [-r rotation] [-z zoom x10] [-p page] filename"; - - int main(int argc, char *argv[]) - { - int i = 1; - if (argc < 2) { -- printf(usage); -+ puts(usage); - return 1; - } - strcpy(filename, argv[argc - 1]);