pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/mawk Fix GCC 3.4+: floor called in configure shou...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d95246d087e8
branches:  trunk
changeset: 504818:d95246d087e8
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri Dec 23 15:36:25 2005 +0000

description:
Fix GCC 3.4+: floor called in configure should take an argument.

diffstat:

 lang/mawk/distinfo         |   4 ++--
 lang/mawk/patches/patch-ad |  16 ++++++++++------
 2 files changed, 12 insertions(+), 8 deletions(-)

diffs (55 lines):

diff -r 7866679988c2 -r d95246d087e8 lang/mawk/distinfo
--- a/lang/mawk/distinfo        Fri Dec 23 15:30:33 2005 +0000
+++ b/lang/mawk/distinfo        Fri Dec 23 15:36:25 2005 +0000
@@ -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 @@
 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 -r 7866679988c2 -r d95246d087e8 lang/mawk/patches/patch-ad
--- a/lang/mawk/patches/patch-ad        Fri Dec 23 15:30:33 2005 +0000
+++ b/lang/mawk/patches/patch-ad        Fri Dec 23 15:36:25 2005 +0000
@@ -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 @@
  
  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.  */



Home | Main Index | Thread Index | Old Index