summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTavis Ormandy <taviso@gentoo.org>2006-05-16 19:31:53 +0000
committerTavis Ormandy <taviso@gentoo.org>2006-05-16 19:31:53 +0000
commit4e2c76cee45930885902970d289b8b1d388b85e8 (patch)
tree54a0709bbbc5e0fe911e579a7af47f870629b44e /dev-util/pretrace
parentAdd patch to fix leaks on connection db. (diff)
downloadhistorical-4e2c76cee45930885902970d289b8b1d388b85e8.tar.gz
historical-4e2c76cee45930885902970d289b8b1d388b85e8.tar.bz2
historical-4e2c76cee45930885902970d289b8b1d388b85e8.zip
#83661 support --as-needed
Package-Manager: portage-2.0.51.22-r3
Diffstat (limited to 'dev-util/pretrace')
-rw-r--r--dev-util/pretrace/ChangeLog8
-rw-r--r--dev-util/pretrace/Manifest9
-rw-r--r--dev-util/pretrace/files/pretrace-0.4--as-needed.diff12
-rw-r--r--dev-util/pretrace/pretrace-0.3-r1.ebuild4
-rw-r--r--dev-util/pretrace/pretrace-0.3.ebuild4
-rw-r--r--dev-util/pretrace/pretrace-0.4.ebuild9
6 files changed, 34 insertions, 12 deletions
diff --git a/dev-util/pretrace/ChangeLog b/dev-util/pretrace/ChangeLog
index 0ed7034b058d..42d4981ad96d 100644
--- a/dev-util/pretrace/ChangeLog
+++ b/dev-util/pretrace/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-util/pretrace
-# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/pretrace/ChangeLog,v 1.8 2005/12/15 14:02:43 taviso Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/pretrace/ChangeLog,v 1.9 2006/05/16 19:31:53 taviso Exp $
+
+ 16 May 2006; Tavis Ormandy <taviso@gentoo.org>
+ +files/pretrace-0.4--as-needed.diff, pretrace-0.4.ebuild:
+ add patch to support --as-needed, #83661
*pretrace-0.4 (15 Dec 2005)
diff --git a/dev-util/pretrace/Manifest b/dev-util/pretrace/Manifest
index 4fedfa2d4c7f..496ec737f586 100644
--- a/dev-util/pretrace/Manifest
+++ b/dev-util/pretrace/Manifest
@@ -1,8 +1,9 @@
-MD5 06175d3e5b8260fd9e5fe93e6da797b7 pretrace-0.4.ebuild 817
-MD5 b384204f9a2f5079cc64dff96f2dfd45 pretrace-0.3-r1.ebuild 870
-MD5 aad1a3a231a09a03cbd0de6ea754c3b5 pretrace-0.3.ebuild 2772
-MD5 040e96278b2a393d04d46c9b7be52373 ChangeLog 1106
+MD5 d3de49831663a8d8b12180a24c06ae58 pretrace-0.4.ebuild 889
+MD5 bb81253009bc3081839159778062f782 pretrace-0.3-r1.ebuild 871
+MD5 21986f7d111c7352692d36964b344ee9 pretrace-0.3.ebuild 2772
+MD5 8a5929b0930ed228ab9aefad91754a46 ChangeLog 1259
MD5 c6ea7a07929a9d7924313374907810a4 metadata.xml 284
+MD5 172b944d560d357e0bab29851be0bfd5 files/pretrace-0.4--as-needed.diff 511
MD5 da13f8ceb2722bdebde2531b834f0a7f files/digest-pretrace-0.3-r1 65
MD5 da2815e04fd897f533ce99fa3f36f73e files/digest-pretrace-0.3 63
MD5 86eab83955cbc9b059abad48dee9c7f5 files/digest-pretrace-0.4 65
diff --git a/dev-util/pretrace/files/pretrace-0.4--as-needed.diff b/dev-util/pretrace/files/pretrace-0.4--as-needed.diff
new file mode 100644
index 000000000000..19b66ed40c09
--- /dev/null
+++ b/dev-util/pretrace/files/pretrace-0.4--as-needed.diff
@@ -0,0 +1,12 @@
+diff -uNr libpretrace-0.4/Makefile libpretrace-0.4.new/Makefile
+--- libpretrace-0.4/Makefile 2005-12-15 12:50:06.000000000 +0000
++++ libpretrace-0.4.new/Makefile 2006-04-01 23:53:00.000000000 +0100
+@@ -14,7 +14,7 @@
+ @echo 'type `make install` to install to $(PREFIX)'
+
+ ptgenmap: libpretrace.so ptgenmap.o
+- $(CC) $(CFLAGS) $(LDFLAGS) -g -L. -lpretrace ptgenmap.o -o ptgenmap
++ $(CC) $(CFLAGS) $(LDFLAGS) -g -L. ptgenmap.o -lpretrace -o ptgenmap
+
+ ptgenmap.o:
+ $(CC) $(CFLAGS) -Wall -g -fPIC -c ptgenmap.c
diff --git a/dev-util/pretrace/pretrace-0.3-r1.ebuild b/dev-util/pretrace/pretrace-0.3-r1.ebuild
index 7ec0f241172d..7f9f52eaf9d9 100644
--- a/dev-util/pretrace/pretrace-0.3-r1.ebuild
+++ b/dev-util/pretrace/pretrace-0.3-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/pretrace/pretrace-0.3-r1.ebuild,v 1.3 2005/07/28 08:48:39 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/pretrace/pretrace-0.3-r1.ebuild,v 1.4 2006/05/16 19:31:53 taviso Exp $
inherit toolchain-funcs flag-o-matic
diff --git a/dev-util/pretrace/pretrace-0.3.ebuild b/dev-util/pretrace/pretrace-0.3.ebuild
index feca33fbc8e5..04a4e236375a 100644
--- a/dev-util/pretrace/pretrace-0.3.ebuild
+++ b/dev-util/pretrace/pretrace-0.3.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/pretrace/pretrace-0.3.ebuild,v 1.1 2005/04/08 18:51:12 taviso Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/pretrace/pretrace-0.3.ebuild,v 1.2 2006/05/16 19:31:53 taviso Exp $
inherit toolchain-funcs flag-o-matic
diff --git a/dev-util/pretrace/pretrace-0.4.ebuild b/dev-util/pretrace/pretrace-0.4.ebuild
index 4ae4be770f1d..82c414abdbb2 100644
--- a/dev-util/pretrace/pretrace-0.4.ebuild
+++ b/dev-util/pretrace/pretrace-0.4.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/pretrace/pretrace-0.4.ebuild,v 1.1 2005/12/15 14:02:43 taviso Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/pretrace/pretrace-0.4.ebuild,v 1.2 2006/05/16 19:31:53 taviso Exp $
inherit toolchain-funcs flag-o-matic
@@ -14,6 +14,11 @@ IUSE=""
DEPEND="virtual/libc"
S="${WORKDIR}/lib${P}"
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/${P}--as-needed.diff
+}
+
src_compile() {
emake || die
}