diff options
author | Vadim Yanitskiy | 2024-05-23 18:40:26 +0700 |
---|---|---|
committer | Vadim Yanitskiy | 2024-05-23 18:40:26 +0700 |
commit | 4425fd3f9b74d927c9bd8d387107b3939b891e65 (patch) | |
tree | d21508f59389ce0104deb1dd0951f2c14868caa6 | |
parent | 0591593af2282c238eeec84609cf8463801ad7b6 (diff) | |
download | aur-freecalypso-sim-tools-hg.tar.gz |
Fix building with gcc 14.1.1, pass and -std=gnu89
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 5 |
2 files changed, 5 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = freecalypso-sim-tools-hg pkgdesc = FreeCalypso SIM card tools pkgver = r103.3477438b5706 - pkgrel = 3 + pkgrel = 4 url = https://www.freecalypso.org/hg/fc-sim-tools arch = x86_64 arch = i686 @@ -9,6 +9,7 @@ pkgbase = freecalypso-sim-tools-hg license = custom makedepends = mercurial depends = pcsclite + conflicts = freecalypso-sim-tools source = hg+https://www.freecalypso.org/hg/fc-sim-tools md5sums = SKIP @@ -4,7 +4,7 @@ _hgname=fc-sim-tools _pkgname=freecalypso-sim-tools pkgname="${_pkgname}-hg" pkgver=r103.3477438b5706 -pkgrel=3 +pkgrel=4 pkgdesc="FreeCalypso SIM card tools" arch=('x86_64' 'i686') url="https://www.freecalypso.org/hg/${_hgname}" @@ -12,6 +12,7 @@ license=('custom') groups=('freecalypso') depends=('pcsclite') makedepends=('mercurial') +conflicts=("${_pkgname}") source=("hg+https://www.freecalypso.org/hg/${_hgname}") md5sums=('SKIP') @@ -22,7 +23,7 @@ pkgver() { build() { cd "${_hgname}" - make + make CFLAGS="-std=gnu89 ${CFLAGS}" CFLAGS_PCSC="-std=gnu89 ${CFLAGS} -I/usr/include/PCSC" } package() { |