aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-04-03 22:29:45 +0800
committerknu <knu@FreeBSD.org>2001-04-03 22:29:45 +0800
commitc3923c94e3501682a67f879feef2ad7f9ee16516 (patch)
tree15d66fc9bbc8c1e83804d7bd2df0fdfe625ad87a
parent308df11e670a0a328d0165daa895ae90de887400 (diff)
downloadfreebsd-ports-gnome-c3923c94e3501682a67f879feef2ad7f9ee16516.tar.gz
freebsd-ports-gnome-c3923c94e3501682a67f879feef2ad7f9ee16516.tar.zst
freebsd-ports-gnome-c3923c94e3501682a67f879feef2ad7f9ee16516.zip
Apply a temporary fix for SDL 1.2.0.
-rw-r--r--devel/ruby-sdl/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/devel/ruby-sdl/Makefile b/devel/ruby-sdl/Makefile
index 8566e890c73e..a8e71a05cf0b 100644
--- a/devel/ruby-sdl/Makefile
+++ b/devel/ruby-sdl/Makefile
@@ -7,7 +7,7 @@
PORTNAME= sdl
PORTVERSION= 0.3
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= devel graphics audio ruby
MASTER_SITES= http://www.kmc.kyoto-u.ac.jp/~ohai/rubysdl/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
@@ -35,6 +35,9 @@ RD_DOCS_JA= rubysdl_doc.rd
DOCS_EN= rubysdl_const_list.txt
DOCS_JA= README ${RD_DOCS_JA} ${RD_DOCS_JA:S/.rd$/.html/}
+post-patch:
+ ${RUBY} -i -pe 'gsub /EVENT_RESERVED1/, "VIDEOEXPOSE"' ${WRKSRC}/*.c
+
post-build:
.if !defined(NOPORTDOCS)
.for f in ${RD_DOCS_JA}