format patches

This commit is contained in:
Lu zhiping 2022-06-27 14:42:14 +08:00
parent ffe083f8a7
commit 39bdd356c5
2 changed files with 12 additions and 1 deletions

View File

@ -12,6 +12,8 @@ Forwarded: https://github.com/hughsie/libgusb/pull/31
gusb/libgusb.ver | 1 +
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/contrib/generate-version-script.py b/contrib/generate-version-script.py
index 408199f..c4ee238 100755
--- a/contrib/generate-version-script.py
+++ b/contrib/generate-version-script.py
@@ -50,9 +50,6 @@ class LdVersionScript:
@ -35,6 +37,8 @@ Forwarded: https://github.com/hughsie/libgusb/pull/31
# finally add the get_type symbol
if version_lowest:
self.releases[version_lowest].append(type_name)
diff --git a/gusb/libgusb.ver b/gusb/libgusb.ver
index be25ad6..59c82b1 100644
--- a/gusb/libgusb.ver
+++ b/gusb/libgusb.ver
@@ -40,6 +40,7 @@ LIBGUSB_0.1.0 {

View File

@ -1,5 +1,6 @@
From: =?utf-8?b?TWljaGFsIMSMaWhhxZk=?= <michal@cihar.com>
Date: Mon, 27 Jun 2022 14:42:14 +0800
Subject: Revert versioning changes
From: Michal Čihař <michal@cihar.com>
Upstream commit
https://github.com/hughsie/libgusb/commit/cfaab3e523c11800b6d77c1d10ce0c71799a4482
@ -8,6 +9,12 @@ release. This patch reverts it so that the ABI doesn't change between 0.2.9 and
This patch should be temporary until resolved upstream:
https://github.com/hughsie/libgusb/issues/9
---
gusb/libgusb.ver | 49 +++++++++++++++++++++----------------------------
1 file changed, 21 insertions(+), 28 deletions(-)
diff --git a/gusb/libgusb.ver b/gusb/libgusb.ver
index 4fa2141..be25ad6 100644
--- a/gusb/libgusb.ver
+++ b/gusb/libgusb.ver
@@ -41,6 +41,26 @@ LIBGUSB_0.1.0 {