pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

btop-git: patch libprop flags into Makefile.



Module Name:	pkgsrc-wip
Committed By:	Santhosh Raju <fox%NetBSD.org@localhost>
Pushed By:	fox
Date:		Thu Feb 29 20:38:29 2024 +0100
Changeset:	3b4a30570931988f9ab67feb9ab779870b340b7b

Modified Files:
	btop-git/Makefile
	btop-git/distinfo
	btop-git/patches/patch-Makefile
	btop-git/patches/patch-src_netbsd_btop__collect.cpp

Log Message:
btop-git: patch libprop flags into Makefile.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=3b4a30570931988f9ab67feb9ab779870b340b7b

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 btop-git/Makefile                                   | 1 -
 btop-git/distinfo                                   | 4 ++--
 btop-git/patches/patch-Makefile                     | 2 +-
 btop-git/patches/patch-src_netbsd_btop__collect.cpp | 2 +-
 4 files changed, 4 insertions(+), 5 deletions(-)

diffs:
diff --git a/btop-git/Makefile b/btop-git/Makefile
index 32e86f60b2..8da895a9eb 100644
--- a/btop-git/Makefile
+++ b/btop-git/Makefile
@@ -15,7 +15,6 @@ USE_LANGUAGES=	c c++
 USE_TOOLS+=	gmake
 GCC_REQD+=	10
 CXXFLAGS+=	-DNDEBUG
-LDFLAGS.NetBSD+=-lprop
 
 MAKE_ARGS=	STRIP=true VERBOSE=true
 
diff --git a/btop-git/distinfo b/btop-git/distinfo
index d9b01f9c0e..e89cd72885 100644
--- a/btop-git/distinfo
+++ b/btop-git/distinfo
@@ -3,6 +3,6 @@ $NetBSD$
 BLAKE2s (btop-1.2.13.20240218-6c667402907171f3ba7ebb637e553cc6f66f4e66.tar.gz) = e828f1fa3410bd8a3eda1db38a88236be6d76befb3ac63eedc2c343e80cc0f9c
 SHA512 (btop-1.2.13.20240218-6c667402907171f3ba7ebb637e553cc6f66f4e66.tar.gz) = 61d1ccf691c32fc1b314a4031ea127527a31829edbc7c81ff0d6b10bbaa5dd5ed2a34674579ea5b0884f2e18b6316b19160bc91fa72f9f9b52b1108ee396285b
 Size (btop-1.2.13.20240218-6c667402907171f3ba7ebb637e553cc6f66f4e66.tar.gz) = 1145612 bytes
-SHA1 (patch-Makefile) = c881cc9121de99902f560728da201473b2ea9ef9
+SHA1 (patch-Makefile) = 851febd30b48556be117091f806c2939af23ce38
 SHA1 (patch-src_btop.cpp) = 60c805d6a5343d2e46f8f7cb0b03059426871fe9
-SHA1 (patch-src_netbsd_btop__collect.cpp) = b95700f12401cc67f23a484b8ff937ff8e2621d7
+SHA1 (patch-src_netbsd_btop__collect.cpp) = b240d9f617e9fbea07e338639cc5ddab04656298
diff --git a/btop-git/patches/patch-Makefile b/btop-git/patches/patch-Makefile
index 7102a8f0eb..16615075f8 100644
--- a/btop-git/patches/patch-Makefile
+++ b/btop-git/patches/patch-Makefile
@@ -11,7 +11,7 @@ Add support for NetBSD.
 +else ifeq ($(PLATFORM_LC),netbsd)
 +	PLATFORM_DIR := netbsd
 +	THREADS	:= $(shell sysctl -n hw.ncpu || echo 1)
-+	override ADDFLAGS += -lkvm
++	override ADDFLAGS += -lkvm -lprop
 +	export MAKE = gmake
 +	SU_GROUP := wheel
  else
diff --git a/btop-git/patches/patch-src_netbsd_btop__collect.cpp b/btop-git/patches/patch-src_netbsd_btop__collect.cpp
index 3c25aadc58..d4af32de78 100644
--- a/btop-git/patches/patch-src_netbsd_btop__collect.cpp
+++ b/btop-git/patches/patch-src_netbsd_btop__collect.cpp
@@ -2,7 +2,7 @@ $NetBSD$
 
 Add support for NetBSD.
 
---- src/netbsd/btop_collect.cpp.orig	2024-02-28 16:37:10.878578423 +0000
+--- src/netbsd/btop_collect.cpp.orig	2024-02-29 19:35:48.098045920 +0000
 +++ src/netbsd/btop_collect.cpp
 @@ -0,0 +1,1326 @@
 +/* Copyright 2021 Aristocratos (jakob%qvantnet.com@localhost)


Home | Main Index | Thread Index | Old Index