summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMats Lidell <matsl@gentoo.org>2014-02-01 01:46:16 +0100
committerMats Lidell <matsl@gentoo.org>2014-02-01 01:46:16 +0100
commit251adb491075236da0d42f6faf9fb0ce0991eb54 (patch)
treeb119fb394b553ecaec531f5fcca5b8b7180e75dd /app-editors/xemacs/files
parentAdd www-client category. (diff)
downloademacs-251adb491075236da0d42f6faf9fb0ce0991eb54.tar.gz
emacs-251adb491075236da0d42f6faf9fb0ce0991eb54.tar.bz2
emacs-251adb491075236da0d42f6faf9fb0ce0991eb54.zip
Add patch allowing ncurses to be build with tinfo library
Package-Manager: portage-2.2.7
Diffstat (limited to 'app-editors/xemacs/files')
-rw-r--r--app-editors/xemacs/files/xemacs-21.5.34-ncurses-tinfo.patch13
1 files changed, 13 insertions, 0 deletions
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"