diff --git a/cifs-utils/riscv64.patch b/cifs-utils/riscv64.patch index 09b4bd435..b7d6570f1 100644 --- a/cifs-utils/riscv64.patch +++ b/cifs-utils/riscv64.patch @@ -1,11 +1,11 @@ --- PKGBUILD +++ PKGBUILD -@@ -23,7 +23,7 @@ build() { - cd "$srcdir/$pkgname-$pkgver" - # systemd support is broken in mount.cifs - # https://bugs.archlinux.org/task/30958 +@@ -17,7 +17,7 @@ prepare() { + cd "${srcdir}/${pkgname}" + # Fix install to honor DESTDIR + sed -e 's|cd \$(ROOTSBINDIR)|cd $(DESTDIR)$(ROOTSBINDIR)|g' -i Makefile.am - autoreconf -i + autoreconf -fiv - # https://www.spinics.net/lists/linux-cifs/msg21550.html - # change back to libcap-ng depend when upstream is fixed - ./configure --prefix=/usr --with-libcap=yes --sbindir=/usr/bin --disable-systemd + } + + build() {