summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-03-28 06:44:07 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-03-28 06:44:07 +0000
commit90c356662dbb72c22bbf7eff8f11f02c94ae83be (patch)
tree462bfb3ad9c96b726a9d8223824e6d1a2ca88748 /media-tv/xdtv
parentFix from upstream for big endian hosts. (diff)
downloadgentoo-2-90c356662dbb72c22bbf7eff8f11f02c94ae83be.tar.gz
gentoo-2-90c356662dbb72c22bbf7eff8f11f02c94ae83be.tar.bz2
gentoo-2-90c356662dbb72c22bbf7eff8f11f02c94ae83be.zip
Add patch to make i18n support respect LDFLAGS and set a soname.
(Portage version: 2.1_pre7-r2)
Diffstat (limited to 'media-tv/xdtv')
-rw-r--r--media-tv/xdtv/ChangeLog6
-rw-r--r--media-tv/xdtv/files/libxdtv-i18n-all-1.3.0-ldflags.patch19
-rw-r--r--media-tv/xdtv/xdtv-2.3.2.ebuild4
3 files changed, 27 insertions, 2 deletions
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ò <flameeyes@gentoo.org>
+ +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ò <flameeyes@gentoo.org> xdtv-2.3.2.ebuild:
Drop fonts installed by autotools.
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"
}