~alpine/aports

community/gotop: upgrade to 4.1.2 v1 REJECTED

Marvin Preuss: 1
 community/gotop: upgrade to 4.1.2

 2 files changed, 12 insertions(+), 12 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.alpinelinux.org/~alpine/aports/patches/3592/mbox | git am -3
Learn more about email & git

[PATCH] community/gotop: upgrade to 4.1.2 Export this patch

I had to redo the patch. I dont know if this was the right way to do. Or
if i just had to change the patch. Sorry if i did this wrong!

---
 .../0001-logging-add-support-for-riscv64.patch   | 16 ++++++++--------
 community/gotop/APKBUILD                         |  8 ++++----
 2 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/community/gotop/0001-logging-add-support-for-riscv64.patch b/community/gotop/0001-logging-add-support-for-riscv64.patch
index eb3d2b7d5e..68f1d14d09 100644
--- a/community/gotop/0001-logging-add-support-for-riscv64.patch
+++ b/community/gotop/0001-logging-add-support-for-riscv64.patch
@@ -1,20 +1,20 @@
From 8360ec2b75d713267aed4cc2863a2b430105fb48 Mon Sep 17 00:00:00 2001
From: Carlo Landmeter <clandmeter@alpinelinux.org>
Date: Sun, 20 Jun 2021 21:07:44 +0000
From 71ebda40e160044eb2d15e39ee33569abae3a7f3 Mon Sep 17 00:00:00 2001
From: Marvin Preuss <marvin@xsteadfastx.org>
Date: Thu, 12 Aug 2021 10:42:00 +0200
Subject: [PATCH] logging: add support for riscv64

---
 logging/logging_other.go   |  1 +
 logging/logging_other.go   |  2 +-
 logging/logging_riscv64.go | 12 ++++++++++++
 2 files changed, 13 insertions(+)
 2 files changed, 13 insertions(+), 1 deletion(-)
 create mode 100644 logging/logging_riscv64.go

diff --git a/logging/logging_other.go b/logging/logging_other.go
index e910821..d4234ce 100644
index d7d75d5..f39dde3 100644
--- a/logging/logging_other.go
+++ b/logging/logging_other.go
@@ -1,4 +1,5 @@
 // +build linux,!arm64 openbsd,!arm64 freebsd darwin,!arm64
@@ -1,4 +1,4 @@
-// +build linux,!arm64 openbsd,!arm64 freebsd darwin
+// +build linux,!riscv64 openbsd,!riscv64 freebsd darwin,!riscv64
 
 package logging
diff --git a/community/gotop/APKBUILD b/community/gotop/APKBUILD
index 7fe0132eb6..91cdaf8040 100644
--- a/community/gotop/APKBUILD
+++ b/community/gotop/APKBUILD
@@ -1,8 +1,8 @@
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer:
pkgname=gotop
pkgver=4.1.1
pkgrel=1
pkgver=4.1.2
pkgrel=0
pkgdesc="Terminal based graphical activity monitor"
url="https://github.com/xxxserxxx/gotop"
arch="all"
@@ -25,6 +25,6 @@ package() {
}

sha512sums="
6b1751c4625907201a07ab3b312ddadc9e0b1c86a4d51844e26b75f64cd4b2defb98419f77c0028ef45de223af88eb9c65d7b499da3106ba8096203cd31a7863  gotop-4.1.1.tar.gz
30dc60eec54352a02c833ee6d71505af2095065ed9a9ce9e587b11ec87cb574c52b1a6aa7e09b486a62d108446b7e6ac7e4c1fa81fcf3097a1fd7aea77e5d12d  0001-logging-add-support-for-riscv64.patch
8b280bddd782fa8cd1e454d83b3b3a7abe1e7d07af1c5587f1bfc317dfff1aa3fb2682317e81ab2c63f0e064d379a0f50d9af0244215702b8c4fcb5fb9495693  gotop-4.1.2.tar.gz
84a68830bfa8149de1cfc81c03c4ffe2dc666ca223d735a783c35210a8ddef11a7f86440ea67e2bd121c4c6e060aeca0e81cc41dfca7b93365a652b09e9f6ee5  0001-logging-add-support-for-riscv64.patch
"
-- 
2.32.0
Closed in favour of !24166

-- 
via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/24161#note_173751