From: Diego Elio Pettenò Date: Tue, 28 Mar 2006 06:44:07 +0000 (+0000) Subject: Add patch to make i18n support respect LDFLAGS and set a soname. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0c83ed2f416ce46eb480f37b771cc97b1b34b6b4;p=gentoo.git Add patch to make i18n support respect LDFLAGS and set a soname. Package-Manager: portage-2.1_pre7-r2 --- diff --git a/media-tv/xdtv/ChangeLog b/media-tv/xdtv/ChangeLog index 107cb109ffb8..50d4d254ac74 100644 --- a/media-tv/xdtv/ChangeLog +++ b/media-tv/xdtv/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-tv/xdtv # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/xdtv/ChangeLog,v 1.24 2006/03/14 23:47:38 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-tv/xdtv/ChangeLog,v 1.25 2006/03/28 06:44:07 flameeyes Exp $ + + 28 Mar 2006; Diego Pettenò + +files/libxdtv-i18n-all-1.3.0-ldflags.patch, xdtv-2.3.2.ebuild: + Add patch to make i18n support respect LDFLAGS and set a soname. 14 Mar 2006; Diego Pettenò xdtv-2.3.2.ebuild: Drop fonts installed by autotools. diff --git a/media-tv/xdtv/Manifest b/media-tv/xdtv/Manifest index 910a05ca1d3d..7b5505b3f360 100644 --- a/media-tv/xdtv/Manifest +++ b/media-tv/xdtv/Manifest @@ -1,9 +1,9 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 2c96625d150bcccf4366a91f74bfd87d ChangeLog 3904 -RMD160 6a91d8b357513607536531a496eb8d8f99bd7745 ChangeLog 3904 -SHA256 16301cc021861f41204daa281e58300005a7eeb03c02054caa7aaad3e7296463 ChangeLog 3904 +MD5 e15b83ab6651738ced3d9064cde8cbd2 ChangeLog 4091 +RMD160 44559fb77a2ff95a9587eedbc4e4ce8cbf3ef392 ChangeLog 4091 +SHA256 834005d31da42ed2d6ebe5c479859063b00f4611e62a05293334d5b206a9cad9 ChangeLog 4091 MD5 1e0e7da6d22eed35ae25e84d5b0dcad7 files/digest-xdtv-2.2.0-r1 1777 RMD160 6339a0c25a7d00a13ffa578b0fd62c1061cf211c files/digest-xdtv-2.2.0-r1 1777 SHA256 45c5a060e6eaadcb583bc590d8321afa55889cc537ec4a22a0b5bb93df09067e files/digest-xdtv-2.2.0-r1 1777 @@ -16,6 +16,9 @@ SHA256 195e36fa50368cf4408c2510db3fdf03324f263f2ad71f89fc6bab2ddaac56c9 files/di MD5 3f1bba358a9be07d40ddc7e8b594c096 files/digest-xdtv-2.3.2 8635 RMD160 8b10d142590985d4b6e1e0d28e02eea1d024d327 files/digest-xdtv-2.3.2 8635 SHA256 6289ace74ec4040c285b684b8e22132b05d97571fe6020e6c93736eb9e643cd3 files/digest-xdtv-2.3.2 8635 +MD5 7d0c59969eb23101640e6c3881ff62e8 files/libxdtv-i18n-all-1.3.0-ldflags.patch 551 +RMD160 91e4d23410d0da27c330f84aeacc388bc723b83f files/libxdtv-i18n-all-1.3.0-ldflags.patch 551 +SHA256 97028239e4386ec033d5e4cb392142a2c18fd2ce34f1476b95b0b5f6bfbb0df8 files/libxdtv-i18n-all-1.3.0-ldflags.patch 551 MD5 109eefe229d78684737dd214b4ccde82 files/xdtv-2.3.0-setXid.patch 470 RMD160 b117b1f8c453b99fe97887f9c126bcf57fd56bed files/xdtv-2.3.0-setXid.patch 470 SHA256 1ca929d9d908592bc7374d430dd4cb1d850d55634a37334be0764ff66d2a1c70 files/xdtv-2.3.0-setXid.patch 470 @@ -31,13 +34,13 @@ SHA256 c7abf36c5202f902f8a540575bbadaaa69c580718ffd6dd91465180049fcf55f xdtv-2.3 MD5 e45e6ffcb934d16f7aa348c03dc3c81a xdtv-2.3.1.ebuild 5106 RMD160 151aba8e4c9818bda7c2232f2fab6a3d65d65cd0 xdtv-2.3.1.ebuild 5106 SHA256 9f8093e01d425e4992909c19a5e42aca7c04daf2890db5cc943d7c95217c148a xdtv-2.3.1.ebuild 5106 -MD5 d1809d87ca2cb132b2f393d3960934f9 xdtv-2.3.2.ebuild 5377 -RMD160 b6c52a2a98705a40a01b2353aa9500dd18cc61f7 xdtv-2.3.2.ebuild 5377 -SHA256 f4a97aa4079cee4c3c7c6b87e58bac114367fd88a9fce603a131feb896b2f841 xdtv-2.3.2.ebuild 5377 +MD5 4a84aee0dea0e100ded13215313b9644 xdtv-2.3.2.ebuild 5442 +RMD160 2eab7b946e68a0f06b8f18e618d46f56da1795f9 xdtv-2.3.2.ebuild 5442 +SHA256 04386519951c6abd536e5d5f1c39b1d2e852c0afe860c307a434cae07f6a12ca xdtv-2.3.2.ebuild 5442 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) -iD8DBQFEF1YnAiZjviIA2XgRArj/AKCH49FQ4nBS7nuTvVUlcamrrSphUgCgzbKp -Gk/5wvgVkyTe2mMnwd3dbAQ= -=R1NG +iD8DBQFEKNswAiZjviIA2XgRAoszAKCmzDftDMYcewFbxC816e0glJdH4QCdHLmd +tNk1iMCpoVFC5CI+n0E3rDs= +=RWfm -----END PGP SIGNATURE----- diff --git a/media-tv/xdtv/files/libxdtv-i18n-all-1.3.0-ldflags.patch b/media-tv/xdtv/files/libxdtv-i18n-all-1.3.0-ldflags.patch new file mode 100644 index 000000000000..ee3dcf1c4f79 --- /dev/null +++ b/media-tv/xdtv/files/libxdtv-i18n-all-1.3.0-ldflags.patch @@ -0,0 +1,19 @@ +Index: libxdtv-i18n-en-1.3.0/src/Makefile.in +=================================================================== +--- libxdtv-i18n-en-1.3.0.orig/src/Makefile.in ++++ libxdtv-i18n-en-1.3.0/src/Makefile.in +@@ -2,13 +2,9 @@ LIBDIR=$(ROOT)/@prefix@/lib/xdtv/ + + VERSION=@LIB_VERSION@ + NAME=@PACKAGE@ +-PIC=@PIC@ +- +-GCC=gcc +-CFLAGS=-Wall -shared -O4 @PIC@ + + all: +- $(GCC) $(CFLAGS) lib-pixmaps.c -o $(NAME).so ++ $(CC) -shared @PIC@ $(CFLAGS) $(LDFLAGS) -Wl,-soname,$(NAME).so lib-pixmaps.c -o $(NAME).so + + install: + mkdir -p $(R)$(DESTDIR)$(LIBDIR) diff --git a/media-tv/xdtv/xdtv-2.3.2.ebuild b/media-tv/xdtv/xdtv-2.3.2.ebuild index f754bfe34611..fb5f44e28c1f 100644 --- a/media-tv/xdtv/xdtv-2.3.2.ebuild +++ b/media-tv/xdtv/xdtv-2.3.2.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-tv/xdtv/xdtv-2.3.2.ebuild,v 1.2 2006/03/14 23:47:38 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-tv/xdtv/xdtv-2.3.2.ebuild,v 1.3 2006/03/28 06:44:07 flameeyes Exp $ inherit font multilib autotools flag-o-matic @@ -85,6 +85,8 @@ extension_compile() { einfo "Building ${1}" cd ${WORKDIR}/${1} + epatch "${FILESDIR}/libxdtv-i18n-all-${I18N_PV}-ldflags.patch" + econf || die "econf failed" emake || die "emake failed" }