mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
sci-libs/linux-gpib: Fix build (#537508)
Package-Manager: portage-2.2.24
This commit is contained in:
12
sci-libs/linux-gpib/files/linux-gpib-3.2.21-build2.patch
Normal file
12
sci-libs/linux-gpib/files/linux-gpib-3.2.21-build2.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
diff -Naur linux-gpib-3.2.21.orig/drivers/gpib/sys/osfuncs.c linux-gpib-3.2.21/drivers/gpib/sys/osfuncs.c
|
||||
--- linux-gpib-3.2.21/drivers/gpib/sys/osfuncs.c 2015-02-15 00:41:42.320008509 +0000
|
||||
+++ linux-gpib-3.2.21/drivers/gpib/sys/osfuncs.c 2015-02-15 00:41:56.320008602 +0000
|
||||
@@ -178,7 +178,7 @@
|
||||
|
||||
long ibioctl(struct file *filep, unsigned int cmd, unsigned long arg)
|
||||
{
|
||||
- unsigned int minor = iminor(filep->f_dentry->d_inode);
|
||||
+ unsigned int minor = iminor(file_inode(filep));
|
||||
gpib_board_t *board;
|
||||
gpib_file_private_t *file_priv = filep->private_data;
|
||||
long retval = -ENOTTY;
|
||||
@@ -42,6 +42,7 @@ PATCHES=(
|
||||
"${FILESDIR}"/${PN}-3.2.16-perl.patch
|
||||
"${FILESDIR}"/${PN}-3.2.16-reallydie.patch
|
||||
"${WORKDIR}"/${PN}-3.2.21-ctrl-c.patch
|
||||
"${FILESDIR}"/${PN}-3.2.21-build2.patch
|
||||
)
|
||||
|
||||
pkg_setup () {
|
||||
|
||||
Reference in New Issue
Block a user