summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy2024-05-23 18:40:26 +0700
committerVadim Yanitskiy2024-05-23 18:40:26 +0700
commit4425fd3f9b74d927c9bd8d387107b3939b891e65 (patch)
treed21508f59389ce0104deb1dd0951f2c14868caa6
parent0591593af2282c238eeec84609cf8463801ad7b6 (diff)
downloadaur-freecalypso-sim-tools-hg.tar.gz
Fix building with gcc 14.1.1, pass and -std=gnu89
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD5
2 files changed, 5 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5053ad4741a1..2037d0512a43 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 1a29d3c07097..c588cabf7034 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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() {