jer         14/11/20 00:25:03

  Modified:             aewan-1.0.01-tinfo.patch
  Log:
  Fix building against sys-libs/ncurses[-tinfo] (bug #529884).
  
  (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 
A792A613)

Revision  Changes    Path
1.2                  media-gfx/aewan/files/aewan-1.0.01-tinfo.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/aewan/files/aewan-1.0.01-tinfo.patch?rev=1.2&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/aewan/files/aewan-1.0.01-tinfo.patch?rev=1.2&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/aewan/files/aewan-1.0.01-tinfo.patch?r1=1.1&r2=1.2

Index: aewan-1.0.01-tinfo.patch
===================================================================
RCS file: 
/var/cvsroot/gentoo-x86/media-gfx/aewan/files/aewan-1.0.01-tinfo.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- aewan-1.0.01-tinfo.patch    3 Nov 2014 09:58:28 -0000       1.1
+++ aewan-1.0.01-tinfo.patch    20 Nov 2014 00:25:03 -0000      1.2
@@ -1,11 +1,15 @@
---- Makefile.in.orig   2014-11-02 23:19:58.714707465 +0300
-+++ Makefile.in        2014-11-02 23:20:20.482706904 +0300
-@@ -37,7 +37,7 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -13,9 +13,10 @@
  
- CC=@CC@
- CFLAGS=@CFLAGS@ -fno-strict-aliasing -Wall
--LIBS=@LIBS@
-+LIBS=@LIBS@ -ltinfo
- LDFLAGS=@LDFLAGS@
- prefix=@prefix@
- exec_prefix=@exec_prefix@
+ # Checks for libraries.
+ AC_CHECK_LIB([ncurses], [initscr], [],
+-             AC_MSG_ERROR([Can't find ncurses library. Install it first.]))
++             AC_MSG_ERROR([Cannot find ncurses library. Install it first.]))
++AC_SEARCH_LIBS([define_key], [tinfo])
+ AC_CHECK_LIB([z], [gzopen], [],
+-             AC_MSG_ERROR([Can't find zlib library. Install it first.]))
++             AC_MSG_ERROR([Cannot find zlib library. Install it first.]))
+ 
+ # Checks for header files.
+ AC_HEADER_STDC




Reply via email to