]> git.pld-linux.org Git - packages/bird.git/commitdiff
- up to 1.2.5 auto/th/bird-1_2_5-1
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 17 Feb 2011 17:02:23 +0000 (17:02 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    bird-tinfo.patch -> 1.1
    bird.spec -> 1.45

bird-tinfo.patch [new file with mode: 0644]
bird.spec

diff --git a/bird-tinfo.patch b/bird-tinfo.patch
new file mode 100644 (file)
index 0000000..3d33710
--- /dev/null
@@ -0,0 +1,16 @@
+--- bird-1.2.5/configure.in~   2010-08-03 17:44:33.000000000 +0200
++++ bird-1.2.5/configure.in    2011-02-17 17:59:49.058953687 +0100
+@@ -207,9 +207,10 @@
+ if test "$enable_client" = yes ; then
+       CLIENT=client
+       AC_CHECK_LIB(history, add_history, CLIENT_LIBS="-lhistory")
+-      AC_CHECK_LIB(ncurses, tgetent, USE_TERMCAP_LIB=-lncurses,
+-              AC_CHECK_LIB(curses, tgetent, USE_TERMCAP_LIB=-lcurses,
+-                      AC_CHECK_LIB(termcap, tgetent, USE_TERMCAP_LIB=-ltermcap)))
++      AC_CHECK_LIB(tinfow, tgetent, USE_TERMCAP_LIB=-ltinfow,
++              AC_CHECK_LIB(ncurses, tgetent, USE_TERMCAP_LIB=-lncurses,
++                      AC_CHECK_LIB(curses, tgetent, USE_TERMCAP_LIB=-lcurses,
++                              AC_CHECK_LIB(termcap, tgetent, USE_TERMCAP_LIB=-ltermcap))))
+       AC_CHECK_LIB(readline, rl_callback_read_char, CLIENT_LIBS="-lreadline $CLIENT_LIBS $USE_TERMCAP_LIB",
+               AC_MSG_ERROR([[The client requires GNU readline library 2.1 or newer. Either install the library or use --disable-client to compile without the client.]]), $USE_TERMCAP_LIB)
+       AC_CHECK_LIB(readline, rl_crlf, AC_DEFINE(HAVE_RL_CRLF),,$USE_TERMCAP_LIB)
index a688efa2f6cefc6be7b3a5770ab3b23418d20f19..6a255adeb49f2d6659bff4d513e9a1c65befab5c 100644 (file)
--- a/bird.spec
+++ b/bird.spec
@@ -8,18 +8,19 @@
 Summary:       The BIRD Internet Routing Daemon
 Summary(pl.UTF-8):     Demon BIRD Internetowego Routingu Dynamicznego
 Name:          bird
-Version:       1.2.1
+Version:       1.2.5
 Release:       1
 License:       GPL v2+
 Group:         Networking/Daemons
 Source0:       ftp://bird.network.cz/pub/bird/%{name}-%{version}.tar.gz
-# Source0-md5: e158bd0a72e345841e39764975ee1d21
+# Source0-md5: 06f330da3290018335d0761549d90226
 Source1:       %{name}-ipv4.init
 Source2:       %{name}-ipv4.sysconfig
 Source3:       %{name}-ipv6.init
 Source4:       %{name}-ipv6.sysconfig
 Source5:       ftp://bird.network.cz/pub/bird/%{name}-doc-%{version}.tar.gz
-# Source5-md5: a82474c87f5c79f29a6c9088f9dfe30a
+# Source5-md5: 5ff7d5fb0501c9ebf05df0756efe801e
+Patch0:                %{name}-tinfo.patch
 URL:           http://bird.network.cz/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -102,12 +103,13 @@ filtrów o dużych możliwościach.
 
 %prep
 %setup -q -a 5
+%patch0 -p1
 
 %build
 cp -f /usr/share/automake/config.* tools
 %{__autoconf}
 
-export CFLAGS="%{rpmcflags} -I%{_includedir}/ncurses"
+export CFLAGS="%{rpmcflags} -I%{_includedir}/ncursesw"
 
 %if %{with ipv6}
 %configure \
This page took 0.089069 seconds and 4 git commands to generate.