From ed53da456ea949d3db44455d9a22313cc588853b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Sun, 29 Jan 2023 15:05:36 +0100 Subject: rz-ghidra decompiler for cutter --- etc/portage/make.conf | 1 + etc/portage/package.accept_keywords/conf | 16 ++++++++++++++++ etc/portage/patches/dev-util/rz-ghidra/crc32.patch | 13 +++++++++++++ 3 files changed, 30 insertions(+) create mode 100644 etc/portage/package.accept_keywords/conf create mode 100644 etc/portage/patches/dev-util/rz-ghidra/crc32.patch (limited to 'etc') diff --git a/etc/portage/make.conf b/etc/portage/make.conf index 9126823..5871692 100644 --- a/etc/portage/make.conf +++ b/etc/portage/make.conf @@ -52,6 +52,7 @@ USE="$USE tesseract" # za opencv USE="$USE fontconfig" # za gd za graphviz USE="$USE system-png" # za torbrowser USE="$USE bluetooth" +USE="$USE cutter" # za rz-ghidra CALLIGRA_FEATURES="stage words sheets" PALEMOON_ENABLE_UNSUPPORTED_COMPILERS=1 # uradno gcc 11 ni podprt diff --git a/etc/portage/package.accept_keywords/conf b/etc/portage/package.accept_keywords/conf new file mode 100644 index 0000000..feb4423 --- /dev/null +++ b/etc/portage/package.accept_keywords/conf @@ -0,0 +1,16 @@ +# packages from external repos do not have version numbers, since that would prevent them from being upgraded +www-client/librewolf ~* +games-action/polymc ~* +games-action/ddnet ~* +net-p2p/p2pool ~* +net-p2p/monero ~* +app-misc/ddccontrol ~* +dev-lang/zig ~* +x11-misc/dex ~* +app-mobilephone/scrcpy ~* +app-text/pandoc ~* +www-client/torbrowser ~* +www-apps/jellyfin ~* +www-apps/invidious ~* +net-misc/xrdp ~* +dev-util/rz-ghidra ~* diff --git a/etc/portage/patches/dev-util/rz-ghidra/crc32.patch b/etc/portage/patches/dev-util/rz-ghidra/crc32.patch new file mode 100644 index 0000000..484db41 --- /dev/null +++ b/etc/portage/patches/dev-util/rz-ghidra/crc32.patch @@ -0,0 +1,13 @@ +diff --git a/ghidra/ghidra/Ghidra/Features/Decompiler/src/decompile/cpp/crc32.hh b/ghidra/ghidra/Ghidra/Features/Decompiler/src/decompile/cpp/crc32.hh +--- a/ghidra/ghidra/Ghidra/Features/Decompiler/src/decompile/cpp/crc32.hh ++++ b/ghidra/ghidra/Ghidra/Features/Decompiler/src/decompile/cpp/crc32.hh +@@ -16,8 +16,8 @@ + /// \file crc32.hh + /// \brief Table and function for computing a CRC32 + +-#ifndef __CRC32__ +-#define __CRC32__ ++#ifndef __CRC32A__ ++#define __CRC32A__ + + #include "types.h" -- cgit v1.2.3