diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2012-08-12 10:01:13 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2012-08-12 10:01:13 +0000 |
commit | ec72e1c7373e883852a871f9cf02aab3571f91ef (patch) | |
tree | a00a92906b9d34a3c7778cce9552cf6a29db633d /media-gfx | |
parent | old (diff) | |
download | gentoo-2-ec72e1c7373e883852a871f9cf02aab3571f91ef.tar.gz gentoo-2-ec72e1c7373e883852a871f9cf02aab3571f91ef.tar.bz2 gentoo-2-ec72e1c7373e883852a871f9cf02aab3571f91ef.zip |
Link to -lgthread-2.0 for symbol g_thread_init wrt #424505 by Andreas Prieß
(Portage version: 2.2.0_alpha121/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/rawstudio/ChangeLog | 6 | ||||
-rw-r--r-- | media-gfx/rawstudio/files/rawstudio-2.0-g_thread_init.patch | 15 | ||||
-rw-r--r-- | media-gfx/rawstudio/rawstudio-2.0.ebuild | 8 |
3 files changed, 25 insertions, 4 deletions
diff --git a/media-gfx/rawstudio/ChangeLog b/media-gfx/rawstudio/ChangeLog index bb756c5da8b6..b36c99cbcf39 100644 --- a/media-gfx/rawstudio/ChangeLog +++ b/media-gfx/rawstudio/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-gfx/rawstudio # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/rawstudio/ChangeLog,v 1.24 2012/05/05 07:00:24 jdhore Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/rawstudio/ChangeLog,v 1.25 2012/08/12 10:01:13 ssuominen Exp $ + + 12 Aug 2012; Samuli Suominen <ssuominen@gentoo.org> rawstudio-2.0.ebuild, + +files/rawstudio-2.0-g_thread_init.patch: + Link to -lgthread-2.0 for symbol g_thread_init wrt #424505 by Andreas Prieß 05 May 2012; Jeff Horelick <jdhore@gentoo.org> rawstudio-1.2.ebuild, rawstudio-2.0.ebuild: diff --git a/media-gfx/rawstudio/files/rawstudio-2.0-g_thread_init.patch b/media-gfx/rawstudio/files/rawstudio-2.0-g_thread_init.patch new file mode 100644 index 000000000000..9fc516926b18 --- /dev/null +++ b/media-gfx/rawstudio/files/rawstudio-2.0-g_thread_init.patch @@ -0,0 +1,15 @@ +GNU gold linker says 'undefined reference to g_thread_init' and fails. + +http://bugs.gentoo.org/424505 + +--- configure.in ++++ configure.in +@@ -83,7 +83,7 @@ + fi + AC_SUBST(LIBTIFF) + +-pkg_modules="gtk+-2.0 >= 2.8.0 libxml-2.0 >= 2.4 gconf-2.0 >= 2.0 lcms dbus-1 exiv2 fftw3f lensfun libcurl flickcurl sqlite3 libssl libgphoto2 x11" ++pkg_modules="gthread-2.0 gtk+-2.0 >= 2.8.0 libxml-2.0 >= 2.4 gconf-2.0 >= 2.0 lcms dbus-1 exiv2 fftw3f lensfun libcurl flickcurl sqlite3 libssl libgphoto2 x11" + PKG_CHECK_MODULES(PACKAGE, [$pkg_modules]) + AC_SUBST(PACKAGE_CFLAGS) + AC_SUBST(PACKAGE_LIBS) diff --git a/media-gfx/rawstudio/rawstudio-2.0.ebuild b/media-gfx/rawstudio/rawstudio-2.0.ebuild index 9aff073f0b8d..86301f3828ee 100644 --- a/media-gfx/rawstudio/rawstudio-2.0.ebuild +++ b/media-gfx/rawstudio/rawstudio-2.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/rawstudio/rawstudio-2.0.ebuild,v 1.2 2012/05/05 07:00:24 jdhore Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/rawstudio/rawstudio-2.0.ebuild,v 1.3 2012/08/12 10:01:13 ssuominen Exp $ EAPI=4 inherit autotools eutils @@ -40,7 +40,9 @@ DOCS=( AUTHORS NEWS README TODO ) src_prepare() { find . -name Makefile.am -exec sed -i -e 's:-O4:-Wall:' {} + sed -i -e '/^icondir/s:icons:pixmaps:' pixmaps/Makefile.am || die - epatch "${FILESDIR}"/${P}-libpng15.patch + epatch \ + "${FILESDIR}"/${P}-libpng15.patch \ + "${FILESDIR}"/${P}-g_thread_init.patch eautoreconf } @@ -50,5 +52,5 @@ src_configure() { src_install() { default - find "${ED}"usr -name '*.la' -exec rm -f {} + + prune_libtool_files --all } |