diff options
Diffstat (limited to 'science/pyvox/files')
-rw-r--r-- | science/pyvox/files/patch-src__parray.c | 76 | ||||
-rw-r--r-- | science/pyvox/files/patch-src__pyvox.c | 20 | ||||
-rw-r--r-- | science/pyvox/files/patch-src__tkphoto.c | 11 |
3 files changed, 0 insertions, 107 deletions
diff --git a/science/pyvox/files/patch-src__parray.c b/science/pyvox/files/patch-src__parray.c deleted file mode 100644 index a84acca50fdd..000000000000 --- a/science/pyvox/files/patch-src__parray.c +++ /dev/null @@ -1,76 +0,0 @@ ---- ./src/parray.c.orig 2006-02-24 12:18:51.000000000 -0500 -+++ ./src/parray.c 2011-07-01 02:32:12.000000000 -0400 -@@ -991,7 +991,7 @@ - if (DEBUG_ALLOC) { - fprintf(stderr, "parray create: %p\n", self); - if (0) -- fprintf(stderr, "...reference count = %d\n", -+ fprintf(stderr, "...reference count = %zd\n", - ((PyObject *)self)->ob_refcnt); - } - -@@ -1171,7 +1171,7 @@ - if (DEBUG_ALLOC) { - fprintf(stderr, "parray alloc: %p\n", self); - if (0) -- fprintf(stderr, "...reference count = %d\n", -+ fprintf(stderr, "...reference count = %zd\n", - ((PyObject *)self)->ob_refcnt); - } - -@@ -2074,7 +2074,7 @@ - - static PyMappingMethods - parray_as_mapping = { -- (inquiry) parray_length, /* mp_length: len(x) */ -+ (lenfunc) parray_length, /* mp_length: len(x) */ - (binaryfunc) parray_getitem, /* mp_subscript: x[y] */ - (objobjargproc) parray_setitem, /* mp_ass_subscript: x[y] = v */ - }; -@@ -2204,13 +2204,13 @@ - - static PySequenceMethods - parray_as_sequence = { -- (inquiry) 0, /* sq_length: len(x) */ -+ (lenfunc) 0, /* sq_length: len(x) */ - (binaryfunc) 0, /* sq_concat: x + y */ -- (intargfunc) 0, /* sq_repeat: n * x */ -- (intargfunc) 0, /* sq_item: x[i] */ -- (intintargfunc) parray_getslice, /* sq_slice: x[i:j] */ -- (intobjargproc) 0, /* sq_ass_item: x[i] = v */ -- (intintobjargproc) parray_setslice, /* sq_ass_slice: x[i:j] = v */ -+ (ssizeargfunc) 0, /* sq_repeat: n * x */ -+ (ssizeargfunc) 0, /* sq_item: x[i] */ -+ (ssizessizeargfunc) parray_getslice, /* sq_slice: x[i:j] */ -+ (ssizeobjargproc) 0, /* sq_ass_item: x[i] = v */ -+ (ssizessizeobjargproc) parray_setslice, /* sq_ass_slice: x[i:j] = v */ - }; - - -@@ -7386,7 +7386,7 @@ - - /* DEBUG: Print ref counts of arguments */ - if (0) { -- printf("Refcnts 1: %d, %d\n", self->ob_refcnt, filename->ob_refcnt); -+ printf("Refcnts 1: %zd, %zd\n", self->ob_refcnt, filename->ob_refcnt); - } - - /* Paste self onto front of argument tuple. FIXME: This is really -@@ -7400,7 +7400,7 @@ - - /* DEBUG: Print ref counts of arguments */ - if (0) { -- printf("Refcnts 2: %d, %d, %d\n", self->ob_refcnt, filename->ob_refcnt, -+ printf("Refcnts 2: %zd, %zd, %zd\n", self->ob_refcnt, filename->ob_refcnt, - newargs->ob_refcnt); - } - -@@ -7418,7 +7418,7 @@ - - /* DEBUG: Print ref counts of arguments */ - if (0) { -- printf("Refcnts 3: %d, %d, %d\n", self->ob_refcnt, filename->ob_refcnt, -+ printf("Refcnts 3: %zd, %zd, %zd\n", self->ob_refcnt, filename->ob_refcnt, - newargs->ob_refcnt); - } - diff --git a/science/pyvox/files/patch-src__pyvox.c b/science/pyvox/files/patch-src__pyvox.c deleted file mode 100644 index 07f056943e7d..000000000000 --- a/science/pyvox/files/patch-src__pyvox.c +++ /dev/null @@ -1,20 +0,0 @@ ---- ./src/pyvox.c.orig 2006-02-24 16:33:41.000000000 -0500 -+++ ./src/pyvox.c 2011-07-01 02:29:06.000000000 -0400 -@@ -1850,7 +1850,7 @@ - if (0) { - fprintf(stderr, "Created new kernel object at %p\n", self); - if (0) -- fprintf(stderr, "...reference count = %d\n", -+ fprintf(stderr, "...reference count = %zd\n", - ((PyObject *)self)->ob_refcnt); - } - -@@ -2273,7 +2273,7 @@ - - static PyMappingMethods - kernel_as_mapping = { -- (inquiry) kernel_length, /* mp_length: len(x) */ -+ (lenfunc) kernel_length, /* mp_length: len(x) */ - (binaryfunc) kernel_getitem, /* mp_subscript: x[y] */ - (objobjargproc) kernel_setitem, /* mp_ass_subscript: x[y] = v */ - }; diff --git a/science/pyvox/files/patch-src__tkphoto.c b/science/pyvox/files/patch-src__tkphoto.c deleted file mode 100644 index 9be4a5503b5f..000000000000 --- a/science/pyvox/files/patch-src__tkphoto.c +++ /dev/null @@ -1,11 +0,0 @@ ---- ./src/tkphoto.c.orig 2005-12-29 13:33:15.000000000 -0500 -+++ ./src/tkphoto.c 2011-07-01 02:28:06.000000000 -0400 -@@ -632,7 +632,7 @@ - if (0) { - fprintf(stderr, "Created new tkphoto object at %p\n", self); - if (0) -- fprintf(stderr, "...reference count = %d\n", -+ fprintf(stderr, "...reference count = %zd\n", - ((PyObject *)pytk)->ob_refcnt); - } - |