diff options
Diffstat (limited to 'app-crypt/fcrackzip')
-rw-r--r-- | app-crypt/fcrackzip/Manifest | 3 | ||||
-rw-r--r-- | app-crypt/fcrackzip/fcrackzip-1.0.ebuild | 10 | ||||
-rw-r--r-- | app-crypt/fcrackzip/files/fcrackzip-1.0-Fix-Wimplicit-int.patch | 19 |
3 files changed, 28 insertions, 4 deletions
diff --git a/app-crypt/fcrackzip/Manifest b/app-crypt/fcrackzip/Manifest index a9f652c9d0d2..8d6a842e5e98 100644 --- a/app-crypt/fcrackzip/Manifest +++ b/app-crypt/fcrackzip/Manifest @@ -1,3 +1,4 @@ +AUX fcrackzip-1.0-Fix-Wimplicit-int.patch 563 BLAKE2B 6ceb696d252ae336c1d1bc61a7fb3bf321ca243c2d3aebd92c23795daead1447d1767e5ca2de38a9c7e6da740076d6522444521340cbb856e0bf2edc0518efc6 SHA512 f7b71e29cecde84a628ea49cf6f81c85b2e68a61ec98fdb94e365fa86ada5f885b5075c19edb8da798d19a712479d51370a162997aa6c46195b11c6222ed7c37 DIST fcrackzip-1.0.tar.gz 114786 BLAKE2B b5eb3071e7c858949079c8df79502aeb744a46b06b18408ba8cdc3c5b980e3b740acb597ba12196cd0d4f737e2aa3fbeb10e9d81c5d78a8244af1d3cb6b8eaa6 SHA512 c18d45b5a4ec46411d455a0c10cb9faa7a1060a48936a820fff9b1f8af7f7158ac09da44d39673e4bdfaf0f370ee425e8df0a0dbe98a2a930049ecc2a1419048 -EBUILD fcrackzip-1.0.ebuild 492 BLAKE2B f75cbdf10931c0268a702c3d9ca3da8a6553e1ea9340781d2623074fc6437034dcd477b5014816b3ed2560b91a7d1671a3900ac6832d44faa737525ed91beb35 SHA512 d176591dcfce60c13a8efd77f58141a1da3cab580aaf5d48597d7149c63680bcddfa03ed4a1b299fa0f78de5257fb88a2b5bea11c878e86132bc0f1451d0d9fe +EBUILD fcrackzip-1.0.ebuild 549 BLAKE2B 84248dcd2b5d4b6f8265f4bd9fc8d50200f9c470c565617abd7cb517767bba308281cc5c216714891e6f93f1d9f0fae9ffadea08a5625a3428129fd55fdbf2e3 SHA512 2c22e9e387a2cb031c5397a019650c7467ec1371ce9053444a8da1e3bec90f27a00ffff29b611bbe85a8545b8b06ee3728084be6f83ef12e2f1f82ed0c8d9e3c MISC metadata.xml 168 BLAKE2B 2e0e000b4c3b6ca04c12903fdbe278415c05a822623c52e9aa95cbbf3d50bcb1246b7edbda7d2f6b559af8950c6374e6e0a69b76319964cfe686bf50b0604a57 SHA512 4dcf45d1809e8390a2d8155c8ebfe0dd610203e392aeab0ccd8a10f42cc8532a4925eff32b35e7a6c35598a4efd288229034ec0732299dbd8cfa0acff705fed3 diff --git a/app-crypt/fcrackzip/fcrackzip-1.0.ebuild b/app-crypt/fcrackzip/fcrackzip-1.0.ebuild index 696cdae5bdf0..be7a5a2cff1a 100644 --- a/app-crypt/fcrackzip/fcrackzip-1.0.ebuild +++ b/app-crypt/fcrackzip/fcrackzip-1.0.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -DESCRIPTION="a zip password cracker" +DESCRIPTION="Zip password cracker" HOMEPAGE="http://oldhome.schmorp.de/marc/fcrackzip.html" SRC_URI="http://oldhome.schmorp.de/marc/data/${P}.tar.gz" @@ -13,6 +13,10 @@ KEYWORDS="~amd64 ~x86" RDEPEND="app-arch/unzip" +PATCHES=( + "${FILESDIR}"/${PN}-1.0-Fix-Wimplicit-int.patch +) + src_prepare() { default sed -i -e '/funroll/d' configure || die diff --git a/app-crypt/fcrackzip/files/fcrackzip-1.0-Fix-Wimplicit-int.patch b/app-crypt/fcrackzip/files/fcrackzip-1.0-Fix-Wimplicit-int.patch new file mode 100644 index 000000000000..131cb4afade2 --- /dev/null +++ b/app-crypt/fcrackzip/files/fcrackzip-1.0-Fix-Wimplicit-int.patch @@ -0,0 +1,19 @@ +From 29a7c52bbf58b9465bbda3f2aa76849e30282a85 Mon Sep 17 00:00:00 2001 +From: Sam James <sam@gentoo.org> +Date: Wed, 19 Oct 2022 03:43:04 +0100 +Subject: [PATCH] Fix -Wimplicit-int + +Bug: https://bugs.gentoo.org/874951 +--- a/cpmask.c ++++ b/cpmask.c +@@ -126,8 +126,8 @@ static u8 cp_key[] = + 0x03, 0x01, 0x04, 0x19, 0x0c, 0x0f, 0x0e, 0x12, 0x07, 0x0b, 0x18, 0x11, 0x1a + }; + +-static cp_table_lu1[MAX_CP_WIDTH]; +-static cp_table_lu2[MAX_CP_WIDTH]; ++static UI cp_table_lu1[MAX_CP_WIDTH]; ++static UI cp_table_lu2[MAX_CP_WIDTH]; + + /* this is a bottleneck */ + static void |