summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD12
1 files changed, 9 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 5922455b4dd..f96b84b3c23 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=mingw-w64-resource
pkgver=0
-pkgrel=1
+pkgrel=2
pkgdesc='support for getrusage (mingw-w64)'
url='http://sourceforge.net/p/mingw-w64/code/HEAD/tree/experimental/getrusage'
arch=('any')
@@ -10,11 +10,17 @@ license=('custom')
depends=('mingw-w64-crt')
makedepends=('mingw-w64-gcc' 'subversion')
options=('staticlibs' '!buildflags' '!strip')
-source=("sys::svn+svn://svn.code.sf.net/p/mingw-w64/code/experimental/getrusage")
-md5sums=('SKIP' )
+source=("sys::svn+svn://svn.code.sf.net/p/mingw-w64/code/experimental/getrusage" unmaintained_fields.patch)
+md5sums=('SKIP' SKIP)
_architectures="i686-w64-mingw32 x86_64-w64-mingw32"
+prepare () {
+ cd sys
+ # http://man7.org/linux/man-pages/man2/getrusage.2.html
+ patch -p0 -i "${srcdir}"/unmaintained_fields.patch
+}
+
build() {
cd "${srcdir}"
for _arch in ${_architectures}; do