summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Górny2018-11-07 22:46:00 +0100
committerMichał Górny2018-11-07 22:46:00 +0100
commita2e38605fc3d40484e91d9fdd7fd4fd3bc9048d4 (patch)
treed379b8ea2d9d1af121d8feef1cb6ed8858932f26
parent1c389af0c261faadec037d3e3673dd08b8f86f7a (diff)
downloadaur-a2e38605fc3d40484e91d9fdd7fd4fd3bc9048d4.tar.gz
add gnulib patch
-rw-r--r--PKGBUILD13
1 files changed, 10 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 5b3a249cbc3c..892ff0e396ff 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,15 +5,22 @@
pkgname=gcal
pkgver=4.1
-pkgrel=1
+pkgrel=2
pkgdesc="Display hybrid and proleptic Julian and Gregorian calendar sheets"
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/gcal/"
license=('GPL')
depends=('perl')
install=gcal.install
-source=(ftp://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.xz)
-md5sums=('7560189fc2393fddc920c5843b27d295')
+source=(ftp://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.xz
+ https://src.fedoraproject.org/rpms/gcal/raw/master/f/gcal-glibc-no-libio.patch)
+md5sums=('7560189fc2393fddc920c5843b27d295'
+ 'a04608e34328e54e7c408a57240abfb1')
+
+prepare() {
+ cd $srcdir/$pkgname-$pkgver
+ patch -Np1 -i "${srcdir}/gcal-glibc-no-libio.patch"
+}
build() {
cd "$srcdir/$pkgname-$pkgver"