From 9d366120ac2fa12d8ef2f8a61c86cc532101c9c0 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sat, 12 Jan 2019 08:21:35 +0100 Subject: openttd-git: use patch instead of git apply --- openttd-git/PKGBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'openttd-git') diff --git a/openttd-git/PKGBUILD b/openttd-git/PKGBUILD index b3b7c547..197c0db4 100644 --- a/openttd-git/PKGBUILD +++ b/openttd-git/PKGBUILD @@ -1,6 +1,6 @@ # Maintainer: Erich Eckner pkgname=openttd-git -pkgver=28366.c80608a83 +pkgver=28368.06cd561ce _commit=${pkgver#*.} pkgrel=1 pkgdesc="A FOSS clone of Transport Tycoon Deluxe." @@ -76,7 +76,7 @@ prepare() { for _p in "${srcdir}/"{signaltunnel,sloped-stations,underground}.patch; do >&2 echo "patching ${_p##*/} ..." - git apply "${_p}" + patch -p1 -i "${_p}" >&2 echo "... ok" done sed -i ' -- cgit v1.2.3-70-g09d2