diff options
author | git user | 2024-05-22 14:59:30 +0200 |
---|---|---|
committer | git user | 2024-05-22 14:59:30 +0200 |
commit | 991f6ac88f8a7ce9cdcb5a755a60f2b96e8f07c5 (patch) | |
tree | 27c4eb140b7c77ef7c3dcf89b6cc2c8afc4d6bb3 /PKGBUILD | |
parent | c3f5586d048927ea963732eb47f6fa40956f7263 (diff) | |
download | aur-991f6ac88f8a7ce9cdcb5a755a60f2b96e8f07c5.tar.gz |
Added patch to fix build with GCC 14.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -4,7 +4,7 @@ _pkgname=toppler pkgname="${_pkgname}-git" pkgver=1.3+8+r542.20220323.c8bf02b -pkgrel=1 +pkgrel=2 pkgdesc='A reimplementation of the classic jump & run game "Nebulus"' arch=('i686' 'x86_64') url="https://gitlab.com/roever/toppler/" @@ -19,17 +19,25 @@ conflicts=("${_pkgname}") replaces=("${_pkgname}-darcs") source=( "${_pkgname}::git+https://gitlab.com/roever/toppler.git" + "fix-for-gcc14.patch" "${_pkgname}.desktop" ) sha256sums=( - 'SKIP' - '828b4f8f6901e757de8cce76473caa1064b2db1375330eee370b0eff79909e9a' + 'SKIP' # Upstream git source + '25753ed79c12e9635d5ef8cb3f1ec380998f5ccaec37818b056b0541c9cd4c9f' # fix-for-gcc14.patch + '828b4f8f6901e757de8cce76473caa1064b2db1375330eee370b0eff79909e9a' # ${_pkgname}.desktop + ) prepare() { cd "${srcdir}/${_pkgname}" + for _patch in "${srcdir}"/fix-for-gcc14.patch; do + printf " > Applying patch $(basename "${_patch}") ..." + patch -Np1 --follow-symlinks -i "${_patch}" + done + git log > git.log } |