Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] atop: update to 2.10.0.
@ 2024-04-18  3:59 iFoundSilentHouse
  2024-04-18  4:07 ` [PR PATCH] [Updated] " iFoundSilentHouse
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: iFoundSilentHouse @ 2024-04-18  3:59 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 533 bytes --]

There is a new pull request by iFoundSilentHouse against master on the void-packages repository

https://github.com/iFoundSilentHouse/void-packages atop-2.10.0
https://github.com/void-linux/void-packages/pull/49888

atop: update to 2.10.0.
- I tested the changes in this PR: **YES**
- I built this PR locally for my native architecture, (x86-64-glibc)
- I built this PR locally for these architectures:
  - x86-64-musl
  - aarch64-musl


A patch file from https://github.com/void-linux/void-packages/pull/49888.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-atop-2.10.0-49888.patch --]
[-- Type: text/x-diff, Size: 1483 bytes --]

From b21dbd1a01df37aefaacf185c0e84af4e098ffa3 Mon Sep 17 00:00:00 2001
From: iFoundSilentHouse <adeptslab@gmail.com>
Date: Thu, 18 Apr 2024 09:55:01 +0600
Subject: [PATCH] atop: update to 2.10.0.

---
 srcpkgs/atop/template | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/atop/template b/srcpkgs/atop/template
index 5671633eace68e..0849bb74932e1a 100644
--- a/srcpkgs/atop/template
+++ b/srcpkgs/atop/template
@@ -1,19 +1,27 @@
 # Template file for 'atop'
 pkgname=atop
-version=2.9.0
+version=2.10.0
 revision=1
 build_style=gnu-makefile
 make_install_target="sysvinstall"
-makedepends="ncurses-devel zlib-devel"
+hostmakedepends="pkg-config"
+makedepends="ncurses-devel zlib-devel libglib-devel"
 short_desc="System and process level monitor"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-2.0-or-later"
 homepage="https://www.atoptool.nl/"
 distfiles="https://www.atoptool.nl/download/atop-${version}.tar.gz"
-checksum=bc355ebd7af3f9c6f01be2ff50e581622d24f5ea0d8d5f3366e2fd1311ab98f8
+checksum=e7a673cf2c82578e7dd82ecb0dec83fd9ecb30828b2561c28a9fa5aaf75d5f93
 
 make_dirs="/var/log/atop 755 root root"
 
+pre_build() {
+	# Borrow flags from Makefile 
+	CFLAGS+=" -I. -Wall $(pkg-config --cflags glib-2.0) \
+	 -Wno-stringop-truncation -Wmissing-prototypes -Wmissing-declarations -Wformat-security"
+	LDFLAGS="$(pkg-config --libs glib-2.0)"
+}
+
 pre_install() {
 	vsed -e 's,sbin,bin,g' \
 		-e '/$(DEFPATH)/d' -i Makefile

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2024-04-19 16:58 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-18  3:59 [PR PATCH] atop: update to 2.10.0 iFoundSilentHouse
2024-04-18  4:07 ` [PR PATCH] [Updated] " iFoundSilentHouse
2024-04-18  4:22 ` iFoundSilentHouse
2024-04-18  4:43 ` oreo639
2024-04-18  4:44 ` oreo639
2024-04-18  4:44 ` oreo639
2024-04-19 10:25 ` [PR REVIEW] " oreo639
2024-04-19 12:26 ` [PR PATCH] [Updated] " iFoundSilentHouse
2024-04-19 12:26 ` iFoundSilentHouse
2024-04-19 16:58 ` [PR PATCH] [Merged]: " cinerea0

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).