diff options
-rw-r--r-- | dev-ruby/ruby-sdl/ChangeLog | 6 | ||||
-rw-r--r-- | dev-ruby/ruby-sdl/files/ruby-sdl-1.1.0-sdl-mixer.patch | 10 | ||||
-rw-r--r-- | dev-ruby/ruby-sdl/ruby-sdl-1.1.0.ebuild | 10 |
3 files changed, 24 insertions, 2 deletions
diff --git a/dev-ruby/ruby-sdl/ChangeLog b/dev-ruby/ruby-sdl/ChangeLog index 4c2df1dcbf56..b4f70b901635 100644 --- a/dev-ruby/ruby-sdl/ChangeLog +++ b/dev-ruby/ruby-sdl/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-ruby/ruby-sdl # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-sdl/ChangeLog,v 1.11 2006/07/12 13:56:34 kugelfang Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-sdl/ChangeLog,v 1.12 2006/09/02 02:51:22 pclouds Exp $ + + 02 Sep 2006; Nguyễn Thái Ngọc Duy <pclouds@gentoo.org> + +files/ruby-sdl-1.1.0-sdl-mixer.patch, ruby-sdl-1.1.0.ebuild: + Fixed #96694 12 Jul 2006; Danny van Dyk <kugelfang@gentoo.org> ruby-sdl-1.0.0-r1.ebuild: diff --git a/dev-ruby/ruby-sdl/files/ruby-sdl-1.1.0-sdl-mixer.patch b/dev-ruby/ruby-sdl/files/ruby-sdl-1.1.0-sdl-mixer.patch new file mode 100644 index 000000000000..8767d3ebae80 --- /dev/null +++ b/dev-ruby/ruby-sdl/files/ruby-sdl-1.1.0-sdl-mixer.patch @@ -0,0 +1,10 @@ +--- rubysdl_smpeg.c 2006-09-02 09:40:13.000000000 +0700 ++++ rubysdl_smpeg.c.new 2006-09-02 09:39:54.000000000 +0700 +@@ -20,7 +20,6 @@ + #ifdef HAVE_SMPEG + #include "rubysdl.h" + #include "smpeg/smpeg.h" +-#include "SDL_mixer.h" + + static SMPEG_Filter* filters[3]; + #define NULL_FILTER 0 diff --git a/dev-ruby/ruby-sdl/ruby-sdl-1.1.0.ebuild b/dev-ruby/ruby-sdl/ruby-sdl-1.1.0.ebuild index 1e702cc98450..1735d4f99eab 100644 --- a/dev-ruby/ruby-sdl/ruby-sdl-1.1.0.ebuild +++ b/dev-ruby/ruby-sdl/ruby-sdl-1.1.0.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-sdl/ruby-sdl-1.1.0.ebuild,v 1.1 2006/05/12 19:59:31 caleb Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-sdl/ruby-sdl-1.1.0.ebuild,v 1.2 2006/09/02 02:51:22 pclouds Exp $ + +inherit eutils MY_P="${P/-/}" S="${WORKDIR}/${MY_P}" @@ -27,6 +29,12 @@ RDEPEND="virtual/ruby mpeg? ( >=media-libs/smpeg-0.4.4-r1 )" # sge? ( >=media-libs/sge ) +src_unpack() { + unpack ${A} + cd ${S} + epatch "${FILESDIR}/${PN}-1.1.0-sdl-mixer.patch" +} + src_compile() { ruby extconf.rb || die "extconf.rb failed" emake || die "emake failed" |