Skip to content

Commit

Permalink
geany-plugins: backport gcc build fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
lazka committed Nov 10, 2024
1 parent dcd1272 commit dda6ad3
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions mingw-w64-geany-plugins/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,12 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-cc"
'intltool')
# "${MINGW_PACKAGE_PREFIX}-cppcheck")
# optdepends=("${MINGW_PACKAGE_PREFIX}-hspell: hebrew spell checker")
source=("https://github.com/geany/geany-plugins/releases/download/${_realpkgver}/${_realname}-${pkgver}.tar.bz2")
sha256sums=('9fc2ec5c99a74678fb9e8cdfbd245d3e2061a448d70fd110a6aefb62dd514705')
source=("https://github.com/geany/geany-plugins/releases/download/${_realpkgver}/${_realname}-${pkgver}.tar.bz2"
"https://github.com/geany/geany-plugins/commit/bb289f1562ec4368efa400c3d17cb17c206f101d.patch"
"https://github.com/geany/geany-plugins/commit/07f0fdc1ef2ccaf104b5f9591bfcf3a56f035c4f.patch")
sha256sums=('9fc2ec5c99a74678fb9e8cdfbd245d3e2061a448d70fd110a6aefb62dd514705'
'11d2271d90a998f6591cbebc84c369f2de14d6108d2f4e78eff86ed2e9262964'
'65346c504b3a93988aa683933fa9dc16c5e245268a9bfbb5d47af5b6c0c36044')

apply_patch_with_msg() {
for _patch in "$@"
Expand All @@ -49,6 +53,9 @@ apply_patch_with_msg() {
prepare() {
cd ${_realname}-${pkgver}

apply_patch_with_msg \
"bb289f1562ec4368efa400c3d17cb17c206f101d.patch" \
"07f0fdc1ef2ccaf104b5f9591bfcf3a56f035c4f.patch"
}

build() {
Expand Down

0 comments on commit dda6ad3

Please sign in to comment.