diff options
author | Alexis Ballier <aballier@gentoo.org> | 2006-10-15 15:48:35 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2006-10-15 15:48:35 +0000 |
commit | bec0a66c49c17570bdfacfa547a5af4f13123a55 (patch) | |
tree | 0eecdae597bdf736b6f02f31836055fe4d9f6077 /media-libs/libmpeg3 | |
parent | Fixed wording in postinstall message. (diff) | |
download | gentoo-2-bec0a66c49c17570bdfacfa547a5af4f13123a55.tar.gz gentoo-2-bec0a66c49c17570bdfacfa547a5af4f13123a55.tar.bz2 gentoo-2-bec0a66c49c17570bdfacfa547a5af4f13123a55.zip |
Patch to give a soname to libmpeg3.so, bug #132381, thanks to Dick Marinus
(Portage version: 2.1.2_pre3-r2)
Diffstat (limited to 'media-libs/libmpeg3')
-rw-r--r-- | media-libs/libmpeg3/ChangeLog | 7 | ||||
-rw-r--r-- | media-libs/libmpeg3/files/libmpeg3-1.5.2-soname.patch | 11 | ||||
-rw-r--r-- | media-libs/libmpeg3/libmpeg3-1.5.2-r3.ebuild | 3 |
3 files changed, 19 insertions, 2 deletions
diff --git a/media-libs/libmpeg3/ChangeLog b/media-libs/libmpeg3/ChangeLog index 8e368ebc998f..da50bca38130 100644 --- a/media-libs/libmpeg3/ChangeLog +++ b/media-libs/libmpeg3/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-libs/libmpeg3 # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libmpeg3/ChangeLog,v 1.53 2006/10/14 16:16:13 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libmpeg3/ChangeLog,v 1.54 2006/10/15 15:48:35 aballier Exp $ + + 15 Oct 2006; Alexis Ballier <aballier@gentoo.org> + +files/libmpeg3-1.5.2-soname.patch, libmpeg3-1.5.2-r3.ebuild: + Patch to give a soname to libmpeg3.so, bug #132381, thanks to Dick Marinus + <dm@chello.nl> 14 Oct 2006; Aron Griffis <agriffis@gentoo.org> libmpeg3-1.7.ebuild: Mark 1.7 ~ia64. #150799 diff --git a/media-libs/libmpeg3/files/libmpeg3-1.5.2-soname.patch b/media-libs/libmpeg3/files/libmpeg3-1.5.2-soname.patch new file mode 100644 index 000000000000..caae199dc5db --- /dev/null +++ b/media-libs/libmpeg3/files/libmpeg3-1.5.2-soname.patch @@ -0,0 +1,11 @@ +--- libmpeg3-1.5.2/Makefile.old 2006-10-15 17:31:00.000000000 +0200 ++++ libmpeg3-1.5.2/Makefile 2006-10-15 17:31:33.000000000 +0200 +@@ -186,7 +186,7 @@ + ar rcs $(OUTPUT) `cat $(OBJDIR)/objs` + + $(SHAREDOUTPUT): $(LTOBJS) $(LTASMOBJS) $(NASMOBJS) +- gcc -shared -o $(SHAREDOUTPUT) $(LTOBJS) $(LTASMOBJS) $(NASMOBJS) $(LIBS) ++ gcc -shared -Wl,-soname=libmpeg3.so -o $(SHAREDOUTPUT) $(LTOBJS) $(LTASMOBJS) $(NASMOBJS) $(LIBS) + + $(OBJDIR)/mpeg3dump: $(OUTPUT) mpeg3dump.c + $(CC) `cat $(OBJDIR)/c_flags` -o $(OBJDIR)/mpeg3dump mpeg3dump.c $(OUTPUT) $(LIBS) diff --git a/media-libs/libmpeg3/libmpeg3-1.5.2-r3.ebuild b/media-libs/libmpeg3/libmpeg3-1.5.2-r3.ebuild index 6753254402bb..24c8a78ec48a 100644 --- a/media-libs/libmpeg3/libmpeg3-1.5.2-r3.ebuild +++ b/media-libs/libmpeg3/libmpeg3-1.5.2-r3.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/libmpeg3/libmpeg3-1.5.2-r3.ebuild,v 1.10 2006/09/04 04:49:05 kumba Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libmpeg3/libmpeg3-1.5.2-r3.ebuild,v 1.11 2006/10/15 15:48:35 aballier Exp $ inherit flag-o-matic eutils toolchain-funcs @@ -49,6 +49,7 @@ src_unpack() { epatch "${FILESDIR}/${P}-a52.patch" epatch "${FILESDIR}/${P}-gnustack.patch" epatch "${DISTDIR}/${P}-textrel-fix.patch.bz2" + epatch "${FILESDIR}/${P}-soname.patch" if ! use mmx; then sed -i -e 's:^NASM =.*:NASM =:' \ |