pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/m4 Add patches fixing build on Solaris. From Eri...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1e7dd89064ec
branches:  trunk
changeset: 546195:1e7dd89064ec
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Aug 23 16:07:50 2008 +0000

description:
Add patches fixing build on Solaris. From Eric Blake via Daniel Vergien.

diffstat:

 devel/m4/distinfo         |   12 +++-
 devel/m4/patches/patch-ae |   19 +++++
 devel/m4/patches/patch-af |  166 ++++++++++++++++++++++++++++++++++++++++++++++
 devel/m4/patches/patch-ag |   19 +++++
 devel/m4/patches/patch-ah |   19 +++++
 devel/m4/patches/patch-ai |   15 ++++
 devel/m4/patches/patch-aj |   29 ++++++++
 devel/m4/patches/patch-ak |   32 ++++++++
 devel/m4/patches/patch-al |   47 +++++++++++++
 devel/m4/patches/patch-am |   19 +++++
 devel/m4/patches/patch-an |   19 +++++
 11 files changed, 395 insertions(+), 1 deletions(-)

diffs (truncated from 447 to 300 lines):

diff -r 6890d7d1b8ef -r 1e7dd89064ec devel/m4/distinfo
--- a/devel/m4/distinfo Sat Aug 23 15:56:41 2008 +0000
+++ b/devel/m4/distinfo Sat Aug 23 16:07:50 2008 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.23 2008/04/29 13:54:55 wiz Exp $
+$NetBSD: distinfo,v 1.24 2008/08/23 16:07:50 wiz Exp $
 
 SHA1 (m4-1.4.11.tar.gz) = 4d6b7f6344faee39f55af397c25f3e7ad13b6fcb
 RMD160 (m4-1.4.11.tar.gz) = 3689d9681cf9d2effbf87a3202cea68a75ebcec2
@@ -7,3 +7,13 @@
 SHA1 (patch-ab) = 6f51d8220aeb5232e87788db259df6d8d94c3653
 SHA1 (patch-ac) = 5e1d6388d05b3ee6ea9e5b0a56ce5fbde310d538
 SHA1 (patch-ad) = 20eaea03b78ef94ed39931e7a54dd44ce40a29ff
