I’ve tried to install gzdoom both through the terminal and GUI and both times it returns the same error: _==> ERROR: A failure occurred in prepare()._

The line of code before that says this: /var/tmp/pamac-build-[user]/zmusic/PKGBUILD: line 20: patch: command not found

I go to that file, open it in Mousepad and that specific line says this: patch -i "$srcdir"/0001-Use-correct-soundfont-path.patch -p 1

I go to that patch file and only mentions the file path for Ubuntu. I know that this makes me really dumb but I really help with this. Thanks in advance.