summaryrefslogtreecommitdiff
path: root/debian/patches/revert-versioning.patch
blob: be90cc7ffff073fd96c41c3449f95dbdf536e7dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
Subject: Revert versioning changes
From: Michal Čihař <michal@cihar.com>

Upstream commit
https://github.com/hughsie/libgusb/commit/cfaab3e523c11800b6d77c1d10ce0c71799a4482
has changed versions for symbols which were already made public in previous
release. This patch reverts it so that the ABI doesn't change between 0.2.9 and 0.2.10.

This patch should be temporary until resolved upstream:
https://github.com/hughsie/libgusb/issues/9
--- a/gusb/libgusb.ver
+++ b/gusb/libgusb.ver
@@ -37,28 +37,4 @@
 LIBGUSB_0.2.5 {
   global:
     g_usb_device_get_custom_index;
-    g_usb_context_get_main_context;
-    g_usb_context_set_main_context;
 } LIBGUSB_0.2.4;
-
-LIBGUSB_0.2.8 {
-  global:
-    g_usb_device_get_interface;
-    g_usb_device_get_interfaces;
-    g_usb_device_get_release;
-    g_usb_device_set_interface_alt;
-    g_usb_interface_get_alternate;
-    g_usb_interface_get_class;
-    g_usb_interface_get_extra;
-    g_usb_interface_get_index;
-    g_usb_interface_get_kind;
-    g_usb_interface_get_length;
-    g_usb_interface_get_number;
-    g_usb_interface_get_protocol;
-    g_usb_interface_get_subclass;
-} LIBGUSB_0.2.5;
-
-LIBGUSB_0.2.9 {
-  global:
-    g_usb_context_wait_for_replug;
-} LIBGUSB_0.2.8;