diff options
Diffstat (limited to 'archivers/ruby-zlib/Makefile')
-rw-r--r-- | archivers/ruby-zlib/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/archivers/ruby-zlib/Makefile b/archivers/ruby-zlib/Makefile index fc00a1b1..bd0e191 100644 --- a/archivers/ruby-zlib/Makefile +++ b/archivers/ruby-zlib/Makefile @@ -24,7 +24,10 @@ DOCS_EN= ChangeLog zlib.en.html DOCS_JA= zlib.ja.html post-patch: - ${RUBY} -i -pe 'sub /\bNORETURN\b/, ""' ${WRKSRC}/zlib.c + ${RUBY} -i -p \ + -e 'gsub /\bNORETURN\b/, ""' \ + -e 'gsub /\bstr2cstr\b/, "rb_str2cstr"' \ + ${WRKSRC}/zlib.c post-install: .if !defined(NOPORTDOCS) |