From fa286cdce9e8915effeccf56d155b8c2c0b8ba5e Mon Sep 17 00:00:00 2001 From: Christoph Reiter Date: Mon, 5 Apr 2021 19:41:30 +0200 Subject: [PATCH] firebird2-git: pin commit --- mingw-w64-firebird2-git/PKGBUILD | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/mingw-w64-firebird2-git/PKGBUILD b/mingw-w64-firebird2-git/PKGBUILD index f50008d71e..a8616f66f7 100644 --- a/mingw-w64-firebird2-git/PKGBUILD +++ b/mingw-w64-firebird2-git/PKGBUILD @@ -4,8 +4,8 @@ _realname=firebird pkgbase=mingw-w64-${_realname}2-git pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}2-git" -pkgver=2.5.9.27149.9f6840e90c -pkgrel=3 +pkgver=2.5.9.27152.74a4ec5c50 +pkgrel=1 pkgdesc="Cross-platform relational database offering many ANSI SQL standard features - version 2.x (mingw-w64)" url="https://www.firebirdsql.org/" license=('custom') @@ -22,8 +22,9 @@ makedepends=(#"${MINGW_PACKAGE_PREFIX}-btyacc" # Maybe add check in firebird pre "${MINGW_PACKAGE_PREFIX}-libatomic_ops" "${MINGW_PACKAGE_PREFIX}-pkg-config" "git") +_commit="74a4ec5c50f6906c01a3a8cfbfc56361469cd9fa" options=('!debug' 'strip') # '!debug' is causing error in running create_db.exe empty.fdb during build. -source=("${_realname}"::"git+https://github.com/FirebirdSQL/firebird.git#branch=B2_5_Release" +source=("${_realname}"::"git+https://github.com/FirebirdSQL/firebird.git#commit=${_commit}" 0001-Remove-hardcoded-march-to-allow-64-bit-builds.patch 0002-Always-use-Win32-threads-for-mingw.patch 0003-Define-AMD64-for-64-bit-mingw.patch @@ -60,7 +61,7 @@ source=("${_realname}"::"git+https://github.com/FirebirdSQL/firebird.git#branch= pkgver() { cd "${_realname}" source ${srcdir}/${_realname}/src/misc/writeBuildNum.sh - printf '%s.%s.%s.%s.%s' ${MajorVer} ${MinorVer} ${RevNo} ${BuildNum} "$(git rev-parse --short HEAD)" + printf '%s.%s.%s.%s.%s' ${MajorVer} ${MinorVer} ${RevNo} ${BuildNum} "$(git rev-parse --short "${_commit}")" } prepare() {