mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
archivers/rubygem-bzip2: fix build with ruby 2.1
PR: 192689
Submitted by: Paul Mather <paul@gromit.dlib.vt.edu>
Obtained from: 92d492c2b4
This commit is contained in:
parent
2eef48cef7
commit
567fc87015
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=365768
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= bzip2
|
||||
PORTVERSION= 0.2.7
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= archivers rubygems
|
||||
MASTER_SITES= RG
|
||||
DISTNAME= ${PORTNAME}-ruby-${PORTVERSION}
|
||||
|
12
archivers/rubygem-bzip2/files/patch-ext__bzip2.c
Normal file
12
archivers/rubygem-bzip2/files/patch-ext__bzip2.c
Normal file
@ -0,0 +1,12 @@
|
||||
--- ./ext/bzip2.c.orig 2014-08-23 18:00:07.743290567 +0000
|
||||
+++ ./ext/bzip2.c 2014-08-23 18:00:07.790289811 +0000
|
||||
@@ -247,9 +247,6 @@
|
||||
|
||||
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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user