/[smeserver]/rpms/nut/sme7/nut-2.2.0-glibcopen.patch
ViewVC logotype

Annotation of /rpms/nut/sme7/nut-2.2.0-glibcopen.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (hide annotations) (download)
Sun Oct 14 18:46:07 2007 UTC (17 years, 1 month ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
Remove unneeded packages

1 slords 1.1 --- nut-2.2.0/drivers/megatec_usb.c.open 2007-08-16 09:32:03.000000000 +0200
2     +++ nut-2.2.0/drivers/megatec_usb.c 2007-08-16 09:32:24.000000000 +0200
3     @@ -209,7 +209,7 @@
4     /* link the matchers */
5     regex_matcher->next = &subdriver_matcher;
6    
7     - ret = usb->open(&udev, &hiddevice, regex_matcher, NULL, MODE_NOHID);
8     + ret = (usb->open)(&udev, &hiddevice, regex_matcher, NULL, MODE_NOHID);
9     if (ret < 0)
10     usb_open_error(port);
11    
12     --- nut-2.2.0/drivers/libhid.c.open 2007-08-16 09:28:05.000000000 +0200
13     +++ nut-2.2.0/drivers/libhid.c 2007-08-16 09:28:23.000000000 +0200
14     @@ -589,7 +589,7 @@
15     }
16    
17     /* get and parse descriptors (dev, cfg and report) */
18     - ReportSize = comm_driver->open(udevp, hd, matcher, ReportDesc, mode);
19     + ReportSize = (comm_driver->open)(udevp, hd, matcher, ReportDesc, mode);
20    
21     if (ReportSize == -1)
22     return NULL;

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed