diff options
author | Sam James <sam@gentoo.org> | 2024-08-12 18:51:33 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-08-12 18:52:02 +0100 |
commit | 2217cdf56cb81085933c4c373178c154f58f8c72 (patch) | |
tree | 827efc5bf6bc50a05213c31f8546d90836265471 /sys-process | |
parent | sys-apps/kexec-tools: revert systemd changes for 2.0.28 (diff) | |
download | gentoo-2217cdf56cb81085933c4c373178c154f58f8c72.tar.gz gentoo-2217cdf56cb81085933c4c373178c154f58f8c72.tar.bz2 gentoo-2217cdf56cb81085933c4c373178c154f58f8c72.zip |
sys-process/atop: fix patches for 2.10.0
Closes: https://bugs.gentoo.org/937830
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-process')
-rw-r--r-- | sys-process/atop/files/atop-2.10.0-respect-PKG_CONFIG.patch | 4 | ||||
-rw-r--r-- | 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 edfa88c7a889..483506043490 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 2acb4ec53f51..5a55e6f2f835 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 |