diff options
author | V3n3RiX <venerix@koprulu.sector> | 2025-01-01 06:30:58 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2025-01-01 06:30:58 +0000 |
commit | c4d4d544a37efc45bd5482e62e1fcdbe7d5993d3 (patch) | |
tree | e97ec8b6356535412a838039bf7874aef3129f50 /sys-fs/ext3grep | |
parent | 2e36bcecf24a3f583ae8f27b71ba13b3cfd39778 (diff) |
gentoo auto-resync : 01:01:2025 - 06:30:57
Diffstat (limited to 'sys-fs/ext3grep')
-rw-r--r-- | sys-fs/ext3grep/Manifest | 2 | ||||
-rw-r--r-- | sys-fs/ext3grep/ext3grep-0.10.2-r2.ebuild | 37 | ||||
-rw-r--r-- | sys-fs/ext3grep/files/ext3grep-0.10.2-include-order.patch | 86 |
3 files changed, 125 insertions, 0 deletions
diff --git a/sys-fs/ext3grep/Manifest b/sys-fs/ext3grep/Manifest index 830f1d7359f2..1042d5d66bc1 100644 --- a/sys-fs/ext3grep/Manifest +++ b/sys-fs/ext3grep/Manifest @@ -1,8 +1,10 @@ AUX ext3grep-0.10.1-gcc44.patch 7824 BLAKE2B b0c7bb82f81f088388836d3d8c92496d164043592c97a5a97570f4db38128fb24fc8ba761e9f59f900e161214285f261bc978f3fe1341d7ec45e2cc76bb2d591 SHA512 11404bb9f606a223f328068d7b42911a49df05a0bee68e88e15b58c66964357bab1888af4a3284f3ea7ed559753ac7c80d4db59c63b53ee52117b8c92aae5607 +AUX ext3grep-0.10.2-include-order.patch 2608 BLAKE2B 5565ecd5e089d7625d402bc3292ba45e562c4d5b82acefe99e1563040ba3240b79840f08c24215cbdd932fcaa730a2595bf0daae5c34986307d67959a4459ecd SHA512 f910eff275d03965d0ea31efb185205df6d0a687a7022bec17b16effa6d4f760beed0fab69dcef6aaa27011db55052c50cc33d7b880cdd6a1f9af41ce4ea73dc AUX ext3grep-0.10.2-include-unistd_h-for-sysconf.patch 271 BLAKE2B b06c18ab18b5b1278883155dfefc3e0b4aff93e1fcfd2a500c92ada7ad10df56823564deb0acf1bfcb0c4453c2280cb27232bbf01be6567692ba2e4b0f2e395a SHA512 ea47220fc10d18bcaa6dbd9e89c94a9248f5af11d8f314a148edb1e99c9d655f753a9d8b3a33f0f3f20bc82eaa80cfd509b6d4255ff32b4977269a05af6f8e1e AUX ext3grep-0.10.2-missing-cassert-include.patch 227 BLAKE2B 9bd2d32865d3e16ee9ee0190299e334df27a15da2dab175618104bd421866a4b513e5dc672be5dc5221b7e3b4bffe9d99218a5db0d0aad085f36c598d20f9fd1 SHA512 3c638bed6d954c99063b7a510e4476a992b2ce245594b5783becf152b18cb567358b1e4e15083d712669866dcb71bb2869574d73f84ead0ea67d41247bb23c90 AUX ext3grep-0.10.2-new-e2fsprogs.patch 1478 BLAKE2B aa7daaae9984f524b59a7391268f301d8570bf8e48ffea686cd65e98db950351ba9fe43b9da93925c636aef78749b00acf0aa72d57b08bb2817b229497019875 SHA512 f16b5ed428c7bd1bf453d331eb1c114a13a2ec7fdc19d61b9788c5f4f3e5d4d85c013c738e04dbea12967a678d81bddedb60e573ac97c801efffa3ef27774e19 AUX ext3grep-0.10.2-newer-e2fsprogs.patch 1111 BLAKE2B c4343f4d8ad9d6e4c1b52f1dc41ab42d4de97e2185279cdc018ac3de7824ed2ca09eea8a9bd79d22628ccd2fb37b0e94bfaf27bfdc1e78da11a0ed0411ad432f SHA512 321d303e8f8e12270ee40f64418888e5a23347d33b978aec4979c87ceb21f70c970736087175ce141024997332f0772444cee9baab3758d2aab08d7d84b05faa DIST ext3grep-0.10.2.tar.gz 236364 BLAKE2B 0352e00a20c6a1486e4ddc0b80c9dcc9afa383775bb4ca6bcc83d2761b2901a9344ccd66f96e4a3e4b02177730f4e27b444695ba0644a5c42c4f3105618288ff SHA512 301a65c91d2342753a4588c40d496114067a18ceceb999f10fe3fc49c7d3a20c7836dba915575db352c89de7ff0ed3553cd8fbd2d1540109cb0ff7fa8f530b6f EBUILD ext3grep-0.10.2-r1.ebuild 778 BLAKE2B b4f3267a0e56dcc77be3393d518919d51d0fedb59724ba1953d3cb8b8fd7a1da954d3b764236f239d5b44ec1e0524df011d12d64eaf6e0ff99c9334636eecd8a SHA512 68e4f652b7d27a6794383c3a594bbde7e8db77f298dc73c1f4d1847226e9785058f474b9d1287fabf6d9a66eaa6f132916a340bcd38d7dab963448b714fc2d8b +EBUILD ext3grep-0.10.2-r2.ebuild 818 BLAKE2B 61b592da059b05a9d49196eeaadc54ad030db8e1b9bb3c3390de41c47478947f6a3ff634432774e2f989cbd8111a38bacd5e779d7adc11420edcc1e909205650 SHA512 3c35048fa0536ace4abfae53ed3ff8f65a831e49845c621b3fe0b72d4dfad323fd3fc606422f4c214041e4aa1ba57f0090089ea65e798e4a16d50e6ec665ec47 MISC metadata.xml 295 BLAKE2B 78fd1bd49fbcee6b961da117736ab0801ea68eb1f7a63f8844bfbce88a051e4f3b0734e75c4d9b1bdc3ab31f7fd694314a8bd8cee653f82cd08950700e65f850 SHA512 674a418d6ddb0df5b9260b4f3160c409afbb030d19c20e3777344d218039cad2b41244767b3f9bb300a29dc186bded3d167f175f8842b4bfa137ab7880b36176 diff --git a/sys-fs/ext3grep/ext3grep-0.10.2-r2.ebuild b/sys-fs/ext3grep/ext3grep-0.10.2-r2.ebuild new file mode 100644 index 000000000000..1311fc4dc750 --- /dev/null +++ b/sys-fs/ext3grep/ext3grep-0.10.2-r2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Recover deleted files on an ext3 file system" +HOMEPAGE="https://code.google.com/p/ext3grep/" +SRC_URI="https://ext3grep.googlecode.com/files/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug pch" + +DEPEND=" + sys-fs/e2fsprogs + virtual/os-headers +" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}/${PN}-0.10.1-gcc44.patch" + "${FILESDIR}/${P}-include-unistd_h-for-sysconf.patch" + "${FILESDIR}/${P}-new-e2fsprogs.patch" + "${FILESDIR}/${P}-newer-e2fsprogs.patch" + "${FILESDIR}/${P}-missing-cassert-include.patch" + "${FILESDIR}/${P}-include-order.patch" +) + +src_configure() { + local myeconfargs=( + $(use_enable debug) + $(use_enable pch) + ) + + econf "${myeconfargs[@]}" +} diff --git a/sys-fs/ext3grep/files/ext3grep-0.10.2-include-order.patch b/sys-fs/ext3grep/files/ext3grep-0.10.2-include-order.patch new file mode 100644 index 000000000000..6f08e5ad9329 --- /dev/null +++ b/sys-fs/ext3grep/files/ext3grep-0.10.2-include-order.patch @@ -0,0 +1,86 @@ +https://bugs.gentoo.org/934532 +https://bugs.gentoo.org/939024 +Ordering of includes is important, so we don't redefine "clamp" from +under STL internals: +https://en.cppreference.com/w/cpp/algorithm/clamp takes four args +but clamp in ext2fs.h takes three +diff -ur a/src/directories.cc b/src/directories.cc +--- a/src/directories.cc 2024-12-30 14:12:51.353812001 +0400 ++++ b/src/directories.cc 2024-12-30 14:13:51.472524523 +0400 +@@ -21,6 +21,10 @@ + // You should have received a copy of the GNU General Public License + // along with this program. If not, see <http://www.gnu.org/licenses/>. + ++#include <cstring> ++#include <ctime> ++#include <algorithm> ++ + #ifndef USE_PCH + #include "sys.h" + #include "ext3.h" +@@ -33,9 +37,6 @@ + #include "indirect_blocks.h" + #include "get_block.h" + #include "directories.h" +-#include <cstring> +-#include <ctime> +-#include <algorithm> + + //----------------------------------------------------------------------------- + // +diff -ur a/src/init_files.cc b/src/init_files.cc +--- a/src/init_files.cc 2024-12-30 14:12:51.353812001 +0400 ++++ b/src/init_files.cc 2024-12-30 14:13:37.823593692 +0400 +@@ -21,6 +21,8 @@ + // You should have received a copy of the GNU General Public License + // along with this program. If not, see <http://www.gnu.org/licenses/>. + ++#include <algorithm> ++ + #ifndef USE_PCH + #include "sys.h" + #include <iomanip> +@@ -33,7 +35,6 @@ + #include "globals.h" + #include "forward_declarations.h" + #include "journal.h" +-#include <algorithm> + + //----------------------------------------------------------------------------- + // +diff -ur a/src/journal.cc b/src/journal.cc +--- a/src/journal.cc 2024-12-30 14:12:51.353812001 +0400 ++++ b/src/journal.cc 2024-12-30 14:14:07.808441493 +0400 +@@ -21,6 +21,9 @@ + // You should have received a copy of the GNU General Public License + // along with this program. If not, see <http://www.gnu.org/licenses/>. + ++#include <algorithm> ++#include <ctime> ++ + #ifndef USE_PCH + #include "sys.h" + #include <stdint.h> +@@ -37,8 +40,6 @@ + #include "indirect_blocks.h" + #include "get_block.h" + #include "commandline.h" +-#include <algorithm> +-#include <ctime> + + //----------------------------------------------------------------------------- + // +It throws warning - we already define LARGEFILE on Gentoo, so let's not redefine +diff -ur a/src/sys.h.in b/src/sys.h.in +--- a/src/sys.h.in 2024-12-30 14:12:51.353812001 +0400 ++++ b/src/sys.h.in 2024-12-30 14:24:36.796244569 +0400 +@@ -31,7 +31,9 @@ + #endif + + // This is needed for lseek64. ++#ifndef _LARGEFILE64_SOURCE + #define _LARGEFILE64_SOURCE ++#endif + + #ifdef CWDEBUG + #ifndef _GNU_SOURCE |