aboutsummaryrefslogtreecommitdiff
path: root/packages/patches/made_print_post_all_arguments-0.40.3.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/patches/made_print_post_all_arguments-0.40.3.patch')
-rw-r--r--packages/patches/made_print_post_all_arguments-0.40.3.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/packages/patches/made_print_post_all_arguments-0.40.3.patch b/packages/patches/made_print_post_all_arguments-0.40.3.patch
deleted file mode 100644
index 5abec468..00000000
--- a/packages/patches/made_print_post_all_arguments-0.40.3.patch
+++ /dev/null
@@ -1,30 +0,0 @@
---- x_interface.c 2007/11/25 03:31:05 1.3.6.1
-+++ x_interface.c 2007/12/04 21:54:46 1.3.6.3
-@@ -17,12 +17,22 @@
-
- static void *print_new(t_symbol *s, int argc, t_atom *argv)
- {
-+ int bufsize;
-+ char *buf;
- t_print *x = (t_print *)pd_new(print_class);
-- x->x_sym = atom_getsymbolarg(0,argc,argv);
-- if (x->x_sym == &s_)
-- x->x_sym = atom_getfloatarg(0,argc,argv);
-- if (*s->s_name) x->x_sym = s;
-- else x->x_sym = gensym("print");
-+ if (argc)
-+ {
-+ t_binbuf *bb = binbuf_new();
-+ binbuf_add(bb, argc, argv);
-+ binbuf_gettext(bb, &buf, &bufsize);
-+ buf[bufsize] = 0;
-+ x->x_sym = gensym(buf);
-+ binbuf_free(bb);
-+ }
-+ else
-+ {
-+ x->x_sym = gensym("print");
-+ }
- return (x);
- }
-