summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2012-05-29 23:09:27 +0000
committerJulian Ospald <hasufell@gentoo.org>2012-05-29 23:09:27 +0000
commit190e572972d5f1034d4b3a80a278af9f79e304be (patch)
tree424022f083a00cf80fe8abbec662c49d70b56592 /app-admin/hardinfo
parentRemove extra python shebangs that prevented applications to start when python... (diff)
downloadgentoo-2-190e572972d5f1034d4b3a80a278af9f79e304be.tar.gz
gentoo-2-190e572972d5f1034d4b3a80a278af9f79e304be.tar.bz2
gentoo-2-190e572972d5f1034d4b3a80a278af9f79e304be.zip
fix underlinking wrt #418121
(Portage version: 2.2.0_alpha108/cvs/Linux x86_64)
Diffstat (limited to 'app-admin/hardinfo')
-rw-r--r--app-admin/hardinfo/ChangeLog7
-rw-r--r--app-admin/hardinfo/files/hardinfo-0.5.2_pre20120527-underlinking.patch16
-rw-r--r--app-admin/hardinfo/hardinfo-0.5.2_pre20120527.ebuild5
3 files changed, 25 insertions, 3 deletions
diff --git a/app-admin/hardinfo/ChangeLog b/app-admin/hardinfo/ChangeLog
index 034d29b6d811..982a2914e19d 100644
--- a/app-admin/hardinfo/ChangeLog
+++ b/app-admin/hardinfo/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-admin/hardinfo
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/hardinfo/ChangeLog,v 1.3 2012/05/27 13:43:02 hasufell Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/hardinfo/ChangeLog,v 1.4 2012/05/29 23:09:26 hasufell Exp $
+
+ 29 May 2012; Julian Ospald <hasufell@gentoo.org>
+ hardinfo-0.5.2_pre20120527.ebuild,
+ +files/hardinfo-0.5.2_pre20120527-underlinking.patch:
+ fix underlinking wrt #418121
27 May 2012; Julian Ospald <hasufell@gentoo.org>
hardinfo-0.5.2_pre20120527.ebuild:
diff --git a/app-admin/hardinfo/files/hardinfo-0.5.2_pre20120527-underlinking.patch b/app-admin/hardinfo/files/hardinfo-0.5.2_pre20120527-underlinking.patch
new file mode 100644
index 000000000000..b726c5055939
--- /dev/null
+++ b/app-admin/hardinfo/files/hardinfo-0.5.2_pre20120527-underlinking.patch
@@ -0,0 +1,16 @@
+From: Slawomir Nizio <slawomir.nizio@sabayon.org>
+Date: Tue May 29 11:52:00 UTC 2012
+Subject: build system
+
+fix underlinking wrt https://bugs.gentoo.org/show_bug.cgi?id=418121
+
+--- CMakeLists.txt
++++ CMakeLists.txt
+@@ -171,6 +171,7 @@
+ ${GTK_LIBRARIES}
+ ${LIBSOUP_LIBRARIES}
+ hardinfo-shell
++ m
+ )
+ target_link_libraries(hardinfo-shell
+ hardinfo-help-viewer
diff --git a/app-admin/hardinfo/hardinfo-0.5.2_pre20120527.ebuild b/app-admin/hardinfo/hardinfo-0.5.2_pre20120527.ebuild
index 25550b8fe1e3..918b66c59607 100644
--- a/app-admin/hardinfo/hardinfo-0.5.2_pre20120527.ebuild
+++ b/app-admin/hardinfo/hardinfo-0.5.2_pre20120527.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/app-admin/hardinfo/hardinfo-0.5.2_pre20120527.ebuild,v 1.2 2012/05/27 13:43:02 hasufell Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/hardinfo/hardinfo-0.5.2_pre20120527.ebuild,v 1.3 2012/05/29 23:09:26 hasufell Exp $
EAPI=4
@@ -24,7 +24,8 @@ DEPEND="${RDEPEND}
virtual/pkgconfig"
src_prepare() {
- epatch "${FILESDIR}"/${P}-build.patch
+ epatch "${FILESDIR}"/${P}-build.patch \
+ "${FILESDIR}"/${P}-underlinking.patch
sed \
-e 's/g_build_filename(prefix, "lib"/g_build_filename(prefix, "'$(get_libdir)'"/' \