aboutsummaryrefslogtreecommitdiff
path: root/audio/rubygem-ruby-shout/files/patch-ext_shout__ext.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio/rubygem-ruby-shout/files/patch-ext_shout__ext.c')
-rw-r--r--audio/rubygem-ruby-shout/files/patch-ext_shout__ext.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/audio/rubygem-ruby-shout/files/patch-ext_shout__ext.c b/audio/rubygem-ruby-shout/files/patch-ext_shout__ext.c
new file mode 100644
index 000000000000..5e285aaa1024
--- /dev/null
+++ b/audio/rubygem-ruby-shout/files/patch-ext_shout__ext.c
@@ -0,0 +1,11 @@
+--- ext/shout_ext.c.orig 2016-07-26 15:50:39 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) {