commit:     9447f32d8725376b2d3f3865717e7302bc50d3cd
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 11 21:01:27 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Aug 11 21:14:21 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9447f32d

sys-process/atop: tweak PKG_CONFIG patch

This matches the upstream version more closely.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-process/atop/files/atop-2.10.0-respect-PKG_CONFIG.patch | 4 ++--
 sys-process/atop/files/atop-2.10.0-respect-opt.patch        | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/sys-process/atop/files/atop-2.10.0-respect-PKG_CONFIG.patch 
b/sys-process/atop/files/atop-2.10.0-respect-PKG_CONFIG.patch
index 483506043490..edfa88c7a889 100644
--- a/sys-process/atop/files/atop-2.10.0-respect-PKG_CONFIG.patch
+++ b/sys-process/atop/files/atop-2.10.0-respect-PKG_CONFIG.patch
@@ -7,8 +7,8 @@
 -CFLAGS  += -O2 -I. -Wall $(shell pkg-config --cflags glib-2.0)  
-Wno-stringop-truncation -Wmissing-prototypes -Wmissing-declarations 
-Wformat-security # -DNOPERFEVENT   # -DHTTPSTATS
 -LDFLAGS += $(shell pkg-config --libs glib-2.0)
 +PKG_CONFIG ?= pkg-config
-+CFLAGS  += -O2 -I. -Wall $(shell ${PKG_CONFIG} --cflags glib-2.0)  
-Wno-stringop-truncation -Wmissing-prototypes -Wmissing-declarations 
-Wformat-security # -DNOPERFEVENT   # -DHTTPSTATS
-+LDFLAGS += $(shell ${PKG_CONFIG} --libs glib-2.0)
++CFLAGS  += -O2 -I. -Wall $(shell $(PKG_CONFIG) --cflags glib-2.0)  
-Wno-stringop-truncation -Wmissing-prototypes -Wmissing-declarations 
-Wformat-security # -DNOPERFEVENT   # -DHTTPSTATS
++LDFLAGS += $(shell $(PKG_CONFIG) --libs glib-2.0)
  OBJMOD0  = version.o
  OBJMOD1  = various.o  deviate.o   procdbase.o
  OBJMOD2  = acctproc.o photoproc.o photosyst.o  rawlog.o ifprop.o parseable.o

diff --git a/sys-process/atop/files/atop-2.10.0-respect-opt.patch 
b/sys-process/atop/files/atop-2.10.0-respect-opt.patch
index 5a55e6f2f835..2acb4ec53f51 100644
--- a/sys-process/atop/files/atop-2.10.0-respect-opt.patch
+++ b/sys-process/atop/files/atop-2.10.0-respect-opt.patch
@@ -5,8 +5,8 @@ Don't force -O2.
  PMPATHD  = /usr/lib/systemd/system-sleep
  
  PKG_CONFIG ?= pkg-config
--CFLAGS  += -O2 -I. -Wall $(shell ${PKG_CONFIG} --cflags glib-2.0)  
-Wno-stringop-truncation -Wmissing-prototypes -Wmissing-declarations 
-Wformat-security # -DNOPERFEVENT   # -DHTTPSTATS
-+CFLAGS  += -I. -Wall $(shell ${PKG_CONFIG} --cflags glib-2.0)  
-Wno-stringop-truncation -Wmissing-prototypes -Wmissing-declarations 
-Wformat-security # -DNOPERFEVENT   # -DHTTPSTATS
+-CFLAGS  += -O2 -I. -Wall $(shell $(PKG_CONFIG) --cflags glib-2.0)  
-Wno-stringop-truncation -Wmissing-prototypes -Wmissing-declarations 
-Wformat-security # -DNOPERFEVENT   # -DHTTPSTATS
++CFLAGS  += -I. -Wall $(shell $(PKG_CONFIG) --cflags glib-2.0)  
-Wno-stringop-truncation -Wmissing-prototypes -Wmissing-declarations 
-Wformat-security # -DNOPERFEVENT   # -DHTTPSTATS
  LDFLAGS += $(shell ${PKG_CONFIG} --libs glib-2.0)
  OBJMOD0  = version.o
  OBJMOD1  = various.o  deviate.o   procdbase.o

Reply via email to