add pth with armv5 patch
This commit is contained in:
parent
b8a626114d
commit
df335ea69a
258
dev-libs/pth/ChangeLog
Normal file
258
dev-libs/pth/ChangeLog
Normal file
@ -0,0 +1,258 @@
|
||||
# ChangeLog for dev-libs/pth
|
||||
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/pth/ChangeLog,v 1.69 2011/06/23 14:44:10 hwoarang Exp $
|
||||
|
||||
23 Jun 2011; Markos Chandras <hwoarang@gentoo.org> -pth-2.0.7-r2.ebuild:
|
||||
Remove old ebuilds. Requested by Arfrever
|
||||
|
||||
21 May 2011; Kacper Kowalik <xarthisius@gentoo.org> pth-2.0.7-r3.ebuild:
|
||||
ppc/ppc64 stable wrt #366665
|
||||
|
||||
21 May 2011; Raúl Porcel <armin76@gentoo.org> pth-2.0.7-r3.ebuild:
|
||||
alpha/m68k/s390/sh/sparc/x86 stable wrt #366665
|
||||
|
||||
13 May 2011; Jeroen Roovers <jer@gentoo.org> pth-2.0.7-r3.ebuild:
|
||||
Stable for HPPA (bug #366665).
|
||||
|
||||
11 May 2011; Markos Chandras <hwoarang@gentoo.org> pth-2.0.7-r3.ebuild:
|
||||
Stable on amd64 wrt bug #366665
|
||||
|
||||
*pth-2.0.7-r3 (09 Apr 2011)
|
||||
|
||||
09 Apr 2011; Raúl Porcel <armin76@gentoo.org> +pth-2.0.7-r3.ebuild,
|
||||
+files/pth-2.0.7-ia64.patch:
|
||||
Add a new revision that provides a workaround for bug #350815, and a patch
|
||||
for ia64. Straight to stable for arm/ia64/sh
|
||||
|
||||
25 Jan 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
|
||||
-pth-2.0.7.ebuild, -pth-2.0.7-r1.ebuild:
|
||||
Delete.
|
||||
|
||||
12 Jan 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
|
||||
pth-2.0.7-r2.ebuild:
|
||||
Copy stable keywords from 2.0.7-r1. Changes introduced in 2.0.7-r2 don't
|
||||
affect installed files and there shouldn't have been revision bump.
|
||||
|
||||
*pth-2.0.7-r2 (13 Dec 2010)
|
||||
|
||||
13 Dec 2010; Dane Smith <c1pher@gentoo.org> +pth-2.0.7-r2.ebuild,
|
||||
+files/pth-2.0.7-parallel-install.patch:
|
||||
New patch pth-2.0.7-parallel-install.patch addresses the parallel install
|
||||
problem starting in 2.0.7.
|
||||
Revbump to -r2 applies patch and removes the need to emake -j1 for
|
||||
install.
|
||||
Also fixes the implicit RDEPEND="${DEPEND}" warning in repoman.
|
||||
Fixed the headers for 2.0.7 ad 2.0.7-r1.
|
||||
|
||||
15 Jan 2008; Mike Frysinger <vapier@gentoo.org> pth-2.0.7-r1.ebuild:
|
||||
Use `emake -j1` when installing rather than `make`.
|
||||
|
||||
*pth-2.0.7-r1 (14 Jan 2008)
|
||||
|
||||
14 Jan 2008; Alon Bar-Lev <alonbl@gentoo.org> +pth-2.0.7-r1.ebuild:
|
||||
--disable-debug actually removed shared libraries, bug#205875, thanks to drac
|
||||
|
||||
14 Jan 2008; Alon Bar-Lev <alonbl@gentoo.org> pth-2.0.7.ebuild:
|
||||
Add debug USE flag
|
||||
|
||||
28 Sep 2007; Alon Bar-Lev <alonbl@gentoo.org>
|
||||
-files/pth-1.4.0-sigstack.patch, -files/pth-2.0.3-m4.patch,
|
||||
-pth-1.4.0.ebuild, -pth-2.0.3.ebuild, -pth-2.0.5.ebuild,
|
||||
-pth-2.0.6.ebuild:
|
||||
Cleanup
|
||||
|
||||
28 Sep 2007; Joshua Kinard <kumba@gentoo.org> pth-2.0.7.ebuild:
|
||||
Stable on mips, per #193894.
|
||||
|
||||
27 Sep 2007; Jeroen Roovers <jer@gentoo.org> pth-2.0.7.ebuild:
|
||||
Stable for HPPA (bug #193894).
|
||||
|
||||
25 Aug 2007; Steve Dibb <beandog@gentoo.org> pth-2.0.6.ebuild,
|
||||
pth-2.0.7.ebuild:
|
||||
amd64 stable
|
||||
|
||||
13 Aug 2007; Tobias Scherbaum <dertobi123@gentoo.org> pth-2.0.7.ebuild:
|
||||
ppc. stable
|
||||
|
||||
22 Jul 2007; Tom Gall <tgall@gentoo.org> pth-2.0.7.ebuild:
|
||||
stable on ppc64
|
||||
|
||||
12 Jul 2007; Gustavo Zacarias <gustavoz@gentoo.org> pth-2.0.7.ebuild:
|
||||
Stable on sparc
|
||||
|
||||
03 Jul 2007; Raúl Porcel <armin76@gentoo.org> pth-2.0.7.ebuild:
|
||||
alpha/ia64/x86 stable
|
||||
|
||||
01 May 2007; Alon Bar-Lev <alonbl@gentoo.org> pth-2.0.7.ebuild:
|
||||
Fix header
|
||||
|
||||
24 Apr 2007; Gustavo Zacarias <gustavoz@gentoo.org> pth-2.0.6.ebuild:
|
||||
Stable on sparc
|
||||
|
||||
*pth-2.0.7 (23 Apr 2007)
|
||||
|
||||
23 Apr 2007; Alon Bar-Lev <alonbl@gentoo.org> +pth-2.0.7.ebuild:
|
||||
Version bump, bug#175771
|
||||
|
||||
23 Apr 2007; Raúl Porcel <armin76@gentoo.org> pth-2.0.6.ebuild:
|
||||
ia64 + x86 stable
|
||||
|
||||
13 Mar 2007; Gustavo Zacarias <gustavoz@gentoo.org> pth-2.0.3.ebuild:
|
||||
Stable on sparc
|
||||
|
||||
12 Mar 2007; Raúl Porcel <armin76@gentoo.org> pth-2.0.3.ebuild:
|
||||
x86 stable
|
||||
|
||||
22 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog:
|
||||
Transition to Manifest2.
|
||||
|
||||
27 Oct 2006; Fabian Groffen <grobian@gentoo.org> pth-1.4.0.ebuild,
|
||||
pth-2.0.3.ebuild, pth-2.0.5.ebuild, pth-2.0.6.ebuild:
|
||||
Dropped ppc-macos keyword, see you in prefix.
|
||||
|
||||
23 Sep 2006; Daniel Black <dragonheart@gentoo.org>
|
||||
+files/pth-1.4.0-sigstack.patch, +files/pth-2.0.6-sigstack.patch,
|
||||
pth-1.4.0.ebuild, pth-2.0.6.ebuild:
|
||||
patch to fix hanging checking for sigstack.(bug #131234 and bug #139000).
|
||||
Thanks to reports by nmonkee and Miro Bogner. Patches thanks to Alon Bar-Lev
|
||||
|
||||
16 Sep 2006; Tobias Scherbaum <dertobi123@gentoo.org> pth-2.0.3.ebuild:
|
||||
ppc stable
|
||||
|
||||
17 May 2006; Diego Pettenò <flameeyes@gentoo.org> pth-2.0.6.ebuild:
|
||||
Add ~x86-fbsd keyword.
|
||||
|
||||
07 May 2006; Simon Stelling <blubb@gentoo.org> pth-2.0.3.ebuild:
|
||||
stable on amd64
|
||||
|
||||
28 Mar 2006; Diego Pettenò <flameeyes@gentoo.org>
|
||||
+files/pth-2.0.6-ldflags.patch, pth-2.0.6.ebuild:
|
||||
Add patch to respect ldflags and run elibtoolize, bug #127916.
|
||||
|
||||
*pth-2.0.6 (06 Feb 2006)
|
||||
|
||||
06 Feb 2006; Marcelo Goes <vanquirius@gentoo.org> -pth-2.0.4.ebuild,
|
||||
+pth-2.0.6.ebuild:
|
||||
2.0.6 version bump for bug 121726. Thanks to Ryan Hill <dirtyepic dot sk at
|
||||
gmail dot com>.
|
||||
|
||||
22 Jan 2006; Caleb Tennis <caleb@gentoo.org> -pth-1.4.1.ebuild:
|
||||
Removing package masked version old version
|
||||
|
||||
*pth-2.0.5 (07 Nov 2005)
|
||||
|
||||
07 Nov 2005; Daniel Black <dragonheart@gentoo.org>
|
||||
+files/pth-2.0.5-parallelfix.patch, +pth-2.0.5.ebuild:
|
||||
version bump - bug #110232 thanks to emanuele.giaquinta and Marcelo
|
||||
|
||||
10 Sep 2005; Aron Griffis <agriffis@gentoo.org> pth-2.0.3.ebuild:
|
||||
Mark 2.0.3 stable on alpha
|
||||
|
||||
06 Sep 2005; Markus Rothe <corsair@gentoo.org> pth-2.0.3.ebuild:
|
||||
Stable on ppc64
|
||||
|
||||
*pth-2.0.4 (02 Sep 2005)
|
||||
|
||||
02 Sep 2005; Marcelo Goes <vanquirius@gentoo.org> +pth-2.0.4.ebuild:
|
||||
Version bump. m4 patch in upstream.
|
||||
|
||||
31 Jul 2005; Aaron Walker <ka0ttic@gentoo.org> pth-2.0.3.ebuild:
|
||||
Added ~mips for bug 79171.
|
||||
|
||||
25 Mar 2005; Marcelo Goes <vanquirius@gentoo.org> pth-1.4.0.ebuild,
|
||||
pth-1.4.1.ebuild:
|
||||
Replacing pow10 with math_pow10 and round with math_round in pth_string.c to
|
||||
fix warnings.
|
||||
|
||||
09 Feb 2005; Daniel Black <dragonheart@gentoo.org> pth-2.0.3.ebuild:
|
||||
gawk problem fixed enabling full locale
|
||||
|
||||
23 Jan 2005; Daniel Black <dragonheart@gentoo.org> pth-2.0.3.ebuild:
|
||||
Added LC_ALL=C to pth_p.h compile as per bug #78749. Thanks to Fabio Coatti
|
||||
<cova@ferrara.linux.it>.
|
||||
|
||||
22 Jan 2005; <plasmaroo@gentoo.org> pth-2.0.3.ebuild:
|
||||
Marking stable on IA64; bug #72897.
|
||||
|
||||
22 Jan 2005; Scott W Taylor <swtaylor@gentoo.org> pth-2.0.3.ebuild:
|
||||
pth_p.h was being built wrong from other locales. closes bug 78749
|
||||
|
||||
*pth-2.0.3 (20 Jan 2005)
|
||||
|
||||
20 Jan 2005; Daniel Black <dragonheart@gentoo.org> -pth-2.0.2.ebuild,
|
||||
+pth-2.0.3.ebuild:
|
||||
Version bump to fix bug #78219. Broken 2.0.2 version removed. Thanks to Felix
|
||||
Riemann <felix@hsgheli.de>
|
||||
|
||||
29 Dec 2004; Ciaran McCreesh <ciaranm@gentoo.org> :
|
||||
Change encoding to UTF-8 for GLEP 31 compliance
|
||||
|
||||
20 Dec 2004; Markus Rothe <corsair@gentoo.org> pth-1.4.0.ebuild,
|
||||
pth-1.4.1.ebuild, pth-2.0.2.ebuild:
|
||||
added (~)ppc64 keywords
|
||||
|
||||
30 Nov 2004; Sven Wegener <swegener@gentoo.org> pth-1.4.0.ebuild,
|
||||
pth-1.4.1.ebuild, pth-2.0.2.ebuild:
|
||||
Changed SRC_URI to use mirror:// syntax and ${PN}/${P} variables. Version
|
||||
2.0.2 is not parallel build safe, appended -j1 to emake. Closes bug #72898.
|
||||
Fixed obsolete head -1 syntax in configure script. Fixed digest for 1.4.1.
|
||||
|
||||
*pth-2.0.2 (30 Nov 2004)
|
||||
|
||||
30 Nov 2004; Daniel Black <dragonheart@gentoo.org> +metadata.xml,
|
||||
pth-1.4.1.ebuild, +pth-2.0.2.ebuild:
|
||||
added missing ~alpha keyword to 1.4.1. Version bump.
|
||||
|
||||
11 Oct 2004; Mamoru KOMACHI <usata@gentoo.org> pth-1.4.0.ebuild:
|
||||
Added to ppc-macos.
|
||||
|
||||
25 Aug 2004; Travis Tilley <lv@gentoo.org> pth-1.4.0.ebuild:
|
||||
stable on amd64
|
||||
|
||||
01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> pth-1.4.0.ebuild,
|
||||
pth-1.4.1.ebuild:
|
||||
virtual/glibc -> virtual/libc
|
||||
|
||||
08 Jun 2004; Guy Martin <gmsoft@gentoo.org> pth-1.4.0.ebuild,
|
||||
pth-1.4.1.ebuild:
|
||||
Marked stable on hppa.
|
||||
|
||||
26 May 2004; Jason Eric Huebel <jhuebel@gentoo.org> pth-1.4.1.ebuild:
|
||||
~amd64, added gnuconfig_update
|
||||
|
||||
23 May 2004; Bryan Østergaard <kloeri@gentoo.org> pth-1.4.0.ebuild:
|
||||
Stable on alpha.
|
||||
|
||||
20 May 2004; <paul@gentoo.org> pth-1.4.0.ebuild:
|
||||
Make it work with amd64. It is needed for making the newpg that has gpg-agent
|
||||
working
|
||||
|
||||
24 Nov 2003; Aron Griffis <agriffis@gentoo.org> pth-1.4.0.ebuild:
|
||||
Add ~alpha
|
||||
|
||||
05 Mar 2003; Bartosch Pixa <darkspecter@gentoo.org> pth-1.4.1.ebuild:
|
||||
set ~ppc in keywords
|
||||
|
||||
06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
|
||||
|
||||
*pth-1.4.0 (13 Nov 2002)
|
||||
|
||||
13 Nov 2002; Bart Verwilst <verwilst@gentoo.org>:
|
||||
|
||||
Re-added 1.4.0, and masked 1.4.1, since it b0rks jabber-server :$
|
||||
|
||||
*pth-1.4.1 (1 Oct 2002)
|
||||
|
||||
01 Oct 2002; Bart Verwilst <verwilst@gentoo.org>:
|
||||
|
||||
New version, bugfix release
|
||||
|
||||
*pth-1.4.0 (1 Feb 2002)
|
||||
|
||||
1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
|
||||
|
||||
Added initial ChangeLog which should be updated whenever the package is
|
||||
updated in any way. This changelog is targetted to users. This means that the
|
||||
comments should well explained and written in clean English. The details about
|
||||
writing correct changelogs are explained in the skel.ChangeLog file which you
|
||||
can find in the root directory of the portage repository.
|
9
dev-libs/pth/Manifest
Normal file
9
dev-libs/pth/Manifest
Normal file
@ -0,0 +1,9 @@
|
||||
AUX pth-2.0.5-parallelfix.patch 415 RMD160 7218d8219a22c3656e065d0f581e5a7ece4f2c38 SHA1 acd55bdf69bfd80716628ee4cfac5d182569066a SHA256 f005fbb328c8fc82624c2968da037189f39d0957b759432a3ec20f6f691325f5
|
||||
AUX pth-2.0.6-ldflags.patch 813 RMD160 879d529ee8bc704f375c7c10236bc6ad2f9ce7b6 SHA1 0504d76d129a6a9713977bfe9be5f0074ee42bfc SHA256 ed366b2f28a458e2d718dc3a90f54a91a478a8e3f64ee6e4fa3c8a7d7693bd9c
|
||||
AUX pth-2.0.6-sigstack.patch 820 RMD160 5d7934ff8aa6e6581ffe3156da3d63098bc4a933 SHA1 d9e3ade605d6d2715ab0500e784ea8a61367c451 SHA256 b1f090242535640fc6518796b162d108c8436551f4e6bb43fd7cb8c9e916a868
|
||||
AUX pth-2.0.7-ia64.patch 1207 RMD160 b11c9dfc35ad597ef43795681cfb0c796f684ba9 SHA1 9042a2c44c4ba13d457c74dd7e8a91c057ee2aa0 SHA256 c4d2509cc218d0001081ce23796f0a4a22e8ccc8aa3b00ad14d80dfd50c1c073
|
||||
AUX pth-2.0.7-parallel-install.patch 428 RMD160 93790b86e507e82901af2e6ea21565de39c5bfc6 SHA1 689a18acdf589554f7ae92e37c0d332f6ed66717 SHA256 92e5d8ada700573e0a68e2c30e418ae95b7dcc5a7429a963d3c9ea207205c0c3
|
||||
DIST pth-2.0.7.tar.gz 652640 RMD160 80bc66777ba20d9648b7aaf3f58d593be6416910 SHA1 9a71915c89ff2414de69fe104ae1016d513afeee SHA256 72353660c5a2caafd601b20e12e75d865fd88f6cf1a088b306a3963f0bc77232
|
||||
EBUILD pth-2.0.7-r3.ebuild 1482 RMD160 76480b43aad6bda3fd07cf7cacb22a18309c72f3 SHA1 796b723095a8417606b93d45cc0f1183598f8b0f SHA256 61eb897e9c4d0ac132872ad62dce917ca2851160db05be284410422eee01d7f0
|
||||
MISC ChangeLog 9019 RMD160 e5b5e0da3d3dbf48aa40abb17538e078c6297a42 SHA1 c18b4bc7077ddf7103bebabcf513e7109aacf608 SHA256 068cd2e43121e56397b9c43ebc88e19a038ff851503ff84944262629b5744fe2
|
||||
MISC metadata.xml 224 RMD160 74db96ad8aa1d285d83ae93a9f4a767335f55c15 SHA1 d86a171d981b45e7ed0c0b3b5059d2a63c811001 SHA256 9e9ce661a9fdb45a535ad875a247b700a70745359b27533ec29a6a46fa708e86
|
15
dev-libs/pth/files/pth-2.0.5-parallelfix.patch
Normal file
15
dev-libs/pth/files/pth-2.0.5-parallelfix.patch
Normal file
@ -0,0 +1,15 @@
|
||||
--- Makefile.in.orig 2005-11-08 05:58:55.000000000 +1100
|
||||
+++ Makefile.in 2005-11-08 06:29:02.000000000 +1100
|
||||
@@ -148,10 +148,9 @@
|
||||
|
||||
# be aware of libtool when building the objects
|
||||
.SUFFIXES:
|
||||
-.SUFFIXES: .c .o .lo
|
||||
-.c.o:
|
||||
+%.o: %.c $(TARGET_PREQ)
|
||||
$(CC) -c $(CPPFLAGS) $(CFLAGS) $<
|
||||
-.c.lo:
|
||||
+%.lo: %.c $(TARGET_PREQ)
|
||||
$(LIBTOOL) --mode=compile --quiet $(CC) -c $(CPPFLAGS) $(CFLAGS) $<
|
||||
|
||||
# the default target
|
17
dev-libs/pth/files/pth-2.0.6-ldflags.patch
Normal file
17
dev-libs/pth/files/pth-2.0.6-ldflags.patch
Normal file
@ -0,0 +1,17 @@
|
||||
Index: pth-2.0.6/Makefile.in
|
||||
===================================================================
|
||||
--- pth-2.0.6.orig/Makefile.in
|
||||
+++ pth-2.0.6/Makefile.in
|
||||
@@ -168,10 +168,10 @@ pth_p.h: $(S)pth_p.h.in
|
||||
|
||||
# build the static and possibly shared libraries
|
||||
libpth.la: $(LOBJS)
|
||||
- $(LIBTOOL) --mode=link --quiet $(CC) -o libpth.la $(LOBJS) \
|
||||
+ $(LIBTOOL) --mode=link --quiet $(CC) $(LDFLAGS) -o libpth.la $(LOBJS) \
|
||||
-rpath $(libdir) -version-info `$(SHTOOL) version -lc -dlibtool $(_VERSION_FILE)`
|
||||
libpthread.la: pthread.lo $(LOBJS)
|
||||
- $(LIBTOOL) --mode=link --quiet $(CC) -o libpthread.la pthread.lo $(LOBJS) \
|
||||
+ $(LIBTOOL) --mode=link --quiet $(CC) $(LDFLAGS) -o libpthread.la pthread.lo $(LOBJS) \
|
||||
-rpath $(libdir) -version-info `$(SHTOOL) version -lc -dlibtool $(_VERSION_FILE)`
|
||||
|
||||
# build the manual pages
|
22
dev-libs/pth/files/pth-2.0.6-sigstack.patch
Normal file
22
dev-libs/pth/files/pth-2.0.6-sigstack.patch
Normal file
@ -0,0 +1,22 @@
|
||||
diff -urNp pth-2.0.6.old/aclocal.m4 pth-2.0.6/aclocal.m4
|
||||
--- pth-2.0.6.old/aclocal.m4 2004-12-31 21:33:19.000000000 +0200
|
||||
+++ pth-2.0.6/aclocal.m4 2006-09-20 14:46:59.000000000 +0300
|
||||
@@ -1522,6 +1522,7 @@ int main(int argc, char *argv[])
|
||||
int sksize;
|
||||
char result[1024];
|
||||
int i;
|
||||
+exit (1);
|
||||
sksize = 32768;
|
||||
skbuf = (char *)malloc(sksize*2+2*sizeof(union alltypes));
|
||||
if (skbuf == NULL)
|
||||
diff -urNp pth-2.0.6.old/configure pth-2.0.6/configure
|
||||
--- pth-2.0.6.old/configure 2005-11-22 09:49:21.000000000 +0200
|
||||
+++ pth-2.0.6/configure 2006-09-20 14:55:23.000000000 +0300
|
||||
@@ -24735,6 +24735,7 @@ int main(int argc, char *argv[])
|
||||
int sksize;
|
||||
char result[1024];
|
||||
int i;
|
||||
+exit (1);
|
||||
sksize = 32768;
|
||||
skbuf = (char *)malloc(sksize*2+2*sizeof(union alltypes));
|
||||
if (skbuf == NULL)
|
30
dev-libs/pth/files/pth-2.0.7-ia64.patch
Normal file
30
dev-libs/pth/files/pth-2.0.7-ia64.patch
Normal file
@ -0,0 +1,30 @@
|
||||
# http://bugs.debian.org/225780
|
||||
diff -Naurp pth.orig/pth_sched.c pth/pth_sched.c
|
||||
--- pth.orig/pth_sched.c 2009-07-16 23:16:52.000000000 +0000
|
||||
+++ pth/pth_sched.c 2009-07-16 23:20:51.000000000 +0000
|
||||
@@ -297,8 +297,15 @@ intern void *pth_scheduler(void *dummy)
|
||||
/*
|
||||
* Check for stack overflow
|
||||
*/
|
||||
+#ifndef __ia64__
|
||||
if (pth_current->stackguard != NULL) {
|
||||
if (*pth_current->stackguard != 0xDEAD) {
|
||||
+#else
|
||||
+ /* On ia64 the stack grows down but the bottom part is used for register
|
||||
+ * backing store which grows up. So we check for a meet in the middle
|
||||
+ */
|
||||
+ if (pth_current->mctx.uc.uc_mcontext.sc_gr[12] <= pth_current->mctx.uc.uc_mcontext.sc_ar_bsp) {
|
||||
+#endif
|
||||
pth_debug3("pth_scheduler: stack overflow detected for thread 0x%lx (\"%s\")",
|
||||
(unsigned long)pth_current, pth_current->name);
|
||||
/*
|
||||
@@ -324,7 +331,9 @@ intern void *pth_scheduler(void *dummy)
|
||||
pth_current->state = PTH_STATE_DEAD;
|
||||
kill(getpid(), SIGSEGV);
|
||||
}
|
||||
+#ifndef __ia64__
|
||||
}
|
||||
+#endif
|
||||
|
||||
/*
|
||||
* If previous thread is now marked as dead, kick it out
|
12
dev-libs/pth/files/pth-2.0.7-parallel-install.patch
Normal file
12
dev-libs/pth/files/pth-2.0.7-parallel-install.patch
Normal file
@ -0,0 +1,12 @@
|
||||
--- Makefile.in 2010-12-13 12:59:07.000000000 -0500
|
||||
+++ Makefile.new 2010-12-13 13:00:22.000000000 -0500
|
||||
@@ -215,7 +215,8 @@
|
||||
|
||||
# install the package
|
||||
install: all-for-install
|
||||
- @$(MAKE) $(MKFLAGS) install-dirs install-pth @INSTALL_PTHREAD@
|
||||
+ @$(MAKE) $(MKFLAGS) install-dirs
|
||||
+ @$(MAKE) $(MKFLAGS) install-pth @INSTALL_PTHREAD@
|
||||
@touch .done-install >/dev/null 2>&1 || $(TRUE)
|
||||
@$(MAKE) $(MKFLAGS) what-next
|
||||
install-dirs:
|
8
dev-libs/pth/metadata.xml
Normal file
8
dev-libs/pth/metadata.xml
Normal file
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>crypto</herd>
|
||||
<maintainer>
|
||||
<email>crypto@gentoo.org</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
52
dev-libs/pth/pth-2.0.7-r3.ebuild
Normal file
52
dev-libs/pth/pth-2.0.7-r3.ebuild
Normal file
@ -0,0 +1,52 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/pth/pth-2.0.7-r3.ebuild,v 1.5 2011/05/21 19:57:38 xarthisius Exp $
|
||||
|
||||
inherit eutils fixheadtails libtool flag-o-matic
|
||||
|
||||
DESCRIPTION="GNU Portable Threads"
|
||||
HOMEPAGE="http://www.gnu.org/software/pth/"
|
||||
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
|
||||
IUSE="debug"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}"/${PN}-2.0.5-parallelfix.patch
|
||||
epatch "${FILESDIR}"/${PN}-2.0.6-ldflags.patch
|
||||
epatch "${FILESDIR}"/${PN}-2.0.6-sigstack.patch
|
||||
epatch "${FILESDIR}"/${PN}-2.0.7-parallel-install.patch
|
||||
epatch "${FILESDIR}"/${PN}-2.0.7-ia64.patch
|
||||
|
||||
ht_fix_file aclocal.m4 configure
|
||||
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# bug 350815
|
||||
( use arm || use sh ) && append-flags -U_FORTIFY_SOURCE
|
||||
|
||||
local conf
|
||||
# Broken build on armv5tel
|
||||
if [[ "${CHOST/-*/}" -eq "armv5tel" ]]; then
|
||||
conf="--with-mctx-mth=sjlj --with-mctx-dsp=ssjlj --with-mctx-stk=sas"
|
||||
fi
|
||||
use debug && conf="${conf} --enable-debug" # have a bug --disable-debug and shared
|
||||
econf ${conf} || die
|
||||
emake || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
#Parallel install issuse fixed with parallel-install.patch.
|
||||
#Submitted upstream on 12-13-2010.
|
||||
emake DESTDIR="${D}" install || die
|
||||
dodoc ANNOUNCE AUTHORS ChangeLog NEWS README THANKS USERS || die
|
||||
}
|
Loading…
Reference in New Issue
Block a user