mirror of
https://codeberg.org/kiss-community/repo
synced 2024-12-21 23:00:06 -07:00
libpciaccess: 0.18
This commit is contained in:
parent
c8740448da
commit
7667f90f05
@ -1,7 +1,5 @@
|
||||
#!/bin/sh -e
|
||||
|
||||
patch -p1 < lfs64.patch
|
||||
|
||||
export DESTDIR="$1"
|
||||
|
||||
meson setup \
|
||||
|
@ -1,2 +1 @@
|
||||
812c8d6a7d65ca8f963d86acb49efe9bee19cfd6546a3324a6eb1184416136a87a
|
||||
68d545ace6b4ecb7e0d6929c54d9e0d395882f9ddf25914bd6f3c544a54858e9b3
|
||||
992630496a0933969c45d17e1f32d80db70cd36415259e015dc1aefc34eb5dc1a4
|
||||
|
@ -1,22 +0,0 @@
|
||||
diff --git a/src/linux_sysfs.c b/src/linux_sysfs.c
|
||||
index d62f48c..20c800e 100644
|
||||
--- a/src/linux_sysfs.c
|
||||
+++ b/src/linux_sysfs.c
|
||||
@@ -462,7 +462,7 @@ pci_device_linux_sysfs_read( struct pci_device * dev, void * data,
|
||||
|
||||
|
||||
while ( temp_size > 0 ) {
|
||||
- const ssize_t bytes = pread64( fd, data_bytes, temp_size, offset );
|
||||
+ const ssize_t bytes = pread( fd, data_bytes, temp_size, offset );
|
||||
|
||||
/* If zero bytes were read, then we assume it's the end of the
|
||||
* config file.
|
||||
@@ -522,7 +522,7 @@ pci_device_linux_sysfs_write( struct pci_device * dev, const void * data,
|
||||
|
||||
|
||||
while ( temp_size > 0 ) {
|
||||
- const ssize_t bytes = pwrite64( fd, data_bytes, temp_size, offset );
|
||||
+ const ssize_t bytes = pwrite( fd, data_bytes, temp_size, offset );
|
||||
|
||||
/* If zero bytes were written, then we assume it's the end of the
|
||||
* config file.
|
@ -1,2 +1 @@
|
||||
https://x.org/releases/individual/lib/libpciaccess-0.17.tar.xz
|
||||
patches/lfs64.patch
|
||||
https://x.org/releases/individual/lib/libpciaccess-0.18.tar.xz
|
||||
|
@ -1 +1 @@
|
||||
0.17 1
|
||||
0.18 1
|
||||
|
Loading…
Reference in New Issue
Block a user