Hello community, here is the log from the commit of package procps for openSUSE:Factory checked in at 2011-11-23 19:37:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/procps (Old) and /work/SRC/openSUSE:Factory/.procps.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "procps", Maintainer is "werner@suse.com" Changes: -------- --- /work/SRC/openSUSE:Factory/procps/procps.changes 2011-11-05 12:01:12.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.procps.new/procps.changes 2011-11-23 19:37:41.000000000 +0100 @@ -1,0 +2,10 @@ +Tue Nov 22 16:57:06 UTC 2011 - werner@suse.de + +- Work around stupid build system + +------------------------------------------------------------------- +Tue Nov 22 13:43:26 UTC 2011 - werner@suse.de + +- Add patch to use libtinfo if available + +------------------------------------------------------------------- Old: ---- procps-3.2.8.tar.bz2 New: ---- procps-3.2.8-tinfo.dif procps-3.2.8.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ procps.spec ++++++ --- /var/tmp/diff_new_pack.QZ8T9y/_old 2011-11-23 19:37:42.000000000 +0100 +++ /var/tmp/diff_new_pack.QZ8T9y/_new 2011-11-23 19:37:42.000000000 +0100 @@ -31,7 +31,7 @@ Summary: ps utilities for /proc Provides: ps Obsoletes: ps -Source: http://procps.sourceforge.net/procps-%version.tar.bz2 +Source: http://procps.sourceforge.net/procps-%version.tar.gz Source1: boot.sysctl Source2: systat.xinetd Source3: sysctl.conf @@ -78,6 +78,7 @@ Patch40: procps-3.2.8-read-sysctls-also-from-boot-sysctl.conf-kernelversion.diff Patch41: procps-3.2.7-petabytes.patch Patch42: procps-3.2.7-large_pcpu.patch +Patch43: procps-3.2.8-tinfo.dif BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -148,6 +149,7 @@ %patch40 -p1 %patch41 -p1 %patch42 -p1 +%patch43 %build make %{?_smp_mflags} CFLAGS="-Wall -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 $RPM_OPT_FLAGS -pipe" \ ++++++ procps-3.2.8-tinfo.dif ++++++ --- Makefile +++ Makefile 2011-11-22 13:36:47.115145920 +0000 @@ -117,6 +117,13 @@ ifneq ($(MAKECMDGOALS),tar) ifneq ($(MAKECMDGOALS),extratar) ifneq ($(MAKECMDGOALS),beta) +# This macro gcc_library checks for a specifig library +gcc_library = $(shell if $(CC) dummy.c -o /dev/null -l$(1:lib%=%) > /dev/null 2>&1 ; then echo "-l$(1:lib%=%)"; else echo "$(2)"; fi) + +ifneq ($(call gcc_library,libtinfo),) +CURSES += -ltinfo +endif + # Unlike the kernel one, this check_gcc goes all the way to # producing an executable. There might be a -m64 that works # until you go looking for a 64-bit curses library. -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org