summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2013-03-10 14:23:03 +0000
committerMichael Palimaka <kensington@gentoo.org>2013-03-10 14:23:03 +0000
commit7f41f2e73aca194e8de0b5e388add55ce6628182 (patch)
treef223921a9a54c743b473c047a072b5faebf2f48f /sci-libs/indilib
parentKeyword ~mips (diff)
downloadgentoo-2-7f41f2e73aca194e8de0b5e388add55ce6628182.tar.gz
gentoo-2-7f41f2e73aca194e8de0b5e388add55ce6628182.tar.bz2
gentoo-2-7f41f2e73aca194e8de0b5e388add55ce6628182.zip
Add patch to solve underlinking issue.
(Portage version: 2.1.11.55/cvs/Linux x86_64, signed Manifest commit with key 675D0D2C)
Diffstat (limited to 'sci-libs/indilib')
-rw-r--r--sci-libs/indilib/ChangeLog6
-rw-r--r--sci-libs/indilib/files/indilib-0.9.6-underlinking.patch11
-rw-r--r--sci-libs/indilib/indilib-0.9.6.ebuild3
3 files changed, 18 insertions, 2 deletions
diff --git a/sci-libs/indilib/ChangeLog b/sci-libs/indilib/ChangeLog
index fe0577e9601b..25f360b477f6 100644
--- a/sci-libs/indilib/ChangeLog
+++ b/sci-libs/indilib/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-libs/indilib
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/indilib/ChangeLog,v 1.29 2013/03/10 11:08:17 kensington Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/indilib/ChangeLog,v 1.30 2013/03/10 14:23:03 kensington Exp $
+
+ 10 Mar 2013; Michael Palimaka <kensington@gentoo.org>
+ +files/indilib-0.9.6-underlinking.patch, indilib-0.9.6.ebuild:
+ Add patch to solve underlinking issue.
10 Mar 2013; Michael Palimaka <kensington@gentoo.org> indilib-0.9.1.ebuild,
indilib-0.9.5.ebuild, indilib-0.9.6.ebuild, metadata.xml:
diff --git a/sci-libs/indilib/files/indilib-0.9.6-underlinking.patch b/sci-libs/indilib/files/indilib-0.9.6-underlinking.patch
new file mode 100644
index 000000000000..eff691697960
--- /dev/null
+++ b/sci-libs/indilib/files/indilib-0.9.6-underlinking.patch
@@ -0,0 +1,11 @@
+--- CMakeLists.txt
++++ CMakeLists.txt
+@@ -169,7 +169,7 @@
+ # To link with main() and indibase classes ######
+ ##################################################
+ add_library(indidriver SHARED ${libindicom_SRCS} ${liblilxml_SRCS} ${indimain_SRCS} ${indidriver_SRCS})
+-target_link_libraries(indidriver ${LIBUSB_LIBRARIES})
++target_link_libraries(indidriver z ${LIBUSB_LIBRARIES})
+ if (NOVA_FOUND)
+ target_link_libraries(indidriver ${NOVA_LIBRARIES})
+ endif(NOVA_FOUND)
diff --git a/sci-libs/indilib/indilib-0.9.6.ebuild b/sci-libs/indilib/indilib-0.9.6.ebuild
index 5037972a8e52..16bb3b9a2388 100644
--- a/sci-libs/indilib/indilib-0.9.6.ebuild
+++ b/sci-libs/indilib/indilib-0.9.6.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/indilib/indilib-0.9.6.ebuild,v 1.2 2013/03/10 11:08:17 kensington Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/indilib/indilib-0.9.6.ebuild,v 1.3 2013/03/10 14:23:03 kensington Exp $
EAPI=5
@@ -31,6 +31,7 @@ DOCS=( AUTHORS ChangeLog README README.drivers TODO )
PATCHES=(
"${FILESDIR}/0.9.1-fix_symlinks.patch"
+ "${FILESDIR}/${P}-underlinking.patch"
)
S=${WORKDIR}/${MY_PN}-${PV}