Add patch to use golang-github-cli-browser

This commit is contained in:
Mohammed Bilal 2023-01-12 18:57:57 +00:00
parent b6f6675395
commit 4cce113ad1
No known key found for this signature in database
GPG key ID: B3F5945285219E1F
2 changed files with 20 additions and 0 deletions

View file

@ -29,3 +29,4 @@ tweaks/0060-fix-relative-paths.patch
tweaks/0070-remove-capybara-screenshot-rspec.patch tweaks/0070-remove-capybara-screenshot-rspec.patch
tweaks/0080-search-binaries-in-path.patch tweaks/0080-search-binaries-in-path.patch
tweaks/0090-cross-platform-text.patch tweaks/0090-cross-platform-text.patch
tweaks/0100-use-packaged-cli-browser.patch

View file

@ -0,0 +1,19 @@
Description: Use packaged golang-github-cli-browser
This patch makes use of a fork of github.com/pkg/browser instead of embedding
github.com/pkg/browser
Author: Mohammed Bilal <mdbilal@disroot.org>
Forwarded: not-needed
Last-Update: 2023-01-12
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/workhorse-vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/public/public.go
+++ b/workhorse-vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/public/public.go
@@ -37,7 +37,7 @@
"github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/oauth/ops/authority"
"github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/shared"
"github.com/google/uuid"
- "github.com/pkg/browser"
+ "github.com/cli/browser"
)
// AuthResult contains the results of one token acquisition operation.