summaryrefslogtreecommitdiff
path: root/graphics/py-visual/files
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/py-visual/files')
-rw-r--r--graphics/py-visual/files/patch-src-gtk2-random_device.cpp11
-rw-r--r--graphics/py-visual/files/patch-src-python-num_util.cpp11
2 files changed, 0 insertions, 22 deletions
diff --git a/graphics/py-visual/files/patch-src-gtk2-random_device.cpp b/graphics/py-visual/files/patch-src-gtk2-random_device.cpp
deleted file mode 100644
index 150b1a017d07..000000000000
--- a/graphics/py-visual/files/patch-src-gtk2-random_device.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/gtk2/random_device.cpp Sat Jul 31 20:20:28 2004
-+++ src/gtk2/random_device.cpp.port Tue Mar 6 13:17:28 2007
-@@ -32,7 +32,7 @@
- #endif
-
- // Known to be supported for GNU/Linux and Apple OSX. Probably others as well.
--#if defined(__linux__) || (defined(__APPLE__) && defined(__MACH__))
-+#if defined(__linux__) || defined(__FreeBSD__) || (defined(__APPLE__) && defined(__MACH__))
-
- // the default is the unlimited capacity device, using some secure hash
- // try "/dev/random" for blocking when the entropy pool has drained
diff --git a/graphics/py-visual/files/patch-src-python-num_util.cpp b/graphics/py-visual/files/patch-src-python-num_util.cpp
deleted file mode 100644
index ce341aea0855..000000000000
--- a/graphics/py-visual/files/patch-src-python-num_util.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/python/num_util.cpp Thu Nov 30 07:06:03 2006
-+++ src/python/num_util.cpp.port Thu Mar 8 11:18:50 2007
-@@ -230,7 +230,7 @@
- PyErr_SetString(PyExc_ValueError, "expected a PyArrayObject");
- throw_error_already_set();
- }
-- int* dims_ptr = PyArray_DIMS(arr.ptr());
-+ npy_intp* dims_ptr = PyArray_DIMS(arr.ptr());
- int the_rank = rank(arr);
- for (int i = 0; i < the_rank; i++){
- out_dims.push_back(*(dims_ptr + i));