summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Mende <angelos@gentoo.org>2011-05-13 14:44:41 +0000
committerChristoph Mende <angelos@gentoo.org>2011-05-13 14:44:41 +0000
commit4c87cee63bc03653c222ec8f01b7d41297825f22 (patch)
treed28b0ab86aaa5be4f8604bc2f7b631ab3726d01f /media-sound
parentStable for HPPA (bug #363965). (diff)
downloadhistorical-4c87cee63bc03653c222ec8f01b7d41297825f22.tar.gz
historical-4c87cee63bc03653c222ec8f01b7d41297825f22.tar.bz2
historical-4c87cee63bc03653c222ec8f01b7d41297825f22.zip
Fix compilation with forced as-needed (bug #367093)
Package-Manager: portage-2.2.0_alpha32/cvs/Linux x86_64
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/qmidiarp/ChangeLog6
-rw-r--r--media-sound/qmidiarp/Manifest11
-rw-r--r--media-sound/qmidiarp/files/qmidiarp-0.3.9-ldadd.patch23
-rw-r--r--media-sound/qmidiarp/qmidiarp-0.3.9.ebuild8
4 files changed, 41 insertions, 7 deletions
diff --git a/media-sound/qmidiarp/ChangeLog b/media-sound/qmidiarp/ChangeLog
index ec317ba96644..596c8a227522 100644
--- a/media-sound/qmidiarp/ChangeLog
+++ b/media-sound/qmidiarp/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-sound/qmidiarp
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/qmidiarp/ChangeLog,v 1.12 2011/04/26 12:24:00 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/qmidiarp/ChangeLog,v 1.13 2011/05/13 14:44:41 angelos Exp $
+
+ 13 May 2011; Christoph Mende <angelos@gentoo.org> qmidiarp-0.3.9.ebuild,
+ +files/qmidiarp-0.3.9-ldadd.patch:
+ Fix compilation with forced as-needed (bug #367093)
*qmidiarp-0.3.9 (26 Apr 2011)
diff --git a/media-sound/qmidiarp/Manifest b/media-sound/qmidiarp/Manifest
index 5897cb8bb14a..f6f43588b0ba 100644
--- a/media-sound/qmidiarp/Manifest
+++ b/media-sound/qmidiarp/Manifest
@@ -1,14 +1,15 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
+AUX qmidiarp-0.3.9-ldadd.patch 643 RMD160 d8f4bc7a777d9eccbb33b4168d85c735b5c5fcd2 SHA1 ab626db75583ad2e109ff33b40c02ffc16f39d6e SHA256 510fe5ce8433a1e1dadeb9cee080ce5a247bcf0ade6f46d61e16f353a52a9852
DIST qmidiarp-0.3.9.tar.bz2 185426 RMD160 2ac5350a92fdac01bd8340b2eed8abc21413d6a0 SHA1 24c2b48233e5aa0e741d3b1682ba843898209c4b SHA256 0e9b9de1e8f0e54e253a20d985ea923275a006eacc17281f48644b96ae3d01fc
-EBUILD qmidiarp-0.3.9.ebuild 616 RMD160 4c9a3bccd7f59673396761194b59029fea21a84f SHA1 8229b86a7207320ed960344f7a2338ab357fe024 SHA256 6cb1a34cbc24ed74b10912ec3b9ef7d67cc8dd47bbc3bd834949aa7ebfe9245d
-MISC ChangeLog 376 RMD160 c1e5bd41d7abe2e62b79fc9bd8f4d588a7cdd219 SHA1 1241a5f5a4306a97b2735b422f2b37a4300cdf57 SHA256 6b3687a3abd06031ca5598947f11762ac4cdad29825f4f8188ff5c4eb2be99a2
+EBUILD qmidiarp-0.3.9.ebuild 708 RMD160 0731d1b33f391710ea24e21a73d73d85e1bb7aa9 SHA1 a025249854ec71bdee3fa15a7805782bdcfd6b1a SHA256 41dc1deffffde9d893c04fc673858f308ea2ee9a2851eaa15b7ad3fd6f0d2d9c
+MISC ChangeLog 541 RMD160 c975b1b0f13e2939aef128ee1a602d9c18f3f5d2 SHA1 9d5e88f38f89cc00898f69e0ca8bd749e0d923fd SHA256 e7e17a12f56f1f187a655d533327db5b090a734edc10f9f030c9e1789c680c90
MISC metadata.xml 158 RMD160 6842e2189a50bd8a98e84802c38180ac1421c00e SHA1 703cea5a2109d41f7c87993c1f01d418a4c85174 SHA256 dfb5b47e6836db39fb187301dfcff1c2605e91d13d21db160806a563d8c75f9b
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iF4EAREIAAYFAk22ubkACgkQXkR9YqOcLPFxpgD+JPJF7IA/aR5dP6ZGbTJOkFUJ
-xWZGy8hC/Qa96CZHNgwA/3pvzW0LvambUw9kl7itefuyCBHcoDjiYOCgWrNgpXef
-=h4E1
+iF4EAREIAAYFAk3NQ94ACgkQmWq1bYTyC0NJPAD/ZfcTej1zGqGlw51xRnCJZ9ZB
+37SsLNs9wDuXrFSb1TsBAJ9AIMFcGXb+yVai2A18ne96XZDW9qapsCfnSFwyBivJ
+=2KgG
-----END PGP SIGNATURE-----
diff --git a/media-sound/qmidiarp/files/qmidiarp-0.3.9-ldadd.patch b/media-sound/qmidiarp/files/qmidiarp-0.3.9-ldadd.patch
new file mode 100644
index 000000000000..e4ffeb1660a0
--- /dev/null
+++ b/media-sound/qmidiarp/files/qmidiarp-0.3.9-ldadd.patch
@@ -0,0 +1,23 @@
+diff --git a/src/Makefile.am b/src/Makefile.am
+index e2385d0..2c22252 100644
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -44,6 +44,8 @@ qmidiarp_SOURCES = \
+ seqdriver.cpp seqdriver.h \
+ slider.cpp slider.h
+
++qmidiarp_LDADD = $(QT_LIBS)
++
+ translationsdir = $(pkgdatadir)/translations
+ translations = \
+ translations/qmidiarp_de.ts \
+@@ -54,8 +56,7 @@ translations_DATA = \
+ translations/qmidiarp_fr.qm
+
+
+-AM_LDFLAGS = @QT_LIBS@ @DEFS@
+-AM_CXXFLAGS = @QT_CXXFLAGS@
++AM_CPPFLAGS = @QT_CXXFLAGS@
+ DEFS = -Wall -Wextra -D_REENTRANT -DTRANSLATIONSDIR=\"$(translationsdir)\" @DEFS@
+
+ # misc files which are distributed but not installed
diff --git a/media-sound/qmidiarp/qmidiarp-0.3.9.ebuild b/media-sound/qmidiarp/qmidiarp-0.3.9.ebuild
index 5918e1d36ce3..1c5a711b4dd9 100644
--- a/media-sound/qmidiarp/qmidiarp-0.3.9.ebuild
+++ b/media-sound/qmidiarp/qmidiarp-0.3.9.ebuild
@@ -1,8 +1,9 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/qmidiarp/qmidiarp-0.3.9.ebuild,v 1.1 2011/04/26 12:24:00 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/qmidiarp/qmidiarp-0.3.9.ebuild,v 1.2 2011/05/13 14:44:41 angelos Exp $
EAPI=4
+inherit autotools eutils
DESCRIPTION="An arpeggiator, sequencer and MIDI LFO for ALSA"
HOMEPAGE="http://qmidiarp.sourceforge.net/"
@@ -20,3 +21,8 @@ DEPEND="${RDEPEND}
dev-util/pkgconfig"
DOCS="AUTHORS ChangeLog NEWS README"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-ldadd.patch
+ eautomake
+}