Skip to content

Commit

Permalink
meson: fix openmp support with llvm 17
Browse files Browse the repository at this point in the history
  • Loading branch information
lazka committed Sep 23, 2023
1 parent 2612036 commit 042de51
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions mingw-w64-meson/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ _realname=meson
pkgbase=mingw-w64-${_realname}
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
pkgver=1.2.1
pkgrel=1
pkgrel=2
pkgdesc="High-productivity build system (mingw-w64)"
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'clangarm64')
Expand All @@ -23,12 +23,14 @@ source=("https://github.com/mesonbuild/${_realname}/releases/download/${pkgver}/
'color-term.patch'
'0002-Default-to-sys.prefix-as-the-default-prefix.patch'
'0004-fix-gtk-doc.patch'
'install-man.patch')
'install-man.patch'
https://github.com/mesonbuild/meson/pull/12284.patch)
sha256sums=('b1db3a153087549497ee52b1c938d2134e0338214fe14f7efd16fecd57b639f5'
'5805aed0a117536eb16dd8eef978c6be57c2471b655ede63e25517c28b4f4cf0'
'032b38f0b2765dc88e1fcb34e27b69b611e07c869c13c6e703bcf182e586fccb'
'0f9177102976bbcbdf50c1da49842783a0c77be939e839f1bf91dcaba6a5cdee'
'0682a36cb75e545a78b81293303835a16171f25baf949905dc08029436efff84')
'0682a36cb75e545a78b81293303835a16171f25baf949905dc08029436efff84'
'fc129b0c6417f47baf9a9e8ac49884890dc8c7cc1d4f040abda3519e803754c3')

apply_patch_with_msg() {
for _patch in "$@"
Expand All @@ -46,6 +48,9 @@ prepare() {
0002-Default-to-sys.prefix-as-the-default-prefix.patch \
0004-fix-gtk-doc.patch \
install-man.patch

# https://github.com/mesonbuild/meson/pull/12284
apply_patch_with_msg 12284.patch
}

build() {
Expand Down

0 comments on commit 042de51

Please sign in to comment.