summaryrefslogtreecommitdiff
path: root/libs/rocm-rocr-runtime/fix-executable-null.awk
diff options
context:
space:
mode:
authorrawnix ports <ports@rawnix.org>2026-09-26 18:19:05 +0000
committerrawnix ports <ports@rawnix.org>2026-09-26 18:19:05 +0000
commitc82e88dd00d1b0b7fcfb4e5628d99611388cef6f (patch)
tree56d864b5a5c6c145edd96178ae219a8f90e191a6 /libs/rocm-rocr-runtime/fix-executable-null.awk
downloadports-c82e88dd00d1b0b7fcfb4e5628d99611388cef6f.tar.gz
sync 2026-09-26 18:19 UTC
1672 files changed, 151396 insertions(+)
Diffstat (limited to 'libs/rocm-rocr-runtime/fix-executable-null.awk')
-rw-r--r--libs/rocm-rocr-runtime/fix-executable-null.awk4
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/rocm-rocr-runtime/fix-executable-null.awk b/libs/rocm-rocr-runtime/fix-executable-null.awk
new file mode 100644
index 0000000..a40f104
--- /dev/null
+++ b/libs/rocm-rocr-runtime/fix-executable-null.awk
@@ -0,0 +1,4 @@
+/if\(!sec\) \{ return NULL; \}/ {
+ gsub(/return NULL;/, "return 0;")
+}
+{ print }