pkgsrc-Changes archive

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

CVS commit: pkgsrc/math/py-numpy



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Wed Feb 28 11:34:37 UTC 2024

Modified Files:
        pkgsrc/math/py-numpy: distinfo
Added Files:
        pkgsrc/math/py-numpy/patches:
            patch-numpy_core_feature__detection__misc.h

Log Message:
py-numpy: Fix build on SunOS.


To generate a diff of this commit:
cvs rdiff -u -r1.89 -r1.90 pkgsrc/math/py-numpy/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/math/py-numpy/patches/patch-numpy_core_feature__detection__misc.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/math/py-numpy/distinfo
diff -u pkgsrc/math/py-numpy/distinfo:1.89 pkgsrc/math/py-numpy/distinfo:1.90
--- pkgsrc/math/py-numpy/distinfo:1.89  Tue Feb  6 18:14:57 2024
+++ pkgsrc/math/py-numpy/distinfo       Wed Feb 28 11:34:37 2024
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.89 2024/02/06 18:14:57 adam Exp $
+$NetBSD: distinfo,v 1.90 2024/02/28 11:34:37 jperkin Exp $
 
 BLAKE2s (numpy-1.26.4.tar.gz) = bd231b8e1b8dc4defd4e0d6d36624e652470fc7d64907b27b1e5a550e660c207
 SHA512 (numpy-1.26.4.tar.gz) = f7121ab4099fa0686f9c095d456baa4a5869d651d7b7a06385f885f329cf08f11024b5df5e7b4ee705970062a8102ec4f709512eabbfd5c9fccce4ef83b9c208
 Size (numpy-1.26.4.tar.gz) = 15786129 bytes
+SHA1 (patch-numpy_core_feature__detection__misc.h) = 4eabe9ded0c62797d64901c35a46df60d3662e2e
 SHA1 (patch-numpy_core_include_numpy_npy__common.h) = 354e336b98f634b6298d0b1d0e85ef1a9d240bff
 SHA1 (patch-numpy_core_setup.py) = 01f90b7eb700cfa51edded31498c2de4c3850848
 SHA1 (patch-numpy_core_src_common_mem__overlap.c) = 10d65c7f8ba740ce2bae5ad47ef3162cd2c5a40b

Added files:

Index: pkgsrc/math/py-numpy/patches/patch-numpy_core_feature__detection__misc.h
diff -u /dev/null pkgsrc/math/py-numpy/patches/patch-numpy_core_feature__detection__misc.h:1.1
--- /dev/null   Wed Feb 28 11:34:37 2024
+++ pkgsrc/math/py-numpy/patches/patch-numpy_core_feature__detection__misc.h    Wed Feb 28 11:34:37 2024
@@ -0,0 +1,13 @@
+$NetBSD: patch-numpy_core_feature__detection__misc.h,v 1.1 2024/02/28 11:34:37 jperkin Exp $
+
+Do not use incorrect forward declaration on SunOS.
+
+--- numpy/core/feature_detection_misc.h.orig   2024-02-28 11:24:51.747334468 +0000
++++ numpy/core/feature_detection_misc.h
+@@ -1,4 +1,6 @@
+ #include <stddef.h>
+ 
+ int backtrace(void **, int);
++#ifndef __sun
+ int madvise(void *, size_t, int);
++#endif



Home | Main Index | Thread Index | Old Index