summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2009-07-02 13:40:41 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2009-07-02 13:40:41 +0000
commitdfae053a0f37e8e3b06c80417887cafa7fedfb91 (patch)
tree3ef59f081e1b0689f4cce789b36840e9c095e6c1 /net-im
parentMask =sys-apps/portage-2.2.00.13734, does merge in reverse order with --nodeps. (diff)
downloadhistorical-dfae053a0f37e8e3b06c80417887cafa7fedfb91.tar.gz
historical-dfae053a0f37e8e3b06c80417887cafa7fedfb91.tar.bz2
historical-dfae053a0f37e8e3b06c80417887cafa7fedfb91.zip
Patch to compile with glibc-2.10 and gcc-4.4. Fixes bug 276204
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'net-im')
-rw-r--r--net-im/twittare/ChangeLog6
-rw-r--r--net-im/twittare/Manifest5
-rw-r--r--net-im/twittare/files/twittare-gcc-4.4-glibc-2.10.patch14
-rw-r--r--net-im/twittare/twittare-0.7.42.ebuild7
4 files changed, 28 insertions, 4 deletions
diff --git a/net-im/twittare/ChangeLog b/net-im/twittare/ChangeLog
index a90ad5eb0933..3fc32ae6d0fc 100644
--- a/net-im/twittare/ChangeLog
+++ b/net-im/twittare/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-im/twittare
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/twittare/ChangeLog,v 1.1 2009/05/10 11:35:02 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/twittare/ChangeLog,v 1.2 2009/07/02 13:40:40 hwoarang Exp $
+
+ 02 Jul 2009; <hwoarang@gentoo.org> twittare-0.7.42.ebuild,
+ +files/twittare-gcc-4.4-glibc-2.10.patch:
+ Patch to compile with glibc-2.10 and gcc-4.4. Fixes bug 276204
*twittare-0.7.42 (10 May 2009)
diff --git a/net-im/twittare/Manifest b/net-im/twittare/Manifest
index dc6762a73da5..a3d6b4108caa 100644
--- a/net-im/twittare/Manifest
+++ b/net-im/twittare/Manifest
@@ -1,4 +1,5 @@
+AUX twittare-gcc-4.4-glibc-2.10.patch 409 RMD160 3b81ca2cf6f1374c3516971062b7941ec900cc6a SHA1 5d5edf661d8c69a38038fb326d284f56cd7df39c SHA256 dfdc52e8a4b2d4470a79ad529b814d5cfcd0c5f0e991f70f51d206fbd55bc648
DIST twittare-0.7.42.tar.gz 207842 RMD160 ce6b66fb45ce84db573e8c8bbbe39dd80ddac1fe SHA1 e0e159a6a1ff169395defa453b256d955624def9 SHA256 1e603328250160bb0bea015a6cfa6dd9c1eb44eaaa2618282d4f5088f4b38809
-EBUILD twittare-0.7.42.ebuild 1414 RMD160 e80ee474fc5ac9852cfcd5bc307b1641c00ff7fe SHA1 f173bd6c12a6522062d7d6d5b0bf4660833bf869 SHA256 87ce49479de43306a9d018647050ac928eefbaab9f866add489833ea574a0ac8
-MISC ChangeLog 509 RMD160 06ddcdeaaf1a8a46487f47ae6eddf0cc0b968fe7 SHA1 b3a138063ed44ad87bd240310cbf03f02314d11e SHA256 8f406e02f843579818b63bdc186fc1c4a84f4fb37c526eb44459806577cf6334
+EBUILD twittare-0.7.42.ebuild 1490 RMD160 18cb8e79cefe2869611727823b686f2e6412c152 SHA1 392e27b9ace3261c04a19648b87105500fc25ddb SHA256 f29ef77f6ddd0ccec57fa4d59d0e5ef7841d1d49d3dbb27d9b2c8291e0387813
+MISC ChangeLog 680 RMD160 0eac83ea536cd8857a958203307d80f62c7a806a SHA1 c9a9cfe3436e3e8015763243d93587e5ad69cebc SHA256 d0e6e5bfd1e32464f7834cdf7d0efdfc9cfff8aeea0fdb3e78be0a320d5cc05d
MISC metadata.xml 294 RMD160 ac4e1baa0a1839ae0a807a9d4b915134788d6aa1 SHA1 82865de14486cb30dc9ebfe6f1aecc9c86c0075b SHA256 209af586ae032f00659b69da17d4186854660be14b244d31aa0bea2005c2c5ba
diff --git a/net-im/twittare/files/twittare-gcc-4.4-glibc-2.10.patch b/net-im/twittare/files/twittare-gcc-4.4-glibc-2.10.patch
new file mode 100644
index 000000000000..c45f9a5742cf
--- /dev/null
+++ b/net-im/twittare/files/twittare-gcc-4.4-glibc-2.10.patch
@@ -0,0 +1,14 @@
+Index: twittare-0.7.42/src/binreloc.cpp
+===================================================================
+--- twittare-0.7.42.orig/src/binreloc.cpp
++++ twittare-0.7.42/src/binreloc.cpp
+@@ -741,7 +741,8 @@ br_strndup (const char *str, size_t size
+ char *
+ br_dirname (const char *path)
+ {
+- char *end, *result;
++ const char *end;
++ char *result;
+
+ if (path == (const char *) NULL)
+ return (char *) NULL;
diff --git a/net-im/twittare/twittare-0.7.42.ebuild b/net-im/twittare/twittare-0.7.42.ebuild
index bde130a56555..ff4e3b4dc43d 100644
--- a/net-im/twittare/twittare-0.7.42.ebuild
+++ b/net-im/twittare/twittare-0.7.42.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/twittare/twittare-0.7.42.ebuild,v 1.1 2009/05/10 11:35:02 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/twittare/twittare-0.7.42.ebuild,v 1.2 2009/07/02 13:40:40 hwoarang Exp $
EAPI="2"
@@ -20,10 +20,15 @@ DEPEND="x11-libs/qt-core:4
x11-libs/libnotify"
RDEPEND="${DEPEND}"
+PATCHES=(
+ "${FILESDIR}/${PN}-gcc-4.4-glibc-2.10.patch"
+)
+
src_prepare() {
# fix LDFLAGS issue
sed -i "s/-fpic/${LDFLAGS}\ -fpic/" "${S}"/libtwnotification/makefile || die "sed failed"
sed -i "s/-shared/${LDFLAGS}\ -shared/" "${S}"/libtwnotification/makefile || die "sed failed"
+ qt4_src_prepare
}
src_configure() {