packages: moc/moc.spec, moc/ncurses-tinfo.patch (NEW) - add -ltinfow patch; ...
glen
glen at pld-linux.org
Thu Aug 26 23:09:20 CEST 2010
Author: glen Date: Thu Aug 26 21:09:20 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- add -ltinfow patch; rel 3
---- Files affected:
packages/moc:
moc.spec (1.49 -> 1.50) , ncurses-tinfo.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/moc/moc.spec
diff -u packages/moc/moc.spec:1.49 packages/moc/moc.spec:1.50
--- packages/moc/moc.spec:1.49 Thu Aug 26 23:00:16 2010
+++ packages/moc/moc.spec Thu Aug 26 23:09:15 2010
@@ -8,12 +8,13 @@
Summary(pl.UTF-8): Konsolowy odtwarzacz audio z prostym interfejsem ncurses
Name: moc
Version: 2.4.4
-Release: 2
+Release: 3
License: GPL
Group: Applications/Sound
Source0: ftp://ftp.daper.net/pub/soft/moc/stable/%{name}-%{version}.tar.bz2
# Source0-md5: 647c770a5542a4ae5437386807a89796
Patch0: %{name}-home_etc.patch
+Patch1: ncurses-tinfo.patch
URL: http://moc.daper.net/
BuildRequires: a52dec-libs-devel
BuildRequires: alsa-lib-devel
@@ -206,6 +207,7 @@
%prep
%setup -q
%{?with_home_etc:%patch0 -p1}
+%patch1 -p1
rm -rf libltdl
@@ -287,6 +289,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.50 2010/08/26 21:09:15 glen
+- add -ltinfow patch; rel 3
+
Revision 1.49 2010/08/26 21:00:16 glen
- use system ltdl
================================================================
Index: packages/moc/ncurses-tinfo.patch
diff -u /dev/null packages/moc/ncurses-tinfo.patch:1.1
--- /dev/null Thu Aug 26 23:09:20 2010
+++ packages/moc/ncurses-tinfo.patch Thu Aug 26 23:09:15 2010
@@ -0,0 +1,36 @@
+--- moc-2.4.4/m4/mp_with_curses.m4~ 2006-02-12 13:55:08.000000000 +0200
++++ moc-2.4.4/m4/mp_with_curses.m4 2010-08-27 00:08:09.671905405 +0300
+@@ -38,7 +38,7 @@
+ [Define if you have ncursesw.h]))
+ AC_DEFINE(HAVE_NCURSES_H, 1, [Define if you have ncursesw/curses.h])
+ AC_DEFINE(HAVE_NCURSESW, 1, [Define if you have libncursesw])
+- CURSES_LIB="-lncursesw"
++ CURSES_LIB="-lncursesw -ltinfow"
+ fi
+ fi
+
+@@ -53,13 +53,13 @@
+ if test "$mp_cv_curses" = yes
+ then
+ AC_DEFINE(HAVE_CURSES_H, 1, [Define if you have curses.h])
+- CURSES_LIB="-lcurses"
++ CURSES_LIB="-lcurses -ltinfo"
+ fi
+ fi
+ if test ! "$CURSES_LIB"
+ then
+ AC_CACHE_CHECK([for working ncurses], mp_cv_ncurses,
+- [LIBS="$mp_save_LIBS -lncurses"
++ [LIBS="$mp_save_LIBS -lncurses -ltinfo"
+ AC_TRY_LINK(
+ [#include <ncurses.h>],
+ [chtype a; int b=A_STANDOUT, c=KEY_LEFT; initscr(); ],
+@@ -67,7 +67,7 @@
+ if test "$mp_cv_ncurses" = yes
+ then
+ AC_DEFINE(HAVE_NCURSES_H, 1, [Define if you have ncurses.h])
+- CURSES_LIB="-lncurses"
++ CURSES_LIB="-lncurses -ltinfo"
+ fi
+ fi
+ LIBS="$mp_save_LIBS"
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/moc/moc.spec?r1=1.49&r2=1.50&f=u
More information about the pld-cvs-commit
mailing list