Package: git Version: 1:1.7.10-1 Severity: wishlist Tags: patch Hi, Currently we have:
git grep -P 'foo(?!bar)' $ git grep -P 'foo(?!bar)' fatal: cannot use Perl-compatible regexes when not compiled with USE_LIBPCRE Attached patch enables the build against libpre3 to allow for perl regex syntax. Cheers, -- Guido -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (990, 'testing'), (50, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 3.2.0-2-686-pae (SMP w/2 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages git depends on: ii git-man 1:1.7.10-1 ii libc6 2.13-27 ii libcurl3-gnutls 7.25.0-1 ii liberror-perl 0.17-1 ii libexpat1 2.1.0~beta3-2 ii perl-modules 5.14.2-9 ii zlib1g 1:1.2.6.dfsg-2 Versions of packages git recommends: ii less 444-2 ii openssh-client [ssh-client] 1:5.9p1-4 ii patch 2.6.1-3 ii rsync 3.0.9-1 Versions of packages git suggests: pn gettext-base 0.18.1.1-5 pn git-arch <none> pn git-cvs 1:1.7.10-1 pn git-daemon-run | git-daemon-sysvinit <none> pn git-doc <none> pn git-el 1:1.7.10-1 pn git-email <none> pn git-gui 1:1.7.10-1 pn git-svn 1:1.7.10-1 pn gitk 1:1.7.10-1 pn gitweb <none> -- no debconf information
>From c3572c5cb35c0a8eefb1975e71e7e6c2a0689275 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guido=20G=C3=BCnther?= <a...@sigxcpu.org> Date: Thu, 19 Apr 2012 11:14:19 +0200 Subject: [PATCH] Enable perl regex support Depend on libpcre3-dev for that. --- debian/control | 3 ++- debian/rules | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/control b/debian/control index e1f1a44..07c4fd0 100644 --- a/debian/control +++ b/debian/control @@ -10,7 +10,8 @@ Build-Depends: libz-dev, cvs, cvsps, libdbd-sqlite3-perl, unzip, libio-pty-perl, dpkg-dev (>= 1.15.7~), - libc6.1 (>= 2.10.2-6) [ia64] + libc6.1 (>= 2.10.2-6) [ia64], + libpcre3-dev Build-Depends-Indep: asciidoc (>> 8.0.0), xmlto, docbook-xsl (>> 1.72) Standards-Version: 3.9.3.1 Homepage: http://git-scm.com/ diff --git a/debian/rules b/debian/rules index 4894bf8..b777658 100755 --- a/debian/rules +++ b/debian/rules @@ -14,6 +14,7 @@ OPTS =NO_OPENSSL=1 prefix=/usr gitexecdir=/usr/lib/git-core \ INSTALLDIRS=vendor \ NO_PYTHON=1 \ USE_SRV_RR=1 \ + USE_LIBPCRE=YesPlease \ THREADED_DELTA_SEARCH=1 \ NO_CROSS_DIRECTORY_HARDLINKS=1 NO_HARDLINKS=1 \ DEFAULT_PAGER=pager DEFAULT_EDITOR=editor \ -- 1.7.10