aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/patches/format_string_checking-0.41-test06.patch140
1 files changed, 0 insertions, 140 deletions
diff --git a/packages/patches/format_string_checking-0.41-test06.patch b/packages/patches/format_string_checking-0.41-test06.patch
deleted file mode 100644
index 56d5518a..00000000
--- a/packages/patches/format_string_checking-0.41-test06.patch
+++ /dev/null
@@ -1,140 +0,0 @@
-Index: d_soundfile.c
-===================================================================
-RCS file: /cvsroot/pure-data/pd/src/d_soundfile.c,v
-retrieving revision 1.12
-diff -u -r1.12 d_soundfile.c
---- d_soundfile.c 9 Oct 2006 04:36:12 -0000 1.12
-+++ d_soundfile.c 29 Nov 2007 14:01:06 -0000
-@@ -758,7 +758,7 @@
- if (itemswritten < nframes)
- {
- if (nframes < 0x7fffffff)
-- pd_error(obj, "soundfiler_write: %d out of %d bytes written",
-+ pd_error(obj, "soundfiler_write: %ld out of %ld bytes written",
- itemswritten, nframes);
- /* try to fix size fields in header */
- if (filetype == FORMAT_WAVE)
-@@ -1088,7 +1088,7 @@
- framesinfile = (eofis - poswas) / (channels * bytespersamp);
- if (framesinfile > maxsize)
- {
-- pd_error(x, "soundfiler_read: truncated to %d elements", maxsize);
-+ pd_error(x, "soundfiler_read: truncated to %ld elements", maxsize);
- framesinfile = maxsize;
- }
- if (framesinfile > bytelimit / (channels * bytespersamp))
-Index: g_array.c
-===================================================================
-RCS file: /cvsroot/pure-data/pd/src/g_array.c,v
-retrieving revision 1.11
-diff -u -r1.11 g_array.c
---- g_array.c 15 Aug 2006 04:54:15 -0000 1.11
-+++ g_array.c 29 Nov 2007 14:01:06 -0000
-@@ -1136,12 +1136,12 @@
- t_array *a = garray_getarray_floatonly(x, &yonset, &elemsize);
- if (!a)
- {
-- error("%s: needs floating-point 'y' field", x->x_realname);
-+ error("%s: needs floating-point 'y' field", x->x_realname->s_name);
- return (0);
- }
- else if (elemsize != sizeof(t_word))
- {
-- error("%s: has more than one field", x->x_realname);
-+ error("%s: has more than one field", x->x_realname->s_name);
- return (0);
- }
- *size = garray_npoints(x);
-@@ -1164,7 +1164,7 @@
- int yonset, i, elemsize;
- t_array *array = garray_getarray_floatonly(x, &yonset, &elemsize);
- if (!array)
-- error("%s: needs floating-point 'y' field", x->x_realname);
-+ error("%s: needs floating-point 'y' field", x->x_realname->s_name);
- else for (i = 0; i < array->a_n; i++)
- *((float *)((char *)array->a_vec
- + elemsize * i) + yonset) = g;
-@@ -1180,7 +1180,7 @@
- t_array *array = garray_getarray_floatonly(x, &yonset, &elemsize);
- if (!array)
- {
-- error("%s: needs floating-point 'y' field", x->x_realname);
-+ error("%s: needs floating-point 'y' field", x->x_realname->s_name);
- return;
- }
- if (npoints == 0)
-@@ -1259,7 +1259,7 @@
- t_array *array = garray_getarray_floatonly(x, &yonset, &elemsize);
- if (!array)
- {
-- error("%s: needs floating-point 'y' field", x->x_realname);
-+ error("%s: needs floating-point 'y' field", x->x_realname->s_name);
- return;
- }
-
-@@ -1294,7 +1294,7 @@
- t_array *array = garray_getarray_floatonly(x, &yonset, &elemsize);
- if (!array)
- {
-- error("%s: needs floating-point 'y' field", x->x_realname);
-+ error("%s: needs floating-point 'y' field", x->x_realname->s_name);
- return;
- }
- if (argc < 2) return;
-@@ -1375,7 +1375,7 @@
- t_array *array = garray_getarray_floatonly(x, &yonset, &elemsize);
- if (!array)
- {
-- error("%s: needs floating-point 'y' field", x->x_realname);
-+ error("%s: needs floating-point 'y' field", x->x_realname->s_name);
- return;
- }
- nelem = array->a_n;
-@@ -1411,7 +1411,7 @@
- t_array *array = garray_getarray_floatonly(x, &yonset, &elemsize);
- if (!array)
- {
-- error("%s: needs floating-point 'y' field", x->x_realname);
-+ error("%s: needs floating-point 'y' field", x->x_realname->s_name);
- return;
- }
- canvas_makefilename(glist_getcanvas(x->x_glist), filename->s_name,
-Index: g_canvas.c
-===================================================================
-RCS file: /cvsroot/pure-data/pd/src/g_canvas.c,v
-retrieving revision 1.18
-diff -u -r1.18 g_canvas.c
---- g_canvas.c 9 Oct 2006 04:36:12 -0000 1.18
-+++ g_canvas.c 29 Nov 2007 14:01:07 -0000
-@@ -158,7 +158,7 @@
- if (!x) bug("canvas_getenv");
- while (!x->gl_env)
- if (!(x = x->gl_owner))
-- bug("t_canvasenvironment", x);
-+ bug("t_canvasenvironment");
- return (x->gl_env);
- }
-
-Index: m_pd.h
-===================================================================
-RCS file: /cvsroot/pure-data/pd/src/m_pd.h,v
-retrieving revision 1.16.2.2
-diff -u -r1.16.2.2 m_pd.h
---- m_pd.h 18 Jul 2007 00:20:12 -0000 1.16.2.2
-+++ m_pd.h 29 Nov 2007 14:01:08 -0000
-@@ -443,10 +443,10 @@
- EXTERN void postfloat(float f);
- EXTERN void postatom(int argc, t_atom *argv);
- EXTERN void endpost(void);
--EXTERN void error(const char *fmt, ...);
--EXTERN void verbose(int level, const char *fmt, ...);
--EXTERN void bug(const char *fmt, ...);
--EXTERN void pd_error(void *object, const char *fmt, ...);
-+EXTERN void error(const char *fmt, ...) __attribute__ ((format (printf, 1, 2)));
-+EXTERN void verbose(int level, const char *fmt, ...) __attribute__ ((format (printf, 2, 3)));
-+EXTERN void bug(const char *fmt, ...) __attribute__ ((format (printf, 1, 2)));
-+EXTERN void pd_error(void *object, const char *fmt, ...) __attribute__ ((format (printf, 2, 3)));
- EXTERN void sys_logerror(const char *object, const char *s);
- EXTERN void sys_unixerror(const char *object);
- EXTERN void sys_ouch(void);
-