Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.1:Update
ndiswrapper
ndiswrapper.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ndiswrapper.diff of Package ndiswrapper
Index: utils/Makefile =================================================================== --- utils/Makefile.orig 2010-02-11 03:09:32.000000000 +0100 +++ utils/Makefile 2011-05-27 16:16:21.345205964 +0200 @@ -5,7 +5,7 @@ usrsbindir = $(DESTDIR)/usr/sbin DRIVER_DIR ?= ../driver CC = gcc -CFLAGS = -g -Wall -I$(DRIVER_DIR) +CFLAGS += -I$(DRIVER_DIR) DISTFILES=Makefile ndiswrapper loadndisdriver.c ndiswrapper-buginfo Index: utils/loadndisdriver.c =================================================================== --- utils/loadndisdriver.c.orig 2010-02-11 03:09:32.000000000 +0100 +++ utils/loadndisdriver.c 2011-05-27 16:16:21.345205964 +0200 @@ -505,7 +505,7 @@ static int get_ioctl_device() int main(int argc, char *argv[0]) { - int i, ioctl_device, res; + int i, ioctl_device=-1, res; char *cmd; openlog(PROG_NAME, LOG_PERROR | LOG_CONS, LOG_KERN | LOG_DEBUG); Index: driver/loader.c =================================================================== --- driver/loader.c.orig 2010-02-11 03:09:32.000000000 +0100 +++ driver/loader.c 2011-05-27 16:20:20.886627925 +0200 @@ -750,7 +750,7 @@ struct wrap_device *get_wrap_device(void } /* called with loader_mutex is down */ -static int wrapper_ioctl(struct inode *inode, struct file *file, +static long wrapper_ioctl(struct file *file, unsigned int cmd, unsigned long arg) { struct load_driver *load_driver; @@ -831,7 +831,7 @@ static int wrapper_ioctl_release(struct static struct file_operations wrapper_fops = { .owner = THIS_MODULE, - .ioctl = wrapper_ioctl, + .unlocked_ioctl = wrapper_ioctl, .release = wrapper_ioctl_release, };
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor