#1 Upstream patch to avoid ERROR_QUEUE_UNDERFLOW upon login (#1919561)
Closed 3 years ago by besser82. Opened 3 years ago by robert.
Unknown source fb_orca_agent  into  master

@@ -0,0 +1,30 @@

+ From 3f4e9500bed9c1a7f9bb6c5381823a4facde6602 Mon Sep 17 00:00:00 2001

+ From: Frantisek Sumsal <frantisek@sumsal.cz>

+ Date: Wed, 20 Jan 2021 16:54:24 +0100

+ Subject: [PATCH] Bump the FB_ORCA_AGENT version (#504)

+ 

+ Based on bitlbee/bitlbee-facebook#208

+ 

+ Fixes: #498

+ ---

+  patches/20-bump-FB_ORCA_AGENT-version.patch | 11 +++++++++++

+  1 file changed, 11 insertions(+)

+  create mode 100644 patches/20-bump-FB_ORCA_AGENT-version.patch

+ 

+ diff --git a/patches/20-bump-FB_ORCA_AGENT-version.patch b/patches/20-bump-FB_ORCA_AGENT-version.patch

+ new file mode 100644

+ index 00000000..f237bc31

+ --- /dev/null

+ +++ b/patches/20-bump-FB_ORCA_AGENT-version.patch

+ @@ -0,0 +1,11 @@

+ +--- a/libpurple/protocols/facebook/api.h

+ ++++ b/libpurple/protocols/facebook/api.h

+ +@@ -97,7 +97,7 @@

+ +  * server started checking this.

+ +  */

+ + 

+ +-#define FB_ORCA_AGENT "[FBAN/Orca-Android;FBAV/192.0.0.31.101;FBPN/com.facebook.orca;FBLC/en_US;FBBV/52182662]"

+ ++#define FB_ORCA_AGENT "[FBAN/Orca-Android;FBAV/537.0.0.31.101;FBPN/com.facebook.orca;FBLC/en_US;FBBV/52182662]"

+ + 

+ + /**

+ +  * FB_API_AGENT:

file modified
+7 -2
@@ -9,7 +9,7 @@

  

  Name:           purple-facebook

  Version:        0.9.6

- Release:        6%{?dist}

+ Release:        7%{?dist}

  Summary:        Facebook protocol plugin for purple2

  

  License:        GPLv2+
@@ -21,12 +21,14 @@

  Patch0000:      %{name}-0.9.6-fb-work-chat.patch

  # https://github.com/dequis/purple-facebook/commit/b689527f7a48

  Patch0001:      %{name}-0.9.6-include_case_6_for_optional_thrift_fields.patch

+ # https://github.com/dequis/purple-facebook/commit/3f4e9500bed9

+ Patch0002:      %{name}-0.9.6-fb_orca_agent.patch

  

  # Backported from upstream pull-requests.

  # https://github.com/dequis/purple-facebook/pull/414

  Patch1000:      %{name}-0.9.6-option-show-inactive-as-away.patch

  

- BuildRequires: make

+ BuildRequires:  make

  BuildRequires:  gcc

  BuildRequires:  glib2-devel      >= 2.28

  BuildRequires:  json-glib-devel  >= 0.14
@@ -69,6 +71,9 @@

  

  

  %changelog

+ * Sun Jan 24 2021 Robert Scheck <robert@fedoraproject.org> - 0.9.6-7

+ - Added upstream patch to avoid ERROR_QUEUE_UNDERFLOW upon login (#1919561)

+ 

  * Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.6-6

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild