Summary: | games-board/gtkboard-0.11_pre0 - ld: ui.o: undefined reference to symbol 'g_module_error' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Nico Baggus <mlspamcb> |
Component: | [OLD] Games | Assignee: | Gentoo Games <games> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 372079 | ||
Attachments: |
gtkboard-0.11_pre0-underlinking.patch
gtkboard-0.11_pre0-underlinking.patch |
Description
Nico Baggus
2014-01-06 00:38:06 UTC
--- gtkboard-0.11_pre0.ebuild 2013-06-29 19:01:17.000000000 +0200 +++ gtkboard-0.11_pre0.ebuild 2014-01-29 00:17:26.856796226 +0100 @@ -3,7 +3,7 @@ # $Header: /var/cvsroot/gentoo-x86/games-board/gtkboard/gtkboard-0.11_pre0.ebuild,v 1.19 2013/06/29 16:39:05 mr_bones_ Exp $ EAPI=5 -inherit eutils games +inherit eutils games autotools MY_P=${P/_} DESCRIPTION="Board games system" @@ -27,8 +27,17 @@ PATCHES=( "${FILESDIR}"/${P}-gcc41.patch "${FILESDIR}"/${P}-gcc45.patch + "${FILESDIR}"/${P}-underlinking.patch ) +src_prepare() { + for x in "${PATCHES[@]}"; do + epatch "${x}" + done + + eautoreconf +} + src_configure() { egamesconf \ --disable-dependency-tracking \ Created attachment 369018 [details, diff]
gtkboard-0.11_pre0-underlinking.patch
My patch adds checks for libgmodule and whether -lm is necessary. Created attachment 369042 [details, diff]
gtkboard-0.11_pre0-underlinking.patch
Check for cos with -lm was slightly awkward, changed it to AC_SEARCH_LIBS now.
Fixed. Thanks for report |