diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2003-08-09 18:20:37 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2003-08-09 18:20:37 +0000 |
commit | 702704f99f50ac52c648d1f6eddc1dc3de481f5c (patch) | |
tree | 4707765f60d970065dc3ff4343842a222b3a2ea5 /graphics/ruby-libart/files/patch-rbart_canvas.c | |
parent | f198fc6f9c0cf56fee0c43f22db18a2dbd03fa7b (diff) | |
download | ports-702704f99f50ac52c648d1f6eddc1dc3de481f5c.tar.gz ports-702704f99f50ac52c648d1f6eddc1dc3de481f5c.zip |
Update the Ruby-GNOME suite to 0.34.
Notes
Notes:
svn path=/head/; revision=86665
Diffstat (limited to 'graphics/ruby-libart/files/patch-rbart_canvas.c')
-rw-r--r-- | graphics/ruby-libart/files/patch-rbart_canvas.c | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/graphics/ruby-libart/files/patch-rbart_canvas.c b/graphics/ruby-libart/files/patch-rbart_canvas.c deleted file mode 100644 index 52c118d4f2ff..000000000000 --- a/graphics/ruby-libart/files/patch-rbart_canvas.c +++ /dev/null @@ -1,53 +0,0 @@ ---- src/rbart_canvas.c.orig Mon Jan 20 01:04:03 2003 -+++ src/rbart_canvas.c Fri Mar 21 20:06:11 2003 -@@ -156,6 +156,7 @@ - return r_self; - } - -+#if 0 - static void - user_init_destination(cinfo) - j_compress_ptr cinfo; -@@ -188,6 +189,42 @@ - r_buffer = (VALUE) cinfo->client_data; - RSTRING(r_buffer)->len = RSTRING(r_buffer)->aux.capa - cinfo->dest->free_in_buffer; - RSTRING(r_buffer)->ptr[RSTRING(r_buffer)->len] = '\0'; -+} -+#endif -+ -+struct client_data { -+ VALUE r_result; -+ JOCTET buffer[BUFSIZ]; -+}; -+ -+static void -+user_init_destination(cinfo) -+ j_compress_ptr cinfo; -+{ -+ struct client_data *cd; -+ cd = (struct client_data *) cinfo->client_data; -+ cinfo->dest->next_output_byte = cd->buffer; -+ cinfo->dest->free_in_buffer = BUFSIZ; -+} -+ -+static boolean -+user_empty_output_buffer(cinfo) -+ j_compress_ptr cinfo; -+{ -+ struct client_data *cd; -+ cd = (struct client_data *) cinfo->client_data; -+ rb_str_cat(cd->r_result, cd->buffer, BUFSIZ); -+ cinfo->dest->next_output_byte = cd->buffer; -+ cinfo->dest->free_in_buffer = BUFSIZ; -+} -+ -+static void -+user_term_destination(cinfo) -+ j_compress_ptr cinfo; -+{ -+ struct client_data *cd; -+ cd = (struct client_data *) cinfo->client_data; -+ rb_str_cat(cd->r_result, cd->buffer, cinfo->dest->next_output_byte - cd->buffer); - } - - static VALUE |