Date: Thursday, May 25, 2017 @ 23:44:00 Author: eworm Revision: 230331
fix build with gcc 7.x Modified: gnokii/trunk/PKGBUILD ----------+ PKGBUILD | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-05-25 23:42:38 UTC (rev 230330) +++ PKGBUILD 2017-05-25 23:44:00 UTC (rev 230331) @@ -22,11 +22,13 @@ source=("https://www.gnokii.org/download/$pkgname/$pkgname-$pkgver.tar.bz2" 'gnokii-config.patch' 'gnokii-lock.patch' - 'gnokii-gcc5.patch') + 'gnokii-gcc5.patch' + 'gnokii-gcc7.patch') md5sums=('d9627f4a1152d3ea7806df4532850d5f' 'b2961b52ac1f770c4704ccc50b64fde2' '17b629db85a6bb2b98ca59941aa95295' - '5bcf2dadd31a826d1f80b53bb37d9bd0') + '5bcf2dadd31a826d1f80b53bb37d9bd0' + '338e376185ff5323c5fdd3538890f776') prepare() { cd $pkgname-$pkgver @@ -39,6 +41,9 @@ # Fix build with GCC 5 (Fedora patch) patch -Np1 -i "$srcdir/gnokii-gcc5.patch" + + # Fix build with GCC 7 + patch -Np1 -i "$srcdir/gnokii-gcc7.patch" } build() {