diff options
author | joerg <joerg@pkgsrc.org> | 2013-09-10 14:45:48 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2013-09-10 14:45:48 +0000 |
commit | f4227f726d2d82741a9d4592270c49194c691343 (patch) | |
tree | 1f14872e3e068ee564af6a5811c6d179826bedd9 | |
parent | 76574d9216c2ce196e0df6850756677ef60cde5b (diff) | |
download | pkgsrc-f4227f726d2d82741a9d4592270c49194c691343.tar.gz |
Clang might start with cl, but it is not Visual Studio.
-rw-r--r-- | textproc/ja-grep/distinfo | 4 | ||||
-rw-r--r-- | textproc/ja-grep/patches/patch-configure | 12 | ||||
-rw-r--r-- | textproc/ja-grep/patches/patch-configure.in | 13 |
3 files changed, 28 insertions, 1 deletions
diff --git a/textproc/ja-grep/distinfo b/textproc/ja-grep/distinfo index 8b324fe0db6..efbf7077e97 100644 --- a/textproc/ja-grep/distinfo +++ b/textproc/ja-grep/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.4 2006/03/11 13:10:42 wiz Exp $ +$NetBSD: distinfo,v 1.5 2013/09/10 14:45:48 joerg Exp $ SHA1 (grep-2.4.2.tar.gz) = 83fbd0fcb6ec4b10edf438a28d12608a4f06d588 RMD160 (grep-2.4.2.tar.gz) = 768399d130cb517889ccfea952e6bc6798dd27cc @@ -6,3 +6,5 @@ Size (grep-2.4.2.tar.gz) = 460582 bytes SHA1 (grep-2.4.2-mlb2.patch.gz) = d2df678e73efd995db2a41cba110e1d0c1ff5104 RMD160 (grep-2.4.2-mlb2.patch.gz) = d1d59c8e252d4ef5096843f6ea2fed0277237ecb Size (grep-2.4.2-mlb2.patch.gz) = 39453 bytes +SHA1 (patch-configure) = 66e29bba14891b85d23d93ed193fcf6d6d917727 +SHA1 (patch-configure.in) = c680e384c13206173db69465c474caf0772e1132 diff --git a/textproc/ja-grep/patches/patch-configure b/textproc/ja-grep/patches/patch-configure new file mode 100644 index 00000000000..7bd80d1d6eb --- /dev/null +++ b/textproc/ja-grep/patches/patch-configure @@ -0,0 +1,12 @@ +$NetBSD: patch-configure,v 1.1 2013/09/10 14:45:48 joerg Exp $ + +--- configure.orig 2013-09-10 11:49:57.000000000 +0000 ++++ configure +@@ -2942,6 +2942,7 @@ done + + + case "$ac_cv_prog_CC" in ++ clang*) ;; + cl*) cat >> confdefs.h <<\EOF + #define alloca _alloca + EOF diff --git a/textproc/ja-grep/patches/patch-configure.in b/textproc/ja-grep/patches/patch-configure.in new file mode 100644 index 00000000000..05fccfc7fcf --- /dev/null +++ b/textproc/ja-grep/patches/patch-configure.in @@ -0,0 +1,13 @@ +$NetBSD: patch-configure.in,v 1.1 2013/09/10 14:45:48 joerg Exp $ + +--- configure.in.orig 2013-09-10 11:49:55.000000000 +0000 ++++ configure.in +@@ -42,6 +42,8 @@ AC_REPLACE_FUNCS(memchr stpcpy) + + dnl for VC++ + case "$ac_cv_prog_CC" in ++ clang*) ++ ;; + cl*) AC_DEFINE(alloca, _alloca) ;; + *) ;; + esac |