commit:     fd4eb6d60784fcab0e61f56bce74ab1778a30285
Author:     Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 18 01:24:03 2017 +0000
Commit:     Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
CommitDate: Sat Feb 18 01:28:21 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd4eb6d6

dev-libs/pth: removal

Bug: 596010

 dev-libs/pth/Manifest                              |  1 -
 dev-libs/pth/files/pth-2.0.5-parallelfix.patch     | 15 -------
 dev-libs/pth/files/pth-2.0.6-ldflags.patch         | 17 --------
 dev-libs/pth/files/pth-2.0.6-sigstack.patch        | 22 ----------
 dev-libs/pth/files/pth-2.0.7-ia64.patch            | 30 -------------
 dev-libs/pth/files/pth-2.0.7-kernel-3.patch        | 24 -----------
 .../pth/files/pth-2.0.7-parallel-install.patch     | 12 ------
 dev-libs/pth/metadata.xml                          |  8 ----
 dev-libs/pth/pth-2.0.7-r3.ebuild                   | 50 ----------------------
 9 files changed, 179 deletions(-)

diff --git a/dev-libs/pth/Manifest b/dev-libs/pth/Manifest
deleted file mode 100644
index 23ec32d2d7..0000000000
--- a/dev-libs/pth/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST pth-2.0.7.tar.gz 652640 SHA256 
72353660c5a2caafd601b20e12e75d865fd88f6cf1a088b306a3963f0bc77232 SHA512 
f79d74047c50e06f3198356f88647c5c1c8a04ebdd94641fc31d5ab0fd2750d86615fcb81da2f98d7ea73d012a501195d3fa09060571d18dcfdaec5d7a0ecb12
 WHIRLPOOL 
9b8f60823d40a8e003d3c6555d392974e3b891336a535458c133e7863abb9b6f2e731591f11ba17fed1fe1eec6c8b00ba5352cfd3a8bc2906ad4b55aa6c345f8

diff --git a/dev-libs/pth/files/pth-2.0.5-parallelfix.patch 
b/dev-libs/pth/files/pth-2.0.5-parallelfix.patch
deleted file mode 100644
index a305f59333..0000000000
--- a/dev-libs/pth/files/pth-2.0.5-parallelfix.patch
+++ /dev/null
@@ -1,15 +0,0 @@
---- 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

diff --git a/dev-libs/pth/files/pth-2.0.6-ldflags.patch 
b/dev-libs/pth/files/pth-2.0.6-ldflags.patch
deleted file mode 100644
index 7a4a5ab300..0000000000
--- a/dev-libs/pth/files/pth-2.0.6-ldflags.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-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

diff --git a/dev-libs/pth/files/pth-2.0.6-sigstack.patch 
b/dev-libs/pth/files/pth-2.0.6-sigstack.patch
deleted file mode 100644
index 3914dea7ac..0000000000
--- a/dev-libs/pth/files/pth-2.0.6-sigstack.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-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)

diff --git a/dev-libs/pth/files/pth-2.0.7-ia64.patch 
b/dev-libs/pth/files/pth-2.0.7-ia64.patch
deleted file mode 100644
index 8b08b82ca6..0000000000
--- a/dev-libs/pth/files/pth-2.0.7-ia64.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-# 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

diff --git a/dev-libs/pth/files/pth-2.0.7-kernel-3.patch 
b/dev-libs/pth/files/pth-2.0.7-kernel-3.patch
deleted file mode 100644
index c8a1afb369..0000000000
--- a/dev-libs/pth/files/pth-2.0.7-kernel-3.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff -ur pth-2.0.7.orig/aclocal.m4 pth-2.0.7/aclocal.m4
---- pth-2.0.7.orig/aclocal.m4  2012-08-08 16:25:05.289931224 +0200
-+++ pth-2.0.7/aclocal.m4       2012-08-08 16:26:45.164932424 +0200
-@@ -1074,7 +1074,7 @@
-         braindead=no
-         case "x`uname -r`" in
- changequote(, )dnl
--            x2.[23456789]* ) ;;
-+            x2.[23456789]* | x3.[0-9]* ) ;;
- changequote([, ])
-             * ) braindead=yes ;;
-         esac
-diff -ur pth-2.0.7.orig/configure pth-2.0.7/configure
---- pth-2.0.7.orig/configure   2012-08-08 16:25:05.289931224 +0200
-+++ pth-2.0.7/configure        2012-08-08 16:27:00.391494004 +0200
-@@ -22512,7 +22512,7 @@
-     *-*-linux* )
-         braindead=no
-         case "x`uname -r`" in
--            x2.[23456789]* ) ;;
-+            x2.[23456789]* | x3.[0-9]* ) ;;
- 
-             * ) braindead=yes ;;
-         esac

diff --git a/dev-libs/pth/files/pth-2.0.7-parallel-install.patch 
b/dev-libs/pth/files/pth-2.0.7-parallel-install.patch
deleted file mode 100644
index 7952cff576..0000000000
--- a/dev-libs/pth/files/pth-2.0.7-parallel-install.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- 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:

diff --git a/dev-libs/pth/metadata.xml b/dev-libs/pth/metadata.xml
deleted file mode 100644
index f1c3d59fb2..0000000000
--- a/dev-libs/pth/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
-<pkgmetadata>
-<maintainer type="project">
-       <email>[email protected]</email>
-       <name>Crypto</name>
-</maintainer>
-</pkgmetadata>

diff --git a/dev-libs/pth/pth-2.0.7-r3.ebuild b/dev-libs/pth/pth-2.0.7-r3.ebuild
deleted file mode 100644
index e2fc311c0a..0000000000
--- a/dev-libs/pth/pth-2.0.7-r3.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=4
-
-inherit eutils fixheadtails libtool flag-o-matic
-
-DESCRIPTION="GNU Portable Threads"
-HOMEPAGE="https://www.gnu.org/software/pth/";
-SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc 
x86 ~amd64-fbsd ~x86-fbsd ~arm-linux"
-IUSE="debug static-libs"
-
-DEPEND=""
-RDEPEND="${DEPEND}"
-
-DOCS="ANNOUNCE AUTHORS ChangeLog NEWS README THANKS USERS"
-
-src_prepare() {
-       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
-       epatch "${FILESDIR}"/${PN}-2.0.7-kernel-3.patch
-
-       ht_fix_file aclocal.m4 configure
-
-       elibtoolize
-}
-
-src_configure() {
-       # bug 350815
-       ( use arm || use sh ) && append-flags -U_FORTIFY_SOURCE
-
-       local conf
-       use debug && conf="${conf} --enable-debug"      # have a bug 
--disable-debug and shared
-       econf \
-               ${conf} \
-               $(use_enable static-libs static)
-}
-
-src_install() {
-       default
-       find "${ED}" -name '*.la' -exec rm -f {} +
-}

Reply via email to