diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 15 |
1 files changed, 11 insertions, 4 deletions
@@ -1,7 +1,7 @@ # Maintainer: Jianqiu Zhang <void001@archlinuxcn.org> pkgname=ipmctl-git -pkgver=v02.00.00.3673.r14.gc9a426c7 +pkgver=v02.00.00.3871.r2.g9c576e93 pkgrel=1 pkgdesc="util for configuring and managing Intel Optane DC persistent memory modules (DCPMM)." arch=('x86_64') @@ -9,8 +9,12 @@ url="https://github.com/intel/ipmctl" license=(GPL3) depends=("ndctl") makedepends=("cmake" "git" "python3" "ndctl") -source=(${pkgname}::git+https://github.com/intel/ipmctl) -md5sums=('SKIP') +source=( + ${pkgname}::git+https://github.com/intel/ipmctl + os_mkdir_for_gcc_11.patch +) +md5sums=('SKIP' + '64811bb8558e36916502141f4eefce9c') pkgver() { @@ -20,7 +24,10 @@ pkgver() prepare() { - echo "prepare()" + echo "Applying the patch to fix gcc_11 compatibility issue." + cp os_mkdir_for_gcc_11.patch "$srcdir/$pkgname" + cd "$srcdir/$pkgname" + git am os_mkdir_for_gcc_11.patch } build() { |