From 4603a533d9c34ee27a6721f70692b7d717b87772 Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Sat, 14 Jan 2012 19:58:48 +0000 Subject: - Unbreak build on clang/gcc46 PR: 163440 Submitted by: Jan Beich Approved by: maintainer --- sysutils/uhidd/files/patch-uhidd-uhidd.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 sysutils/uhidd/files/patch-uhidd-uhidd.c (limited to 'sysutils/uhidd/files/patch-uhidd-uhidd.c') diff --git a/sysutils/uhidd/files/patch-uhidd-uhidd.c b/sysutils/uhidd/files/patch-uhidd-uhidd.c new file mode 100644 index 000000000000..e62091b8ba9f --- /dev/null +++ b/sysutils/uhidd/files/patch-uhidd-uhidd.c @@ -0,0 +1,19 @@ +--- uhidd/uhidd.c~ ++++ uhidd/uhidd.c +@@ -313,7 +313,6 @@ + static int + open_device(const char *dev, struct libusb20_device *pdev) + { +- struct LIBUSB20_DEVICE_DESC_DECODED *ddesc; + struct libusb20_config *config; + struct libusb20_interface *iface; + int cndx, e, i; +@@ -334,8 +333,6 @@ open_device(const char *dev, struct libu + return (-1); + } + +- ddesc = libusb20_dev_get_device_desc(pdev); +- + /* + * Iterate each interface. + */ -- cgit v1.2.3