diff options
author | jperkin <jperkin@pkgsrc.org> | 2019-10-24 10:44:57 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2019-10-24 10:44:57 +0000 |
commit | d4bd22c9dc8fe2e6053e1ec9670800d6c41cecfa (patch) | |
tree | af038f7f4a36be6fd34f1d2da55e88942a9179b7 /lang/python38 | |
parent | 3910e1a8e0d5868772568a26580fa4ee2d3d6410 (diff) | |
download | pkgsrc-d4bd22c9dc8fe2e6053e1ec9670800d6c41cecfa.tar.gz |
python38: Make float words test a little less insane.
Fixes build on SunOS with the native grep.
Diffstat (limited to 'lang/python38')
-rw-r--r-- | lang/python38/distinfo | 4 | ||||
-rw-r--r-- | lang/python38/patches/patch-configure | 23 |
2 files changed, 20 insertions, 7 deletions
diff --git a/lang/python38/distinfo b/lang/python38/distinfo index ed19c34e11b..5cf06eb16d0 100644 --- a/lang/python38/distinfo +++ b/lang/python38/distinfo @@ -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_nismodule.c) = 1bafe9b06359586d027a77011b103877590d947d 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 --git a/lang/python38/patches/patch-configure b/lang/python38/patches/patch-configure index 117d85fab4f..601f576f123 100644 --- a/lang/python38/patches/patch-configure +++ b/lang/python38/patches/patch-configure @@ -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 @@ Simplify _sysconfigdata to include only platform name. 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 @@ Simplify _sysconfigdata to include only platform name. *) EXT_SUFFIX=${SHLIB_SUFFIX};; esac -@@ -15199,11 +15196,7 @@ else +@@ -15181,11 +15178,7 @@ else fi |