diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-dns/dnstop/files/dnstop-20140915-pkg-config.patch |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-dns/dnstop/files/dnstop-20140915-pkg-config.patch')
-rw-r--r-- | net-dns/dnstop/files/dnstop-20140915-pkg-config.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/net-dns/dnstop/files/dnstop-20140915-pkg-config.patch b/net-dns/dnstop/files/dnstop-20140915-pkg-config.patch new file mode 100644 index 000000000000..5ee18e0a684d --- /dev/null +++ b/net-dns/dnstop/files/dnstop-20140915-pkg-config.patch @@ -0,0 +1,29 @@ +diff -Naur dnstop-20140915-orig/configure.ac dnstop-20140915/configure.ac +--- dnstop-20140915-orig/configure.ac 2016-09-25 19:36:25.222387686 +0100 ++++ dnstop-20140915/configure.ac 2016-09-25 19:32:01.489612302 +0100 +@@ -11,10 +11,7 @@ + AC_PROG_INSTALL + + # Checks for libraries. +-AC_CHECK_LIB([ncurses], [initscr]) +-if test "$ac_cv_lib_ncurses_initscr" != "yes" ; then +-AC_CHECK_LIB([curses], [initscr]) +-fi ++PKG_CHECK_MODULES([ncurses], [ncurses]) + AC_CHECK_LIB([pcap], [pcap_open_live]) + AC_CHECK_LIB([socket], [main]) + AC_CHECK_LIB([nsl], [main]) +diff -Naur dnstop-20140915-orig/Makefile.in dnstop-20140915/Makefile.in +--- dnstop-20140915-orig/Makefile.in 2016-09-25 19:36:25.221387679 +0100 ++++ dnstop-20140915/Makefile.in 2016-09-25 19:37:39.333887436 +0100 +@@ -2,8 +2,8 @@ + + OPTFLAGS=@OPTFLAGS@ + CC=@CC@ +-CFLAGS=@CFLAGS@ ${OPTFLAGS} +-LIBS=@LIBS@ ++CFLAGS=@CFLAGS@ @ncurses_CFLAGS@ ${OPTFLAGS} ++LIBS=@LIBS@ @ncurses_LIBS@ + LDFLAGS=@LDFLAGS@ + + prefix=@prefix@ |