From 251adb491075236da0d42f6faf9fb0ce0991eb54 Mon Sep 17 00:00:00 2001 From: Mats Lidell Date: Sat, 1 Feb 2014 01:46:16 +0100 Subject: Add patch allowing ncurses to be build with tinfo library Package-Manager: portage-2.2.7 --- app-editors/xemacs/files/xemacs-21.5.34-ncurses-tinfo.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 app-editors/xemacs/files/xemacs-21.5.34-ncurses-tinfo.patch (limited to 'app-editors/xemacs/files') diff --git a/app-editors/xemacs/files/xemacs-21.5.34-ncurses-tinfo.patch b/app-editors/xemacs/files/xemacs-21.5.34-ncurses-tinfo.patch new file mode 100644 index 0000000..a08eda3 --- /dev/null +++ b/app-editors/xemacs/files/xemacs-21.5.34-ncurses-tinfo.patch @@ -0,0 +1,13 @@ +diff -r 6355de501637 configure +--- a/configure Thu Jan 23 15:03:16 2014 +0000 ++++ b/configure Fri Jan 31 23:55:12 2014 +0100 +@@ -19699,7 +19699,8 @@ + extra_objs="$extra_objs terminfo.o" && if test "$verbose" = "yes"; then + echo " xemacs will be linked with \"terminfo.o\"" + fi +- LIBS="-lncurses $LIBS" && if test "$verbose" = "yes"; then echo " Prepending \"-lncurses\" to \$LIBS"; fi ++ ncurses_libs=$(pkg-config ncurses --libs) ++ LIBS="$ncurses_libs $LIBS" && if test "$verbose" = "yes"; then echo " Prepending \"$ncurses_libs\" to \$LIBS"; fi + + if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then + save_c_switch_site="$c_switch_site" -- cgit v1.2.3-65-gdbad