From dd4fbeaddfe85b569fe83ea92a2abb37cd37c25b Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Fri, 7 May 2021 09:49:29 +0530 Subject: [PATCH] tktable: Change SourceForge mirror, disable -fPIC. --- mingw-w64-tktable/PKGBUILD | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/mingw-w64-tktable/PKGBUILD b/mingw-w64-tktable/PKGBUILD index f1c67cb982..48e49dedb3 100644 --- a/mingw-w64-tktable/PKGBUILD +++ b/mingw-w64-tktable/PKGBUILD @@ -7,14 +7,15 @@ pkgbase=mingw-w64-${_realname} pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}" _pkgnameactual=Tktable pkgver=2.10 -pkgrel=4 +pkgrel=5 pkgdesc="A full-featured 2D table widget for Tk (mingw-w64)" arch=('any') mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64') url="https://tktable.sourceforge.io/" license=('custom') depends=("${MINGW_PACKAGE_PREFIX}-tk") -source=("https://sourceforge.net/projects/tktable/files/${_realname}/${pkgver}/${_pkgnameactual}${pkgver}.tar.gz" +#"https://sourceforge.net/projects/tktable/files/${_realname}/${pkgver}/${_pkgnameactual}${pkgver}.tar.gz" +source=("https://pilotfiber.dl.sourceforge.net/project/tktable/tktable/${pkgver}/Tktable${pkgver}.tar.gz" 001-fix-detect-mingw.patch) sha256sums=('c335117fa1be45fe4d3032e96fd4b4641fff6a4f8467878608dabed11198a4cb' '1decff05ed2e09f62a44e1e6d15e32904f331e83c4e1170f5f1140f7d9f9bb1f') @@ -23,6 +24,9 @@ prepare() { cd ${_pkgnameactual}${pkgver} patch -p1 -i ${srcdir}/001-fix-detect-mingw.patch + # For clang + sed -i "s/-fPIC//g" tclconfig/tcl.m4 + autoreconf -fiv }