summaryrefslogtreecommitdiff
path: root/lang/mawk
diff options
context:
space:
mode:
authorjoerg <joerg>2005-12-23 15:36:25 +0000
committerjoerg <joerg>2005-12-23 15:36:25 +0000
commit947f100696c64d23ba6658df8d2b1ad9de86b7c3 (patch)
tree461f04a657f77c54bd931ca01109c1a2bd6c2ec5 /lang/mawk
parent9e4fde96be8844eece3124381378f589eeb1cd53 (diff)
downloadpkgsrc-947f100696c64d23ba6658df8d2b1ad9de86b7c3.tar.gz
Fix GCC 3.4+: floor called in configure should take an argument.
Diffstat (limited to 'lang/mawk')
-rw-r--r--lang/mawk/distinfo4
-rw-r--r--lang/mawk/patches/patch-ad16
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. */