From: | "Samuli Suominen (ssuominen)" <ssuominen@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-libs/libusb-compat/files: libusb-0.1-libusbx.patch |
Date: | Sun, 01 Jul 2012 17:57:21 |
Message-Id: | 20120701175712.C16892004C@flycatcher.gentoo.org |
1 | ssuominen 12/07/01 17:57:12 |
2 | |
3 | Added: libusb-0.1-libusbx.patch |
4 | Log: |
5 | Don't redefine usbi_log_level because libusbx is now defining it wrt #423135 by Jeroen Dekien |
6 | |
7 | (Portage version: 2.2.0_alpha113/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 dev-libs/libusb-compat/files/libusb-0.1-libusbx.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libusb-compat/files/libusb-0.1-libusbx.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libusb-compat/files/libusb-0.1-libusbx.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: libusb-0.1-libusbx.patch |
16 | =================================================================== |
17 | http://bugs.gentoo.org/423135 |
18 | |
19 | --- libusb/core.c |
20 | +++ libusb/core.c |
21 | @@ -32,12 +32,6 @@ |
22 | static libusb_context *ctx = NULL; |
23 | static int usb_debug = 0; |
24 | |
25 | -enum usbi_log_level { |
26 | - LOG_LEVEL_DEBUG, |
27 | - LOG_LEVEL_INFO, |
28 | - LOG_LEVEL_WARNING, |
29 | - LOG_LEVEL_ERROR, |
30 | -}; |
31 | |
32 | #ifdef ENABLE_LOGGING |
33 | #define _usbi_log(level, fmt...) usbi_log(level, __FUNCTION__, fmt) |