From d8dc9703ed7d3e8f21297f0bbd11d6effa05d7a2 Mon Sep 17 00:00:00 2001 From: Diego Elio Pettenò Date: Mon, 6 Feb 2006 20:52:08 +0000 Subject: Add patch to allow building with --as-needed in LDFLAGS (missing libm linking). Package-Manager: portage-2.1_pre4-r1 --- media-libs/libmodplug/ChangeLog | 6 +++++- media-libs/libmodplug/Manifest | 23 +++++++++++++++++----- .../libmodplug/files/libmodplug-0.7-asneeded.patch | 11 +++++++++++ media-libs/libmodplug/libmodplug-0.7.ebuild | 4 +++- 4 files changed, 37 insertions(+), 7 deletions(-) create mode 100644 media-libs/libmodplug/files/libmodplug-0.7-asneeded.patch (limited to 'media-libs/libmodplug') diff --git a/media-libs/libmodplug/ChangeLog b/media-libs/libmodplug/ChangeLog index 20ed393be997..264a7c4b2aa5 100644 --- a/media-libs/libmodplug/ChangeLog +++ b/media-libs/libmodplug/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-libs/libmodplug # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libmodplug/ChangeLog,v 1.8 2006/01/22 23:59:46 josejx Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libmodplug/ChangeLog,v 1.9 2006/02/06 20:52:08 flameeyes Exp $ + + 06 Feb 2006; Diego Pettenò + +files/libmodplug-0.7-asneeded.patch, libmodplug-0.7.ebuild: + Add patch to allow building with --as-needed in LDFLAGS (missing libm linking). 22 Jan 2006; Joseph Jezak libmodplug-0.7.ebuild: Marked ppc stable. diff --git a/media-libs/libmodplug/Manifest b/media-libs/libmodplug/Manifest index ad1440350829..bc23996b2c96 100644 --- a/media-libs/libmodplug/Manifest +++ b/media-libs/libmodplug/Manifest @@ -1,15 +1,28 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 c358acecbf3acaeff4577a1cf92b7eec ChangeLog 865 +MD5 0b7c7e985dad5a5c8f61890275eb939a ChangeLog 1067 +RMD160 af93c8fcafb6bdf9d08aaf1b4a0331d88d6858f7 ChangeLog 1067 +SHA256 e5987040f179f1efc4c785a2de9a20d42d53a53b24b494d88b000007eefb7d4b ChangeLog 1067 MD5 5009236d8b451fecef858961aed24428 files/digest-libmodplug-0.7 66 +RMD160 7e7b0a438de10bf76da0d1c96111548761540c38 files/digest-libmodplug-0.7 66 +SHA256 41053000021ec22c91a3b7328c9da9a5dd8b1d3c6f03e9f425d74f263a4e75ec files/digest-libmodplug-0.7 66 MD5 b10f6248932b7fd4ce0df1a025df6e8a files/libmodplug-0.7-amd64.patch 1550 -MD5 c9eca541478535d6c9ec01b4c95af3f4 libmodplug-0.7.ebuild 748 +RMD160 b3bb1b94f9abfa921b06556640e39017cf0238f9 files/libmodplug-0.7-amd64.patch 1550 +SHA256 2d11e29894222c3b4332019fabb1757701ad57e5027b114c01e98ba06e5793bc files/libmodplug-0.7-amd64.patch 1550 +MD5 9ad05c4679d06d99935b79cc3ad19026 files/libmodplug-0.7-asneeded.patch 421 +RMD160 453028054887c5366aee85a34bfb7571c787fff4 files/libmodplug-0.7-asneeded.patch 421 +SHA256 221ce05b1f727f2c22747463db6b3917f32d74a9cd26ad6c24f96738975568e3 files/libmodplug-0.7-asneeded.patch 421 +MD5 908b9e449188aa87fd5f05e233c3f3b2 libmodplug-0.7.ebuild 802 +RMD160 ed8e24d445022540290482d5c37d833cc0006471 libmodplug-0.7.ebuild 802 +SHA256 93929056d82e189002c461656cd301b863b671cb1140d11f2c400de33069de33 libmodplug-0.7.ebuild 802 MD5 319fe8f45b51a2d31f8d4e9a4071ca10 metadata.xml 248 +RMD160 f9de13e16a150195633b055ebe61bb4cea95160d metadata.xml 248 +SHA256 6a8ca116bded5cdd92cb700f92acd22b01ae159ef1b69c60a03fc9859bb9b3d6 metadata.xml 248 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) -iD8DBQFD1Bx9csIHjyDViGQRApcfAJ0fKh0ysHlnW643+v4fXUUnrL/SkgCdHzYC -Wgc1Zs5gYR+8tgl9L2nZai0= -=Kc2h +iD8DBQFD57cGAiZjviIA2XgRAj4DAJ9Se1g6hFhKRtSYFyI0HCVngQt3ywCfZHd7 +8k8nSflwL622woSIKDpJmAY= +=vRbC -----END PGP SIGNATURE----- diff --git a/media-libs/libmodplug/files/libmodplug-0.7-asneeded.patch b/media-libs/libmodplug/files/libmodplug-0.7-asneeded.patch new file mode 100644 index 000000000000..26fc001f3d37 --- /dev/null +++ b/media-libs/libmodplug/files/libmodplug-0.7-asneeded.patch @@ -0,0 +1,11 @@ +Index: libmodplug-0.7/src/Makefile.am +=================================================================== +--- libmodplug-0.7.orig/src/Makefile.am ++++ libmodplug-0.7/src/Makefile.am +@@ -1,5 +1,6 @@ + INCLUDES = -Ilibmodplug + lib_LTLIBRARIES = libmodplug.la ++libmodplug_la_LIBADD = -lm + libmodplug_la_SOURCES = tables.cpp \ + sndmix.cpp \ + sndfile.cpp \ diff --git a/media-libs/libmodplug/libmodplug-0.7.ebuild b/media-libs/libmodplug/libmodplug-0.7.ebuild index 2cd50532ccc9..221c25e3e363 100644 --- a/media-libs/libmodplug/libmodplug-0.7.ebuild +++ b/media-libs/libmodplug/libmodplug-0.7.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libmodplug/libmodplug-0.7.ebuild,v 1.12 2006/01/22 23:59:46 josejx Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libmodplug/libmodplug-0.7.ebuild,v 1.13 2006/02/06 20:52:08 flameeyes Exp $ inherit eutils @@ -21,6 +21,8 @@ src_unpack() { unpack ${A} cd "${S}"/src/libmodplug epatch "${FILESDIR}"/${P}-amd64.patch + cd ${S} + epatch "${FILESDIR}/${P}-asneeded.patch" } src_install() { -- cgit v1.2.3-65-gdbad