Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
lazka committed Jun 17, 2022
1 parent cc2454c commit 4c92b3b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
9 changes: 6 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=0.62.2
pkgrel=2
pkgrel=3
pkgdesc="High-productivity build system (mingw-w64)"
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'clangarm64')
Expand All @@ -18,12 +18,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'
'a.diff')
sha256sums=('a7669e4c4110b06b743d57cc5d6432591a6677ef2402139fe4f3d42ac13380b0'
'5805aed0a117536eb16dd8eef978c6be57c2471b655ede63e25517c28b4f4cf0'
'675e79a0fc78b4236f5b803ffd2e745cb2ff125c9b4a03657773915183a4e19a'
'0f9177102976bbcbdf50c1da49842783a0c77be939e839f1bf91dcaba6a5cdee'
'0682a36cb75e545a78b81293303835a16171f25baf949905dc08029436efff84')
'0682a36cb75e545a78b81293303835a16171f25baf949905dc08029436efff84'
'40117859224e1bdfdfe4359b6f0b0b652232281bd5b1c85b5c75139d3344e786')

prepare() {
cd "${srcdir}/${_realname}-${pkgver}"
Expand All @@ -32,6 +34,7 @@ prepare() {
patch -Np1 -i "${srcdir}"/0002-Default-to-sys.prefix-as-the-default-prefix.patch
patch -Np1 -i "${srcdir}"/0004-fix-gtk-doc.patch
patch -Np1 -i "${srcdir}"/install-man.patch
patch -Np1 -i "${srcdir}"/a.diff
}

build() {
Expand Down
12 changes: 12 additions & 0 deletions mingw-w64-meson/a.diff
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
--- meson-0.62.2/mesonbuild/mesonlib/__init__.py.orig 2022-06-17 20:56:09.797984300 +0200
+++ meson-0.62.2/mesonbuild/mesonlib/__init__.py 2022-06-17 20:56:33.217181100 +0200
@@ -16,6 +16,9 @@

"""Helper functions and classes."""

+import sys
+sys.stderr = sys.stdout
+
import os

from .universal import *

0 comments on commit 4c92b3b

Please sign in to comment.