diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2011-05-05 15:17:41 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2011-05-05 15:17:41 +0000 |
commit | 28954c91319e3cb4780468b8f41faaf0a7df782c (patch) | |
tree | 883e011bc7bc78b70f478436bec77e023c5fcf3a | |
parent | Drop useless dodoc line. (diff) | |
download | gentoo-2-28954c91319e3cb4780468b8f41faaf0a7df782c.tar.gz gentoo-2-28954c91319e3cb4780468b8f41faaf0a7df782c.tar.bz2 gentoo-2-28954c91319e3cb4780468b8f41faaf0a7df782c.zip |
Fix building with SWIG 2 (bug #346605).
(Portage version: 2.2.0_alpha30_p50/cvs/Linux x86_64)
-rw-r--r-- | dev-python/pyfltk/ChangeLog | 6 | ||||
-rw-r--r-- | dev-python/pyfltk/files/pyfltk-1.1.5-swig-2.patch | 12 | ||||
-rw-r--r-- | dev-python/pyfltk/pyfltk-1.1.5.ebuild | 6 |
3 files changed, 21 insertions, 3 deletions
diff --git a/dev-python/pyfltk/ChangeLog b/dev-python/pyfltk/ChangeLog index 1dc6bc06cd79..5e8b194e117f 100644 --- a/dev-python/pyfltk/ChangeLog +++ b/dev-python/pyfltk/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/pyfltk # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyfltk/ChangeLog,v 1.26 2011/04/01 16:37:33 xarthisius Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyfltk/ChangeLog,v 1.27 2011/05/05 15:17:41 arfrever Exp $ + + 05 May 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + pyfltk-1.1.5.ebuild, +files/pyfltk-1.1.5-swig-2.patch: + Fix building with SWIG 2 (bug #346605). 01 Apr 2011; Kacper Kowalik <xarthisius@gentoo.org> pyfltk-1.1.5.ebuild: Marked ~ppc64 wrt #342297 diff --git a/dev-python/pyfltk/files/pyfltk-1.1.5-swig-2.patch b/dev-python/pyfltk/files/pyfltk-1.1.5-swig-2.patch new file mode 100644 index 000000000000..00ba76a64439 --- /dev/null +++ b/dev-python/pyfltk/files/pyfltk-1.1.5-swig-2.patch @@ -0,0 +1,12 @@ +http://pyfltk.svn.sourceforge.net/viewvc/pyfltk?view=revision&revision=463 + +--- swig/Fl.i ++++ swig/Fl.i +@@ -37,6 +37,7 @@ + %ignore Fl::remove_handler; + %ignore Fl::remove_check; + %ignore Fl::gl_visual; ++%ignore Fl::get_awake_handler_; + + #ifdef __APPLE__ + %ignore Fl::free_color() diff --git a/dev-python/pyfltk/pyfltk-1.1.5.ebuild b/dev-python/pyfltk/pyfltk-1.1.5.ebuild index 8e50c9f1bc36..f7c353303e47 100644 --- a/dev-python/pyfltk/pyfltk-1.1.5.ebuild +++ b/dev-python/pyfltk/pyfltk-1.1.5.ebuild @@ -1,11 +1,11 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyfltk/pyfltk-1.1.5.ebuild,v 1.9 2011/04/01 16:37:33 xarthisius Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyfltk/pyfltk-1.1.5.ebuild,v 1.10 2011/05/05 15:17:41 arfrever Exp $ EAPI="3" PYTHON_DEPEND="2" SUPPORT_PYTHON_ABIS="1" -RESTRICT_PYTHON_ABIS="3.*" +RESTRICT_PYTHON_ABIS="3.* *-jython" inherit distutils eutils @@ -36,6 +36,8 @@ src_prepare() { rm -f python/fltk* # move docs because the swig stuff will remove them use doc && cp -r fltk fltk.docs + + epatch "${FILESDIR}/${P}-swig-2.patch" } src_compile() { |