diff --git a/srcpkgs/ghidra/patches/protoc.patch b/srcpkgs/ghidra/patches/protoc.patch new file mode 100644 index 00000000000..9423bc17c20 --- /dev/null +++ b/srcpkgs/ghidra/patches/protoc.patch @@ -0,0 +1,36 @@ +--- ghidra-10.3/ghidra_build/Ghidra/Debug/Debugger-gadp/build.gradle.orig ++++ ghidra-10.3/ghidra_build/Ghidra/Debug/Debugger-gadp/build.gradle +@@ -81,14 +81,9 @@ + ext.outdir = file("build/generated/source/proto/main/java") + outputs.dir(outdir) + inputs.files(src) +- dependsOn(configurations.protocArtifact) + doLast { +- def exe = configurations.protocArtifact.first() +- if (!isCurrentWindows()) { +- exe.setExecutable(true) +- } + exec { +- commandLine exe, "--java_out=$outdir", "-I$srcdir" ++ commandLine '/usr/bin/protoc', "--java_out=$outdir", "-I$srcdir" + args src + } + } +--- ghidra-10.3/ghidra_build/Ghidra/Debug/Debugger-isf/build.gradle.orig ++++ ghidra-10.3/ghidra_build/Ghidra/Debug/Debugger-isf/build.gradle +@@ -72,14 +72,9 @@ + ext.outdir = file("build/generated/source/proto/main/java") + outputs.dir(outdir) + inputs.files(src) +- dependsOn(configurations.protocArtifact) + doLast { +- def exe = configurations.protocArtifact.first() +- if (!isCurrentWindows()) { +- exe.setExecutable(true) +- } + exec { +- commandLine exe, "--java_out=$outdir", "-I$srcdir" ++ commandLine '/usr/bin/protoc', "--java_out=$outdir", "-I$srcdir" + args src + } + } diff --git a/srcpkgs/ghidra/template b/srcpkgs/ghidra/template index 1ad665e83dc..dcf99743570 100644 --- a/srcpkgs/ghidra/template +++ b/srcpkgs/ghidra/template @@ -1,7 +1,7 @@ # Template file for 'ghidra' pkgname=ghidra version=10.3 -revision=1 +revision=2 _dex_ver=2.1 _yajsw_ver=13.09 archs="x86_64* aarch64*"