summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-08-11 22:12:13 +0100
committerSam James <sam@gentoo.org>2024-08-11 22:14:21 +0100
commit64c0eea4331717f129cfb1f4d333b56e9c24de4b (patch)
tree0b588478565ea8c04213df51eb0f5c1f50f4f5d6 /sys-process/atop/files/atop-2.11.0-respect-opt.patch
parentsys-process/atop: tweak PKG_CONFIG patch (diff)
downloadgentoo-64c0eea4331717f129cfb1f4d333b56e9c24de4b.tar.gz
gentoo-64c0eea4331717f129cfb1f4d333b56e9c24de4b.tar.bz2
gentoo-64c0eea4331717f129cfb1f4d333b56e9c24de4b.zip
sys-process/atop: add 2.11.0
Closes: https://bugs.gentoo.org/931632 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-process/atop/files/atop-2.11.0-respect-opt.patch')
-rw-r--r--sys-process/atop/files/atop-2.11.0-respect-opt.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/sys-process/atop/files/atop-2.11.0-respect-opt.patch b/sys-process/atop/files/atop-2.11.0-respect-opt.patch
new file mode 100644
index 000000000000..e768299c011a
--- /dev/null
+++ b/sys-process/atop/files/atop-2.11.0-respect-opt.patch
@@ -0,0 +1,11 @@
+--- a/Makefile
++++ b/Makefile
+@@ -21,7 +21,7 @@ PMPATH2 = /usr/lib64/pm-utils/sleep.d
+ 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
+ LDFLAGS += $(shell $(PKG_CONFIG) --libs glib-2.0)
+ OBJMOD0 = version.o
+ OBJMOD1 = various.o deviate.o procdbase.o