tldr:
- copy patch to src
- add as new section to PKGBUILD
prepare() { patch --forward --strip=1 --input="${srcdir}/s25rttr-gcc13.patch" }
- add before
cmake -B
inbuild()
CFLAGS="${CFLAGS} -Wno-error=deprecated-declarations -Wno-dangling-reference" CXXFLAGS="${CXXFLAGS} -Wno-error=deprecated-declarations -Wno-dangling-reference"```