[packages/weechat] Restore weechat-curses.patch
aredridel
aredridel at pld-linux.org
Thu Jan 2 07:03:53 CET 2014
commit 996e14d11e362d4d393877a60ebf63a66e5c091b
Author: Aria Stewart <aredridel at nbtsc.org>
Date: Wed Jan 1 20:55:11 2014 -0700
Restore weechat-curses.patch
weechat-curses.patch | 11 +++++++++++
weechat.spec | 2 ++
2 files changed, 13 insertions(+)
---
diff --git a/weechat.spec b/weechat.spec
index 241a4f6..e52c5cc 100644
--- a/weechat.spec
+++ b/weechat.spec
@@ -24,6 +24,7 @@ Group: Applications/Communications
Source0: http://www.weechat.org/files/src/%{name}-%{version}.tar.gz
# Source0-md5: fd584c258aace2aa898f40e1fcf06084
Patch1: %{name}-plugins_header.patch
+Patch2: %{name}-curses.patch
Patch5: weechat-0.4.0-ruby-version.patch
URL: http://www.weechat.org/
%{?with_aspell:BuildRequires: aspell-devel}
@@ -79,6 +80,7 @@ HTML documentation for weechat.
%prep
%setup -q
%patch1 -p1
+%patch2 -p0
%patch5 -p1
%{__sed} -i -e 's#PYTHON_LIB=.*#PYTHON_LIB=%{_libdir}#g' configure.ac
diff --git a/weechat-curses.patch b/weechat-curses.patch
new file mode 100644
index 0000000..03de59b
--- /dev/null
+++ b/weechat-curses.patch
@@ -0,0 +1,11 @@
+--- configure.in.orig 2011-10-22 09:15:47.000000000 +0200
++++ configure.in 2011-10-23 19:22:22.834371143 +0200
+@@ -872,7 +872,7 @@
+ enable_eatnewlineglitch="no"
+ AC_CACHE_CHECK([for eat_newline_glitch support], ac_have_eatnewlineglitch, [
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
+-[[ #include <term.h> ]],
++[[ #include <ncursesw/term.h> ]],
+ [[ eat_newline_glitch = 0; ]])],
+ [ ac_have_eatnewlineglitch="yes" ],
+ [ ac_have_eatnewlineglitch="no" ])])
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/weechat.git/commitdiff/43ac8d5b5b7211f30693a690d9d7c5e4bb7788ae
More information about the pld-cvs-commit
mailing list