Hello community,

here is the log from the commit of package pinfo for openSUSE:Factory checked 
in at 2016-01-23 01:16:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pinfo (Old)
 and      /work/SRC/openSUSE:Factory/.pinfo.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pinfo"

Changes:
--------
--- /work/SRC/openSUSE:Factory/pinfo/pinfo.changes      2015-08-03 
17:22:16.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.pinfo.new/pinfo.changes 2016-01-23 
01:16:21.000000000 +0100
@@ -1,0 +2,6 @@
+Mon Jan 18 12:41:10 UTC 2016 - dims...@opensuse.org
+
+- Add pinfo-curses-detection.patch: Fix detection of ncurses by
+  correctly using autoconf.
+
+-------------------------------------------------------------------

New:
----
  pinfo-curses-detection.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ pinfo.spec ++++++
--- /var/tmp/diff_new_pack.bqGQz6/_old  2016-01-23 01:16:22.000000000 +0100
+++ /var/tmp/diff_new_pack.bqGQz6/_new  2016-01-23 01:16:22.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package pinfo
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -26,6 +26,7 @@
 Source:         
https://alioth.debian.org/frs/download.php/file/3351/%{name}-%{version}.tar.bz2
 Patch1:         pinfo-0.6.9-nul-strings.patch
 Patch2:         pinfo-0.6.10-tinfo.patch
+Patch3:         pinfo-curses-detection.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  libtool
@@ -42,6 +43,7 @@
 %setup -q
 %patch1
 %patch2
+%patch3 -p1
 
 %build
 # This package failed when testing with -Wl,-as-needed being default.

++++++ pinfo-curses-detection.patch ++++++
Index: pinfo-0.6.10/macros/curses.m4
===================================================================
--- pinfo-0.6.10.orig/macros/curses.m4
+++ pinfo-0.6.10/macros/curses.m4
@@ -265,11 +265,11 @@ dnl check if the curses header we found,
 dnl
 AC_DEFUN([AC_CHECK_CURSES_COMPILE], [
 
-       dnl save CFLAGS and LDFLAGS and set new ones
+       dnl save CFLAGS and LIBS and set new ones
        CFLAGS_OLD=$CFLAGS
        CFLAGS="$CFLAGS $curses_includes"
-       LDFLAGS_OLD=$LDFLAGS
-       LDFLAGS="$LDFLAGS $curses_libs"
+       LIBS_OLD=$LIBS
+       LIBS="$LIBS $curses_libs"
 
        dnl do the compile test 
        AC_MSG_CHECKING([if curses is usable])
@@ -299,7 +299,7 @@ AC_DEFUN([AC_CHECK_CURSES_COMPILE], [
 
        dnl restore variables
        CFLAGS=$CFLAGS_OLD
-       LDFLAGS=$LDFLAGS_OLD
+       LIBS=$LIBS_OLD
 
 ])
 

Reply via email to