Hello community, here is the log from the commit of package tmon for openSUSE:Factory checked in at 2016-03-01 09:45:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/tmon (Old) and /work/SRC/openSUSE:Factory/.tmon.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "tmon" Changes: -------- --- /work/SRC/openSUSE:Factory/tmon/tmon.changes 2016-02-22 08:57:32.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.tmon.new/tmon.changes 2016-03-01 10:20:54.000000000 +0100 @@ -1,0 +2,7 @@ +Fri Feb 19 10:37:13 UTC 2016 - trenn@suse.de + +- Add include path for ncurses to build against SLE12 SP1 and others. + ncurses-devel is missing pkg config on older distros. +Add: tmon_pkg_config_ncurses_missing.patch + +------------------------------------------------------------------- New: ---- tmon_pkg_config_ncurses_missing.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ tmon.spec ++++++ --- /var/tmp/diff_new_pack.JHAxIH/_old 2016-03-01 10:20:55.000000000 +0100 +++ /var/tmp/diff_new_pack.JHAxIH/_new 2016-03-01 10:20:55.000000000 +0100 @@ -26,6 +26,7 @@ Group: System/Base URL: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git Source: %{name}-%{version}.tar.bz2 +Patch1: tmon_pkg_config_ncurses_missing.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: pkg-config BuildRequires: ncurses-devel @@ -36,6 +37,7 @@ %prep %setup +%patch1 -p1 %build CFLAGS="%optflags" make %{?_smp_mflags} @@ -46,7 +48,7 @@ %files %defattr (-,root,root) -/usr/bin/tmon +%{_bindir}/tmon %{_mandir}/man8/tmon* %changelog ++++++ tmon_pkg_config_ncurses_missing.patch ++++++ Index: tmon-1.0/Makefile =================================================================== --- tmon-1.0.orig/Makefile 2016-02-02 00:56:08.000000000 +0100 +++ tmon-1.0/Makefile 2016-02-19 14:09:48.070837904 +0100 @@ -23,7 +23,7 @@ TMON_LIBS += $(shell pkg-config --libs $ echo -lpanel -lncurses) CFLAGS += $(shell pkg-config --cflags $(STATIC) panelw ncursesw 2> /dev/null || \ - pkg-config --cflags $(STATIC) panel ncurses 2> /dev/null) + pkg-config --cflags $(STATIC) panel ncurses 2> /dev/null || echo -I/usr/include/ncurses) OBJS = tmon.o tui.o sysfs.o pid.o OBJS +=