+SHA1 (patch-ae) = 4cf1187471889796b063eb3ca78c31dc8ec83f01
+SHA1 (patch-af) = 742749e268de7363eb587246d33b4408341eb133
+SHA1 (patch-ag) = 990789fb44865d237c7d369c278e5ed205aa79b8
+SHA1 (patch-ah) = 262d6d9635d66550711133ecba183a77940bf7cb
+SHA1 (patch-ai) = 0d44a1e740e7a7dc11ccbe979ccdfcb080e42d93
+SHA1 (patch-aj) = 3aff8f3677f5b45bb3d3da75705291282bf540e6
+SHA1 (patch-ak) = 0f40c8bb20f22c3fcddae2f5c7f8b6468a1744e4
+SHA1 (patch-al) = 88e0f632d1b2e95e67f32e3dd3fcd3ff0d315880
+SHA1 (patch-am) = ca86ae670f933a89f56e1069253d00db92f8231a
+SHA1 (patch-an) = 9a39ba63810406545a43dfc17bdd6f9873b25bb3
diff -r 6890d7d1b8ef -r 1e7dd89064ec devel/m4/patches/patch-ae
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/m4/patches/patch-ae Sat Aug 23 16:07:50 2008 +0000
@@ -0,0 +1,19 @@
+$NetBSD: patch-ae,v 1.1 2008/08/23 16:07:51 wiz Exp $
+
+--- Makefile.in.orig    2008-04-02 21:45:30.000000000 +0900
++++ Makefile.in 2008-07-05 05:58:39.000000000 +0900
+@@ -386,12 +386,14 @@
+ REPLACE_GETLINE = @REPLACE_GETLINE@
+ REPLACE_GETPAGESIZE = @REPLACE_GETPAGESIZE@
+ REPLACE_GETTIMEOFDAY = @REPLACE_GETTIMEOFDAY@
++REPLACE_HUGE_VAL = @REPLACE_HUGE_VAL@
+ REPLACE_ISFINITE = @REPLACE_ISFINITE@
+ REPLACE_LCHOWN = @REPLACE_LCHOWN@
+ REPLACE_LDEXPL = @REPLACE_LDEXPL@
+ REPLACE_LSEEK = @REPLACE_LSEEK@
+ REPLACE_MEMMEM = @REPLACE_MEMMEM@
+ REPLACE_MKSTEMP = @REPLACE_MKSTEMP@
++REPLACE_NAN = @REPLACE_NAN@
+ REPLACE_PRINTF = @REPLACE_PRINTF@
+ REPLACE_PUTENV = @REPLACE_PUTENV@
+ REPLACE_ROUND = @REPLACE_ROUND@
diff -r 6890d7d1b8ef -r 1e7dd89064ec devel/m4/patches/patch-af
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/m4/patches/patch-af Sat Aug 23 16:07:50 2008 +0000
@@ -0,0 +1,166 @@
+$NetBSD: patch-af,v 1.1 2008/08/23 16:07:51 wiz Exp $
+
+--- configure.orig      2008-04-02 21:45:03.000000000 +0900
++++ configure   2008-07-05 06:46:20.000000000 +0900
+@@ -790,8 +790,10 @@
+ REPLACE_FLOORL
+ REPLACE_FREXP
+ REPLACE_FREXPL
++REPLACE_HUGE_VAL
+ REPLACE_ISFINITE
+ REPLACE_LDEXPL
++REPLACE_NAN
+ REPLACE_ROUND
+ REPLACE_ROUNDF
+ REPLACE_ROUNDL
+@@ -7366,8 +7368,10 @@
+   REPLACE_FLOORL=0;
+   REPLACE_FREXP=0;
+   REPLACE_FREXPL=0;
++  REPLACE_HUGE_VAL=0;
+   REPLACE_ISFINITE=0;
+   REPLACE_LDEXPL=0;
++  REPLACE_NAN=0;
+   REPLACE_ROUND=0;
+   REPLACE_ROUNDF=0;
+   REPLACE_ROUNDL=0;
+@@ -16379,6 +16383,119 @@
+ 
+ 
+ 
++  { echo "$as_me:$LINENO: checking whether NAN macro works" >&5
++echo $ECHO_N "checking whether NAN macro works... $ECHO_C" >&6; }
++if test "${gl_cv_header_math_nan_works+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <math.h>
++int
++main ()
++{
++/* Solaris 10 has a broken definition of NAN.  Other platforms
++        fail to provide NAN, or provide it only in C99 mode; this
++        test only needs to fail when NAN is provided but wrong.  */
++         float f = 1.0f;
++#ifdef NAN
++        f = NAN;
++#endif
++        return f == 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (ac_try="$ac_compile"
++case "(($ac_try" in
++  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
++  *) ac_try_echo=$ac_try;;
++esac
++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
++  (eval "$ac_compile") 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && {
++        test -z "$ac_c_werror_flag" ||
++        test ! -s conftest.err
++       } && test -s conftest.$ac_objext; then
++  gl_cv_header_math_nan_works=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++       gl_cv_header_math_nan_works=no
++fi
++
++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++{ echo "$as_me:$LINENO: result: $gl_cv_header_math_nan_works" >&5
++echo "${ECHO_T}$gl_cv_header_math_nan_works" >&6; }
++  if test $gl_cv_header_math_nan_works = no; then
++    REPLACE_NAN=1
++  fi
++  { echo "$as_me:$LINENO: checking whether HUGE_VAL works" >&5
++echo $ECHO_N "checking whether HUGE_VAL works... $ECHO_C" >&6; }
++if test "${gl_cv_header_math_huge_val_works+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#include <math.h>
++int
++main ()
++{
++/* Solaris 10 has a broken definition of HUGE_VAL.  */
++        double d = HUGE_VAL;
++        return d == 0;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (ac_try="$ac_compile"
++case "(($ac_try" in
++  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
++  *) ac_try_echo=$ac_try;;
++esac
++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
++  (eval "$ac_compile") 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } && {
++        test -z "$ac_c_werror_flag" ||
++        test ! -s conftest.err
++       } && test -s conftest.$ac_objext; then
++  gl_cv_header_math_huge_val_works=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++       gl_cv_header_math_huge_val_works=no
++fi
++
++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++{ echo "$as_me:$LINENO: result: $gl_cv_header_math_huge_val_works" >&5
++echo "${ECHO_T}$gl_cv_header_math_huge_val_works" >&6; }
++  if test $gl_cv_header_math_huge_val_works = no; then
++    REPLACE_HUGE_VAL=1
++  fi
+ 
+ 
+ 
+@@ -27058,8 +27175,10 @@
+ REPLACE_FLOORL!$REPLACE_FLOORL$ac_delim
+ REPLACE_FREXP!$REPLACE_FREXP$ac_delim
+ REPLACE_FREXPL!$REPLACE_FREXPL$ac_delim
++REPLACE_HUGE_VAL!$REPLACE_HUGE_VAL$ac_delim
+ REPLACE_ISFINITE!$REPLACE_ISFINITE$ac_delim
+ REPLACE_LDEXPL!$REPLACE_LDEXPL$ac_delim
++REPLACE_NAN!$REPLACE_NAN$ac_delim
+ REPLACE_ROUND!$REPLACE_ROUND$ac_delim
+ REPLACE_ROUNDF!$REPLACE_ROUNDF$ac_delim
+ REPLACE_ROUNDL!$REPLACE_ROUNDL$ac_delim
+@@ -27081,7 +27200,7 @@
+ GNULIB_FCHDIR!$GNULIB_FCHDIR$ac_delim
+ _ACEOF
+ 
+-  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
++  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 99; then
+     break
+   elif $ac_last_try; then
+     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
diff -r 6890d7d1b8ef -r 1e7dd89064ec devel/m4/patches/patch-ag
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/m4/patches/patch-ag Sat Aug 23 16:07:50 2008 +0000
@@ -0,0 +1,19 @@
+$NetBSD: patch-ag,v 1.1 2008/08/23 16:07:51 wiz Exp $
+
+--- doc/Makefile.in.orig        2008-04-02 21:45:28.000000000 +0900
++++ doc/Makefile.in     2008-07-05 05:57:57.000000000 +0900
+@@ -380,12 +380,14 @@
+ REPLACE_GETLINE = @REPLACE_GETLINE@
+ REPLACE_GETPAGESIZE = @REPLACE_GETPAGESIZE@
+ REPLACE_GETTIMEOFDAY = @REPLACE_GETTIMEOFDAY@
++REPLACE_HUGE_VAL = @REPLACE_HUGE_VAL@
+ REPLACE_ISFINITE = @REPLACE_ISFINITE@
+ REPLACE_LCHOWN = @REPLACE_LCHOWN@
+ REPLACE_LDEXPL = @REPLACE_LDEXPL@
+ REPLACE_LSEEK = @REPLACE_LSEEK@
+ REPLACE_MEMMEM = @REPLACE_MEMMEM@
+ REPLACE_MKSTEMP = @REPLACE_MKSTEMP@
++REPLACE_NAN = @REPLACE_NAN@
+ REPLACE_PRINTF = @REPLACE_PRINTF@
+ REPLACE_PUTENV = @REPLACE_PUTENV@
+ REPLACE_ROUND = @REPLACE_ROUND@
diff -r 6890d7d1b8ef -r 1e7dd89064ec devel/m4/patches/patch-ah
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/m4/patches/patch-ah Sat Aug 23 16:07:50 2008 +0000
@@ -0,0 +1,19 @@
+$NetBSD: patch-ah,v 1.1 2008/08/23 16:07:51 wiz Exp $
+
+--- examples/Makefile.in.orig   2008-04-02 21:45:28.000000000 +0900
++++ examples/Makefile.in        2008-07-05 05:59:06.000000000 +0900
+@@ -355,12 +355,14 @@
+ REPLACE_GETLINE = @REPLACE_GETLINE@
+ REPLACE_GETPAGESIZE = @REPLACE_GETPAGESIZE@
+ REPLACE_GETTIMEOFDAY = @REPLACE_GETTIMEOFDAY@
++REPLACE_HUGE_VAL = @REPLACE_HUGE_VAL@
+ REPLACE_ISFINITE = @REPLACE_ISFINITE@
+ REPLACE_LCHOWN = @REPLACE_LCHOWN@
+ REPLACE_LDEXPL = @REPLACE_LDEXPL@
+ REPLACE_LSEEK = @REPLACE_LSEEK@
+ REPLACE_MEMMEM = @REPLACE_MEMMEM@
+ REPLACE_MKSTEMP = @REPLACE_MKSTEMP@
++REPLACE_NAN = @REPLACE_NAN@
+ REPLACE_PRINTF = @REPLACE_PRINTF@
+ REPLACE_PUTENV = @REPLACE_PUTENV@
+ REPLACE_ROUND = @REPLACE_ROUND@
diff -r 6890d7d1b8ef -r 1e7dd89064ec devel/m4/patches/patch-ai
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/m4/patches/patch-ai Sat Aug 23 16:07:50 2008 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-ai,v 1.1 2008/08/23 16:07:51 wiz Exp $
+
+--- lib/Makefile.am.orig        2008-04-02 09:56:18.000000000 +0900
++++ lib/Makefile.am     2008-07-05 06:01:46.000000000 +0900
+@@ -582,8 +582,10 @@
+             -e 's|@''REPLACE_FLOORL''@|$(REPLACE_FLOORL)|g' \
+             -e 's|@''REPLACE_FREXP''@|$(REPLACE_FREXP)|g' \
+             -e 's|@''REPLACE_FREXPL''@|$(REPLACE_FREXPL)|g' \
++             -e 's|@''REPLACE_HUGE_VAL''@|$(REPLACE_HUGE_VAL)|g' \
+             -e 's|@''REPLACE_ISFINITE''@|$(REPLACE_ISFINITE)|g' \
+             -e 's|@''REPLACE_LDEXPL''@|$(REPLACE_LDEXPL)|g' \
++             -e 's|@''REPLACE_NAN''@|$(REPLACE_NAN)|g' \
+             -e 's|@''REPLACE_ROUND''@|$(REPLACE_ROUND)|g' \
+             -e 's|@''REPLACE_ROUNDF''@|$(REPLACE_ROUNDF)|g' \
+             -e 's|@''REPLACE_ROUNDL''@|$(REPLACE_ROUNDL)|g' \
diff -r 6890d7d1b8ef -r 1e7dd89064ec devel/m4/patches/patch-aj
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/m4/patches/patch-aj Sat Aug 23 16:07:50 2008 +0000
@@ -0,0 +1,29 @@
+$NetBSD: patch-aj,v 1.1 2008/08/23 16:07:51 wiz Exp $
+
+--- lib/Makefile.in.orig        2008-04-02 21:45:29.000000000 +0900
++++ lib/Makefile.in     2008-07-05 06:00:27.000000000 +0900
+@@ -399,11 +399,13 @@
+ REPLACE_GETPAGESIZE = @REPLACE_GETPAGESIZE@
+ REPLACE_GETTIMEOFDAY = @REPLACE_GETTIMEOFDAY@
+ REPLACE_ISFINITE = @REPLACE_ISFINITE@
++REPLACE_HUGE_VAL = @REPLACE_HUGE_VAL@
+ REPLACE_LCHOWN = @REPLACE_LCHOWN@
+ REPLACE_LDEXPL = @REPLACE_LDEXPL@
+ REPLACE_LSEEK = @REPLACE_LSEEK@
+ REPLACE_MEMMEM = @REPLACE_MEMMEM@
+ REPLACE_MKSTEMP = @REPLACE_MKSTEMP@
++REPLACE_NAN = @REPLACE_NAN@



Home | Main Index | Thread Index | Old Index