summaryrefslogtreecommitdiff
path: root/archivers/rubygem-bzip2-ruby/files/patch-ext_bzip2.c
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-07-26 16:51:15 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-07-26 16:51:15 +0000
commit9fa9eb9ac7bf1d3de825ee25a8f0ae81b7b77896 (patch)
tree9b071a8105704e992946dcd6b801e9fcb7635142 /archivers/rubygem-bzip2-ruby/files/patch-ext_bzip2.c
parentMooseFS is a Fault tolerant, High Available, Highly Performing, Scale-Out, (diff)
Cleanup patches, a* categories.
Rename them to follow the make makepatch naming, and regenerate them. With hat: portmgr Sponsored by: Absolight
Notes
Notes: svn path=/head/; revision=419133
Diffstat (limited to 'archivers/rubygem-bzip2-ruby/files/patch-ext_bzip2.c')
-rw-r--r--archivers/rubygem-bzip2-ruby/files/patch-ext_bzip2.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/archivers/rubygem-bzip2-ruby/files/patch-ext_bzip2.c b/archivers/rubygem-bzip2-ruby/files/patch-ext_bzip2.c
new file mode 100644
index 000000000000..05384a6fbdda
--- /dev/null
+++ b/archivers/rubygem-bzip2-ruby/files/patch-ext_bzip2.c
@@ -0,0 +1,12 @@
+--- ext/bzip2.c.orig 2016-07-26 12:25:25 UTC
++++ ext/bzip2.c
+@@ -247,9 +247,6 @@ static VALUE bz_writer_close(VALUE obj)
+
+ Get_BZ2(obj, bzf);
+ res = bz_writer_internal_close(bzf);
+- if (!NIL_P(res) && (bzf->flags & BZ2_RB_INTERNAL)) {
+- RBASIC(res)->klass = rb_cString;
+- }
+ return res;
+ }
+