freebsd-ports/audio/rubygem-ruby-shout/files/patch-ext-shout_ext.c
Sunpoet Po-Chuan Hsieh c16279737f - Move audio/rubygem-shout to audio/rubygem-ruby-shout
- Fix build with ruby22
- Add LICENSE
- Update WWW
2015-05-27 16:22:17 +00:00

11 lines
430 B
C

--- ext/shout_ext.c.orig 2015-05-27 15:58:04 UTC
+++ ext/shout_ext.c
@@ -250,7 +250,7 @@ static VALUE _sh_send(VALUE self, VALUE
shout_connection *s;
GET_SC(self, s);
- Check_SafeStr(to_send);
+ SafeStringValue(to_send);
err = shout_send(s->conn, (unsigned char *) (RSTRING_PTR(to_send)),
RSTRING_LEN(to_send));
if(err != SHOUTERR_SUCCESS) {