diff options
author | swills <swills@FreeBSD.org> | 2011-05-03 09:20:30 +0800 |
---|---|---|
committer | swills <swills@FreeBSD.org> | 2011-05-03 09:20:30 +0800 |
commit | eb17b2a27f4276ccc3b58cced70c1a3bf6c27cfa (patch) | |
tree | 23d0d733173fc2310d76b6627acee532104db93f /audio | |
parent | 05a361241055cb9348904857cb8bae4519d154b9 (diff) | |
download | freebsd-ports-gnome-eb17b2a27f4276ccc3b58cced70c1a3bf6c27cfa.tar.gz freebsd-ports-gnome-eb17b2a27f4276ccc3b58cced70c1a3bf6c27cfa.tar.zst freebsd-ports-gnome-eb17b2a27f4276ccc3b58cced70c1a3bf6c27cfa.zip |
- Fix build with Ruby 1.9
PR: ports/156468
Submitted by: Eric Freeman <freebsdports@chillibear.com>
Approved by: maintainer (timeout)
Diffstat (limited to 'audio')
-rw-r--r-- | audio/ruby-esound/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/audio/ruby-esound/Makefile b/audio/ruby-esound/Makefile index 330b1726cf15..4352fa10785d 100644 --- a/audio/ruby-esound/Makefile +++ b/audio/ruby-esound/Makefile @@ -34,6 +34,10 @@ post-patch: ${REINPLACE_CMD} -E \ -e "s,^(require[[:space:]]+')./esd.so('.*),\1esd\2," \ ${WRKSRC}/test/*.rb + ${REINPLACE_CMD} -E \ + -e 's|RSTRING\(([^)]+)\)->len|RSTRING_LEN(\1)|g' \ + -e 's|RSTRING\(([^)]+)\)->ptr|RSTRING_PTR(\1)|g' \ + ${WRKSRC}/esd.c post-install: .if !defined(NOPORTDOCS) |