Hi, attached is patch that updates the silver searcher to the newest version 0.18.1. This is a bug fix release of 0.18 that was sadly broken. New features:
* Brian's patch is in fixing the configure script. * You can now search files by language: $ ag --cpp foo # Will search all C++ files for foo. Tested on i386. Regards, Florian Index: Makefile =================================================================== RCS file: /cvs/ports/textproc/the_silver_searcher/Makefile,v retrieving revision 1.4 diff -u -p -r1.4 Makefile --- Makefile 30 Sep 2013 17:17:36 -0000 1.4 +++ Makefile 6 Nov 2013 19:21:41 -0000 @@ -2,7 +2,7 @@ COMMENT = code searching tool, with a focus on speed (ag) -DISTNAME = the_silver_searcher-0.17 +DISTNAME = the_silver_searcher-0.18.1 REVISION = 0 CATEGORIES = textproc Index: distinfo =================================================================== RCS file: /cvs/ports/textproc/the_silver_searcher/distinfo,v retrieving revision 1.3 diff -u -p -r1.3 distinfo --- distinfo 30 Sep 2013 16:08:27 -0000 1.3 +++ distinfo 6 Nov 2013 19:21:41 -0000 @@ -1,2 +1,2 @@ -SHA256 (the_silver_searcher-0.17.tar.gz) = y7cugGUTnfMvVnHxIcTUuHuDATpNia134zpHmoHWgUM= -SIZE (the_silver_searcher-0.17.tar.gz) = 130524 +SHA256 (the_silver_searcher-0.18.1.tar.gz) = rym1MS6Y2VoqinV2efK3GBRvMrcIK5r5wHXJ9V/jKGA= +SIZE (the_silver_searcher-0.18.1.tar.gz) = 132725 Index: patches/patch-configure =================================================================== RCS file: patches/patch-configure diff -N patches/patch-configure --- patches/patch-configure 30 Sep 2013 17:17:36 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,16 +0,0 @@ -$OpenBSD: patch-configure,v 1.1 2013/09/30 17:17:36 bcallah Exp $ - -# MAINTAINER opened a pull request with upstream for this: -# https://github.com/ggreer/the_silver_searcher/pull/272 - ---- configure.orig Mon Sep 30 12:13:52 2013 -+++ configure Mon Sep 30 12:13:57 2013 -@@ -4655,7 +4655,7 @@ fi - done - - --for ac_header in pthread.h, zlib.h lzma.h -+for ac_header in pthread.h zlib.h lzma.h - do : - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` - ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
