pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/python38 python38: Make float words test a little...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8302047aeca0
branches:  trunk
changeset: 403228:8302047aeca0
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Thu Oct 24 10:44:57 2019 +0000

description:
python38: Make float words test a little less insane.

Fixes build on SunOS with the native grep.

diffstat:

 lang/python38/distinfo                |   4 ++--
 lang/python38/patches/patch-configure |  23 ++++++++++++++++++-----
 2 files changed, 20 insertions(+), 7 deletions(-)

diffs (67 lines):

diff -r d935fdef2f8f -r 8302047aeca0 lang/python38/distinfo
--- a/lang/python38/distinfo    Thu Oct 24 10:25:39 2019 +0000
+++ b/lang/python38/distinfo    Thu Oct 24 10:44:57 2019 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1 2019/10/15 16:50:11 adam Exp $
+$NetBSD: distinfo,v 1.2 2019/10/24 10:44:57 jperkin Exp $
 
 SHA1 (Python-3.8.0.tar.xz) = 7720e0384558c598107cf046c48165fd7e1f5b2c
 RMD160 (Python-3.8.0.tar.xz) = ada4ef83d6315ab854e1f1e430db142b40260e7e
@@ -15,6 +15,6 @@
 SHA1 (patch-Modules_socketmodule.c) = e99fd9e30e3feafef1747a2f52446d8fec543362
 SHA1 (patch-Modules_socketmodule.h) = 13a3290eb72078067060d3e71b7baa08f3eb591c
 SHA1 (patch-Python_thread__pthread.h) = fb81eaa604b4ed7c1b64c3f4731d58a8aee257be
-SHA1 (patch-configure) = bdffee702857e3d11f70a3c80f00e8ad3ed3d98d
+SHA1 (patch-configure) = 00e3ceec47dbb016e72c11f204a6b27a4d7c182d
 SHA1 (patch-pyconfig.h.in) = 4bc6e95441cb5faae94d1d52aeaaa10ae01385b6
 SHA1 (patch-setup.py) = b6f6fd38ad557680eba4878a9a03ec654c573361
diff -r d935fdef2f8f -r 8302047aeca0 lang/python38/patches/patch-configure
--- a/lang/python38/patches/patch-configure     Thu Oct 24 10:25:39 2019 +0000
+++ b/lang/python38/patches/patch-configure     Thu Oct 24 10:44:57 2019 +0000
@@ -1,12 +1,12 @@
-$NetBSD: patch-configure,v 1.1 2019/10/15 16:50:11 adam Exp $
+$NetBSD: patch-configure,v 1.2 2019/10/24 10:44:57 jperkin Exp $
 
 Fix linking on Darwin; don't use -stack_size.
 Changes for consistency across pkgsrc platforms.
 Simplify _sysconfigdata to include only platform name.
 
---- configure.orig     2019-09-06 08:21:57.000000000 +0000
+--- configure.orig     2019-10-14 13:34:47.000000000 +0000
 +++ configure
-@@ -9547,7 +9547,6 @@ then
+@@ -9526,7 +9526,6 @@ then
                # to ensure that tests don't crash
                # Note: This matches the value of THREAD_STACK_SIZE in
                # thread_pthread.h
@@ -14,7 +14,20 @@
  
                if test "$enable_framework"
                then
-@@ -15178,8 +15177,6 @@ fi
+@@ -14271,10 +14270,10 @@ _ACEOF
+ if ac_fn_c_try_compile "$LINENO"; then :
+ 
+ 
+-if grep noonsees conftest.$ac_objext >/dev/null ; then
++if strings -a conftest.$ac_objext | grep noonsees >/dev/null ; then
+   ax_cv_c_float_words_bigendian=yes
+ fi
+-if grep seesnoon conftest.$ac_objext >/dev/null ; then
++if strings -a conftest.$ac_objext | grep seesnoon >/dev/null ; then
+   if test "$ax_cv_c_float_words_bigendian" = unknown; then
+     ax_cv_c_float_words_bigendian=no
+   else
+@@ -15160,8 +15159,6 @@ fi
  
  
  case $ac_sys_system in
@@ -23,7 +36,7 @@
      *)
        EXT_SUFFIX=${SHLIB_SUFFIX};;
  esac
-@@ -15199,11 +15196,7 @@ else
+@@ -15181,11 +15178,7 @@ else
  fi
  
  



Home | Main Index | Thread Index | Old Index