bcachefs-tools: update to 1.6.4.

This commit is contained in:
Leah Neukirchen 2024-02-26 19:49:07 +01:00
parent 58434af53a
commit 35e78f4eab
2 changed files with 2 additions and 13 deletions

View File

@ -48,14 +48,3 @@
#include <linux/types.h> #include <linux/types.h>
#include <linux/export.h> #include <linux/export.h>
#include <linux/sort.h> #include <linux/sort.h>
--- a/src/wrappers/handle.rs
+++ b/src/wrappers/handle.rs
@@ -47,7 +47,7 @@
/// Type-safe [`libc::ioctl`] for bcachefs filesystems
pub fn ioctl(&self, request: BcachefsIoctl, payload: &BcachefsIoctlPayload) -> Result<(), Errno> {
let payload_ptr: *const libc::c_void = payload.into();
- let ret = unsafe { libc::ioctl(self.inner.ioctl_fd, request as u64, payload_ptr) };
+ let ret = unsafe { libc::ioctl(self.inner.ioctl_fd, request as _, payload_ptr) };
if ret == -1 {
Err(errno::errno())

View File

@ -1,7 +1,7 @@
# Template file for 'bcachefs-tools' # Template file for 'bcachefs-tools'
pkgname=bcachefs-tools pkgname=bcachefs-tools
reverts="24_1" reverts="24_1"
version=1.6.3 version=1.6.4
revision=1 revision=1
build_style=gnu-makefile build_style=gnu-makefile
make_install_args="ROOT_SBINDIR=/usr/bin" make_install_args="ROOT_SBINDIR=/usr/bin"
@ -15,7 +15,7 @@ maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2.0-only" license="GPL-2.0-only"
homepage="https://bcachefs.org/" homepage="https://bcachefs.org/"
distfiles="https://github.com/koverstreet/bcachefs-tools/archive/refs/tags/v${version}.tar.gz" distfiles="https://github.com/koverstreet/bcachefs-tools/archive/refs/tags/v${version}.tar.gz"
checksum=59b0f2fdc013cbd7224c3c2cc15b9bf133ced9eecd9e5ea392c6ee600d423b08 checksum=9d33b234b282ec3d3e4be43a4af85766b2cc3b6bc08f7687d36dde96a254728e
export VERSION=v${version} export VERSION=v${version}
export RUST_TARGET export RUST_TARGET