diff options
author | joerg <joerg@pkgsrc.org> | 2005-12-23 15:36:25 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2005-12-23 15:36:25 +0000 |
commit | 3925481e1bacfad99f4d3b36724f81f88a4039bc (patch) | |
tree | 461f04a657f77c54bd931ca01109c1a2bd6c2ec5 /lang | |
parent | 257ca9c347a243879c5c4993133b9fdbb136384c (diff) | |
download | pkgsrc-3925481e1bacfad99f4d3b36724f81f88a4039bc.tar.gz |
Fix GCC 3.4+: floor called in configure should take an argument.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/mawk/distinfo | 4 | ||||
-rw-r--r-- | lang/mawk/patches/patch-ad | 16 |
2 files changed, 12 insertions, 8 deletions
diff --git a/lang/mawk/distinfo b/lang/mawk/distinfo index 22daafffeac..4bda678e6d0 100644 --- a/lang/mawk/distinfo +++ b/lang/mawk/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.8 2005/06/30 05:57:38 minskim Exp $ +$NetBSD: distinfo,v 1.9 2005/12/23 15:36:25 joerg Exp $ SHA1 (mawk-1.3.3.tar.gz) = 314bcdb6543733f47ef4d9d9356b23f53d6a7f89 RMD160 (mawk-1.3.3.tar.gz) = f1c939aa032ec7f5e8157a9440d3520f2ecc8501 @@ -6,5 +6,5 @@ Size (mawk-1.3.3.tar.gz) = 209942 bytes SHA1 (patch-aa) = 49ef8e8f9d5392c47933eadba87aceae1079d89b SHA1 (patch-ab) = b8faa90c98fac027b295336936a8e43c7087d972 SHA1 (patch-ac) = e6671c71b7fdc2c8ccc0866e530c38057a80d48f -SHA1 (patch-ad) = 52318904326713bd4fa2bfc8323ff93d4fe52ef2 +SHA1 (patch-ad) = 1b35b227a1de472d419b034599507933a4b797dc SHA1 (patch-ae) = 74d374a1f5b216543a748fbde4d259c6e9d6e401 diff --git a/lang/mawk/patches/patch-ad b/lang/mawk/patches/patch-ad index 1dc861880a2..40e9bda0e3f 100644 --- a/lang/mawk/patches/patch-ad +++ b/lang/mawk/patches/patch-ad @@ -1,17 +1,21 @@ -$NetBSD: patch-ad,v 1.2 2005/06/30 05:57:38 minskim Exp $ +$NetBSD: patch-ad,v 1.3 2005/12/23 15:36:25 joerg Exp $ --- configure.orig 1996-09-04 23:43:01.000000000 +0000 +++ configure -@@ -529,7 +529,7 @@ cat > conftest.$ac_ext <<EOF +@@ -528,9 +528,10 @@ cat > conftest.$ac_ext <<EOF + #include "confdefs.h" int main() { return 0; } ++double testval; int t() { -log() -+floor() - ; return 0; } +-; return 0; } ++floor(testval); ++return 0; } EOF if eval $ac_link; then -@@ -549,18 +549,18 @@ if eval "test \"`echo '$ac_cv_lib_'m`\" + rm -rf conftest* +@@ -549,18 +550,18 @@ if eval "test \"`echo '$ac_cv_lib_'m`\" else echo "$ac_t""no" 1>&6 # maybe don't need separate math library @@ -34,7 +38,7 @@ $NetBSD: patch-ad,v 1.2 2005/06/30 05:57:38 minskim Exp $ int main() { return 0; } int t() { -@@ -568,32 +568,32 @@ int t() { +@@ -568,32 +569,32 @@ int t() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ |