diff options
author | Dan Maftei | 2018-05-24 10:45:03 +0300 |
---|---|---|
committer | Dan Maftei | 2018-05-24 10:45:03 +0300 |
commit | 1a85039531a70e420460ce9e9e5a5c7cbc4da470 (patch) | |
tree | b3d63797fc8e3ee987d8cd88c5aa2869bb1f259e /PKGBUILD | |
parent | d501d1e420d582b05e1dd98a72c40864ea208abc (diff) | |
download | aur-1a85039531a70e420460ce9e9e5a5c7cbc4da470.tar.gz |
Fixed a compilation error on newer gfortran (rdchx.f).
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -27,15 +27,24 @@ backup=() options=() install= changelog= -source=(ftp://ftp.cmbi.ru.nl/pub/molgraph/molden/$pkgname$pkgver.tar.gz) +source=( + "ftp://ftp.cmbi.ru.nl/pub/molgraph/molden/$pkgname$pkgver.tar.gz" + "rdchx.patch" +) noextract=() -md5sums=('1b33fc2fda6429f1945ffa3c291ccd97') +md5sums=('1b33fc2fda6429f1945ffa3c291ccd97' + '902d3fc3ebdb928fac38deb2ba7d5f94') build() { cd "$pkgname$pkgver" # Patch Makefile for surf utility to reflect the # replacement of missing makedepend sed -i 's/@.*makedepend.*$/@ \$(CC) \$(INCLUDE) -M \$(SRCS) \> makedep/' surf/Makefile + + # Patch rdchx.f for iconn dimension, + # thanks Panadestein for pointing out and + # arjun_karol for the solution + patch -p0 -i rdchx.patch make } |