summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2008-06-30 16:12:57 +0000
committerRaúl Porcel <armin76@gentoo.org>2008-06-30 16:12:57 +0000
commitbe223c071b89dd489a891c36859f7bcd33ace51a (patch)
tree447d9cb8e73b32777ba22b64b78267de107ce566 /net-p2p/mldonkey
parentStable for HPPA (bug #227679). (diff)
downloadhistorical-be223c071b89dd489a891c36859f7bcd33ace51a.tar.gz
historical-be223c071b89dd489a891c36859f7bcd33ace51a.tar.bz2
historical-be223c071b89dd489a891c36859f7bcd33ace51a.zip
Fix execstacks, bug #218015
Package-Manager: portage-2.2_rc1/cvs/Linux 2.6.24-gentoo-r8 i686
Diffstat (limited to 'net-p2p/mldonkey')
-rw-r--r--net-p2p/mldonkey/ChangeLog6
-rw-r--r--net-p2p/mldonkey/files/2.9.5-execstacks.patch44
-rw-r--r--net-p2p/mldonkey/mldonkey-2.9.5.ebuild6
3 files changed, 53 insertions, 3 deletions
diff --git a/net-p2p/mldonkey/ChangeLog b/net-p2p/mldonkey/ChangeLog
index baac949b1177..94a0bdc9b255 100644
--- a/net-p2p/mldonkey/ChangeLog
+++ b/net-p2p/mldonkey/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-p2p/mldonkey
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/mldonkey/ChangeLog,v 1.212 2008/06/16 19:54:27 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/mldonkey/ChangeLog,v 1.213 2008/06/30 16:12:56 armin76 Exp $
+
+ 30 Jun 2008; Raúl Porcel <armin76@gentoo.org>
+ +files/2.9.5-execstacks.patch, mldonkey-2.9.5.ebuild:
+ Fix execstacks, bug #218015
16 Jun 2008; Alexis Ballier <aballier@gentoo.org> mldonkey-2.9.5.ebuild:
dont try to use PIE with ocaml executables, this will not work as ocaml
diff --git a/net-p2p/mldonkey/files/2.9.5-execstacks.patch b/net-p2p/mldonkey/files/2.9.5-execstacks.patch
new file mode 100644
index 000000000000..487bfbc38100
--- /dev/null
+++ b/net-p2p/mldonkey/files/2.9.5-execstacks.patch
@@ -0,0 +1,44 @@
+diff -ur mldonkey-2.9.5.orig/src/utils/lib/md4_i386.s mldonkey-2.9.5/src/utils/lib/md4_i386.s
+--- mldonkey-2.9.5.orig/src/utils/lib/md4_i386.s 2008-06-30 17:45:37.000000000 +0200
++++ mldonkey-2.9.5/src/utils/lib/md4_i386.s 2008-06-30 17:48:10.000000000 +0200
+@@ -934,3 +934,7 @@
+
+ .data
+
++#if defined(__linux__) && defined(__ELF__)
++.section .note.GNU-stack,"",%progbits
++#endif
++
+diff -ur mldonkey-2.9.5.orig/src/utils/lib/md4_i486.s mldonkey-2.9.5/src/utils/lib/md4_i486.s
+--- mldonkey-2.9.5.orig/src/utils/lib/md4_i486.s 2008-06-30 17:45:37.000000000 +0200
++++ mldonkey-2.9.5/src/utils/lib/md4_i486.s 2008-06-30 17:48:21.000000000 +0200
+@@ -1091,3 +1091,7 @@
+
+ .data
+
++#if defined(__linux__) && defined(__ELF__)
++.section .note.GNU-stack,"",%progbits
++#endif
++
+diff -ur mldonkey-2.9.5.orig/src/utils/lib/md4_i586.s mldonkey-2.9.5/src/utils/lib/md4_i586.s
+--- mldonkey-2.9.5.orig/src/utils/lib/md4_i586.s 2008-06-30 17:45:37.000000000 +0200
++++ mldonkey-2.9.5/src/utils/lib/md4_i586.s 2008-06-30 17:48:27.000000000 +0200
+@@ -1047,3 +1047,7 @@
+
+ .data
+
++#if defined(__linux__) && defined(__ELF__)
++.section .note.GNU-stack,"",%progbits
++#endif
++
+diff -ur mldonkey-2.9.5.orig/src/utils/lib/md4_i686.s mldonkey-2.9.5/src/utils/lib/md4_i686.s
+--- mldonkey-2.9.5.orig/src/utils/lib/md4_i686.s 2008-06-30 17:45:37.000000000 +0200
++++ mldonkey-2.9.5/src/utils/lib/md4_i686.s 2008-06-30 17:48:34.000000000 +0200
+@@ -1009,3 +1009,7 @@
+
+ .data
+
++#if defined(__linux__) && defined(__ELF__)
++.section .note.GNU-stack,"",%progbits
++#endif
++
diff --git a/net-p2p/mldonkey/mldonkey-2.9.5.ebuild b/net-p2p/mldonkey/mldonkey-2.9.5.ebuild
index 451f0b8832bf..cb05106f669a 100644
--- a/net-p2p/mldonkey/mldonkey-2.9.5.ebuild
+++ b/net-p2p/mldonkey/mldonkey-2.9.5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/mldonkey/mldonkey-2.9.5.ebuild,v 1.2 2008/06/16 19:54:27 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/mldonkey/mldonkey-2.9.5.ebuild,v 1.3 2008/06/30 16:12:56 armin76 Exp $
WANT_AUTOCONF=2.5
@@ -16,7 +16,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86 ~x86-fbsd"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc x86 ~x86-fbsd"
RDEPEND="dev-lang/perl
guionly? ( >=gnome-base/librsvg-2.4.0
@@ -77,6 +77,8 @@ src_unpack() {
eautoconf
cd "${S}"
use ocamlopt || sed -i -e "s/ocamlopt/idontwantocamlopt/g" "${S}/config/configure" || die "failed to disable ocamlopt"
+
+ epatch "${FILESDIR}"/${PV}-execstacks.patch
}
src_compile() {