commit 6d615b8

hovercats  ·  2024-04-15 15:00:27 +0000 UTC
parent 555225f
libpciaccess: remove patch. not needed for this release
4 files changed,  +0, -26
+0, -2
1@@ -1,7 +1,5 @@
2 #!/bin/sh -e
3 
4-patch -p1 < lfs64.patch
5-
6 export DESTDIR="$1"
7 
8 meson setup \
+0, -1
1@@ -1,2 +1 @@
2 ea20d4e12331620d1921edb6a5a043410416037869dc63264990861b23d0323b5e
3-68d545ace6b4ecb7e0d6929c54d9e0d395882f9ddf25914bd6f3c544a54858e9b3
+0, -22
 1@@ -1,22 +0,0 @@
 2-diff --git a/src/linux_sysfs.c b/src/linux_sysfs.c
 3-index d62f48c..20c800e 100644
 4---- a/src/linux_sysfs.c
 5-+++ b/src/linux_sysfs.c
 6-@@ -462,7 +462,7 @@ pci_device_linux_sysfs_read( struct pci_device * dev, void * data,
 7- 
 8- 
 9-     while ( temp_size > 0 ) {
10--	const ssize_t bytes = pread64( fd, data_bytes, temp_size, offset );
11-+	const ssize_t bytes = pread( fd, data_bytes, temp_size, offset );
12- 
13- 	/* If zero bytes were read, then we assume it's the end of the
14- 	 * config file.
15-@@ -522,7 +522,7 @@ pci_device_linux_sysfs_write( struct pci_device * dev, const void * data,
16- 
17- 
18-     while ( temp_size > 0 ) {
19--	const ssize_t bytes = pwrite64( fd, data_bytes, temp_size, offset );
20-+	const ssize_t bytes = pwrite( fd, data_bytes, temp_size, offset );
21- 
22- 	/* If zero bytes were written, then we assume it's the end of the
23- 	 * config file.
+0, -1
1@@ -1,2 +1 @@
2 https://x.org/releases/individual/lib/libpciaccess-0.18.1.tar.xz
3-patches/lfs64.patch