diff options
author | Jeroen Roovers <jer@gentoo.org> | 2019-11-28 20:42:49 +0100 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2019-11-28 20:44:27 +0100 |
commit | 5382eaa24f527ff13f2f02d6ccdd0fb8314e9929 (patch) | |
tree | d1faaa73960fe5b57a1dbdd05206364fd5771f1c /net-analyzer/squidview/files | |
parent | app-editors/neovim-0.4.3: Version bump (diff) | |
download | gentoo-5382eaa24f527ff13f2f02d6ccdd0fb8314e9929.tar.gz gentoo-5382eaa24f527ff13f2f02d6ccdd0fb8314e9929.tar.bz2 gentoo-5382eaa24f527ff13f2f02d6ccdd0fb8314e9929.zip |
net-analyzer/squidview: Version 0.86
Package-Manager: Portage-2.3.80, Repoman-2.3.19
Fixes: https://bugs.gentoo.org/690000
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'net-analyzer/squidview/files')
-rw-r--r-- | net-analyzer/squidview/files/squidview-0.86-tinfo.patch | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/net-analyzer/squidview/files/squidview-0.86-tinfo.patch b/net-analyzer/squidview/files/squidview-0.86-tinfo.patch new file mode 100644 index 000000000000..7dd536c5f81f --- /dev/null +++ b/net-analyzer/squidview/files/squidview-0.86-tinfo.patch @@ -0,0 +1,43 @@ +--- a/configure.in ++++ b/configure.in +@@ -1,23 +1,9 @@ +-AC_DEFUN([CURSES_TEST], +-[ +-if test "x$sv_curses" = xno; then +- sv_test=$1 +- sv_pass="no" +- AC_MSG_CHECKING([name is $sv_test]) +- LIBS="-l$sv_test" +- AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <curses.h>], [initscr();])], +- [sv_pass="yes"]) +- AC_MSG_RESULT([$sv_pass]) +- test "$sv_pass" = yes && sv_curses=$sv_test +- unset LIBS +-fi +-]) +- + AC_INIT(squidview.cpp) + AM_CONFIG_HEADER(config.h) + AM_INIT_AUTOMAKE(squidview,0.86) + AC_PROG_CXX + AC_PROG_INSTALL ++PKG_PROG_PKG_CONFIG + + AC_CHECK_HEADERS(curses.h, signal.h sys/time.h sys/types.h sys/stat.h \ + unistd.h fcntl.h time.h stdlib.h math.h stdio.h,, \ +@@ -28,14 +14,7 @@ + AC_CHECK_HEADER(vector,,AC_MSG_ERROR(C++ STL vector class missing)) + AC_CHECK_HEADER(algorithm,,AC_MSG_ERROR(C++ STL algorithm class missing)) + +-AC_MSG_NOTICE([Checking curses library name]) +-sv_curses=no +-CURSES_TEST(ncurses) +-CURSES_TEST(curses) +-if test "x$sv_curses" = xno; then +- AC_MSG_ERROR([No suitable curses found]) +-fi +-AC_CHECK_LIB($sv_curses, wgetch,,AC_MSG_ERROR([Curses support is not complete?])) ++PKG_CHECK_MODULES([NCURSES],[ncurses],LIBS="$LIBS $NCURSES_LIBS",AC_MSG_ERROR([No suitable curses found])) + + AC_MSG_CHECKING([large file support]) + sv_large="no" |