commit:     f289949ea2ef43cb9a22ed5708a4805fada75e01
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 19 16:04:43 2018 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Mon Nov 19 16:04:43 2018 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=f289949e

dev-libs/pth: remove (like in gx86)

Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 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-aix.patch             |  14 ---
 dev-libs/pth/files/pth-2.0.7-ia64.patch            |  30 -----
 dev-libs/pth/files/pth-2.0.7-kernel-3.patch        |  24 ----
 dev-libs/pth/files/pth-2.0.7-mint.patch            | 139 ---------------------
 .../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                   |  60 ---------
 11 files changed, 342 deletions(-)

diff --git a/dev-libs/pth/Manifest b/dev-libs/pth/Manifest
deleted file mode 100644
index 10cbc0e727..0000000000
--- a/dev-libs/pth/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST pth-2.0.7.tar.gz 652640 BLAKE2B 
f6a3df2136bb0194a6ceca76a750d68c549b9ff069f4fb02154e9f6418b3fc52befe1196e1ed4655a1acf1c6ef676184aa6f3403d0a39cb2c9315bb0d4fb150a
 SHA512 
f79d74047c50e06f3198356f88647c5c1c8a04ebdd94641fc31d5ab0fd2750d86615fcb81da2f98d7ea73d012a501195d3fa09060571d18dcfdaec5d7a0ecb12

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-aix.patch 
b/dev-libs/pth/files/pth-2.0.7-aix.patch
deleted file mode 100644
index 309d25b1cd..0000000000
--- a/dev-libs/pth/files/pth-2.0.7-aix.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-http://cvs.ossp.org/tktview?tn=195
-
---- aclocal.m4.orig    2013-11-29 14:36:58.021044281 +0000
-+++ aclocal.m4 2013-11-29 14:38:20.606684317 +0000
-@@ -1185,7 +1185,9 @@
- changequote(<<, >>)dnl
- <<
- #include <stdio.h>
-+#include <stdlib.h>
- #include <sys/types.h>
-+#include <sys/time.h>
- #include <unistd.h>
- int main(int argc, char *argv[])
- {

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-mint.patch 
b/dev-libs/pth/files/pth-2.0.7-mint.patch
deleted file mode 100644
index 9893fe93b0..0000000000
--- a/dev-libs/pth/files/pth-2.0.7-mint.patch
+++ /dev/null
@@ -1,139 +0,0 @@
-diff -ur pth-2.0.7/aclocal.m4 pth-2.0.7-mint/aclocal.m4
---- pth-2.0.7/aclocal.m4       Thu Jun  8 17:54:00 2006
-+++ pth-2.0.7-mint/aclocal.m4  Tue Mar 18 20:39:34 2008
-@@ -1104,6 +1104,9 @@
-     *-*-cygwin* )
-         ac_cv_check_sjlj=sjljw32
-         ;;
-+    *-*-mint* )
-+        ac_cv_check_sjlj=sjljmint
-+        ;;
- esac
- ])dnl
- $3="$ac_cv_check_sjlj"
-diff -ur pth-2.0.7/configure.ac pth-2.0.7-mint/configure.ac
---- pth-2.0.7/configure.ac     Thu Jun  8 17:54:00 2006
-+++ pth-2.0.7-mint/configure.ac        Tue Mar 18 20:40:18 2008
-@@ -356,7 +360,7 @@
-     AC_IFALLYES(func:sigstack,    mctx_stk=ss)
-     AC_IFALLYES(func:sigaltstack, mctx_stk=sas)
-     case $mctx_dsp in
--         sjljlx|sjljisc|sjljw32 ) mctx_stk=none
-+         sjljlx|sjljisc|sjljw32|sjljmint ) mctx_stk=none
-     esac
- else
-     AC_ERROR([no appropriate mctx method found])
-@@ -376,8 +380,8 @@
- AC_ARG_WITH(mctx-dsp,dnl
- [  --with-mctx-dsp=ID      force mctx dispatching 
(sc,ssjlj,sjlj,usjlj,sjlje,...)],[
- case $withval in
--    sc|ssjlj|sjlj|usjlj|sjlje|sjljlx|sjljisc|sjljw32 ) mctx_dsp=$withval ;;
--    * ) AC_ERROR([invalid mctx dispatching -- allowed: 
sc,ssjlj,sjlj,usjlj,sjlje,sjljlx,sjljisc,sjljw32]) ;;
-+    sc|ssjlj|sjlj|usjlj|sjlje|sjljlx|sjljisc|sjljw32|sjljmint ) 
mctx_dsp=$withval ;;
-+    * ) AC_ERROR([invalid mctx dispatching -- allowed: 
sc,ssjlj,sjlj,usjlj,sjlje,sjljlx,sjljisc,sjljw32,sjljmint]) ;;
- esac
- ])dnl
- AC_ARG_WITH(mctx-stk,dnl
-@@ -438,7 +442,7 @@
-         pth_sigsetjmp='setjmp(buf)'
-         pth_siglongjmp='longjmp(buf,val)'
-         ;;
--    sjljlx|sjljisc|sjljw32 )
-+    sjljlx|sjljisc|sjljw32|sjljmint )
-         pth_sigjmpbuf='sigjmp_buf'
-         pth_sigsetjmp='sigsetjmp(buf,1)'
-         pth_siglongjmp='siglongjmp(buf,val)'
-diff -ur pth-2.0.7/pth_acmac.h.in pth-2.0.7-mint/pth_acmac.h.in
---- pth-2.0.7/pth_acmac.h.in   Thu Jun  8 17:54:02 2006
-+++ pth-2.0.7-mint/pth_acmac.h.in      Tue Mar 18 20:39:34 2008
-@@ -55,6 +55,7 @@
- #define PTH_MCTX_DSP_sjljlx  6
- #define PTH_MCTX_DSP_sjljisc 7
- #define PTH_MCTX_DSP_sjljw32 8
-+#define PTH_MCTX_DSP_sjljmint 9
- #define PTH_MCTX_STK_mc      1
- #define PTH_MCTX_STK_ss      2
- #define PTH_MCTX_STK_sas     3
-diff -ur pth-2.0.7/pth_mctx.c pth-2.0.7-mint/pth_mctx.c
---- pth-2.0.7/pth_mctx.c       Thu Jun  8 17:54:02 2006
-+++ pth-2.0.7-mint/pth_mctx.c  Tue Mar 18 20:39:34 2008
-@@ -180,7 +180,8 @@
- #elif PTH_MCTX_MTH(sjlj)     &&\
-       !PTH_MCTX_DSP(sjljlx)  &&\
-       !PTH_MCTX_DSP(sjljisc) &&\
--      !PTH_MCTX_DSP(sjljw32)
-+      !PTH_MCTX_DSP(sjljw32) &&\
-+      !PTH_MCTX_DSP(sjljmint)
- 
- /*
-  * VARIANT 2: THE SIGNAL STACK TRICK
-@@ -532,6 +533,35 @@
- #endif
-     sigemptyset(&mctx->sigs);
-     mctx->error = 0;
-+    return TRUE;
-+}
-+
-+/*
-+ * VARIANT 6: MINT SPECIFIC JMP_BUF FIDDLING
-+ *
-+ * Oh hell, Mint has setjmp(3), but no sigstack(2) or sigaltstack(2).
-+ * So we have to fiddle around with the jmp_buf here too...
-+ */
-+
-+#elif PTH_MCTX_MTH(sjlj) && PTH_MCTX_DSP(sjljmint)
-+intern int
-+pth_mctx_set(pth_mctx_t *mctx, void (*func)(void),
-+             char *sk_addr_lo, char *sk_addr_hi)
-+{
-+    pth_mctx_save(mctx);
-+    sigemptyset(&mctx->sigs);
-+
-+    mctx->error = 0;
-+
-+#ifdef __TURBOC__
-+      /* Well, it can be supported if you know how Turbo C save the PC
-+         and SP in the jmp_buf (see setjmp.h in the Mintlib include) */
-+      #error "Turbo C compiler not supported"
-+#else
-+    mctx->jb[0] = (char *)func;
-+    mctx->jb[12] = sk_addr_hi;
-+#endif
-+
-     return TRUE;
- }
- 
-diff -ur pth-2.0.7/pthread.c pth-2.0.7-mint/pthread.c
---- pth-2.0.7/pthread.c        Thu Jun  8 17:54:02 2006
-+++ pth-2.0.7-mint/pthread.c   Tue Mar 18 20:39:34 2008
-@@ -308,7 +308,7 @@
-     return OK;
- }
- 
--int __pthread_detach(pthread_t thread)
-+int pthread_detach(pthread_t thread)
- {
-     pth_attr_t na;
- 
-diff -ur pth-2.0.7/pthread.h.in pth-2.0.7-mint/pthread.h.in
---- pth-2.0.7/pthread.h.in     Thu Jun  8 17:54:02 2006
-+++ pth-2.0.7-mint/pthread.h.in        Tue Mar 18 20:39:34 2008
-@@ -345,8 +345,7 @@
- 
- /* thread routines */
- extern int       pthread_create(pthread_t *, const pthread_attr_t *, void 
*(*)(void *), void *);
--extern int       __pthread_detach(pthread_t);
--#define          pthread_detach(t) __pthread_detach(t)
-+extern int       pthread_detach(pthread_t);
- extern pthread_t pthread_self(void);
- extern int       pthread_equal(pthread_t, pthread_t);
- extern int       pthread_yield_np(void);
-@@ -556,8 +555,6 @@
- #define pthread_mutexattr_default  NULL
- #define pthread_once_init          PTHREAD_ONCE_INIT
- 
--#define pthread_detach(thread)  __pthread_detach(*(thread))
--
- #define pthread_attr_init       pthread_attr_create
- #define pthread_attr_delete     pthread_attr_destroy
- #define pthread_keycreate       pthread_key_create

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 5887e7cd12..0000000000
--- a/dev-libs/pth/pth-2.0.7-r3.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2017 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.10 
2014/03/16 02:38:02 vapier Exp $
-
-EAPI=4
-
-inherit eutils fixheadtails libtool flag-o-matic autotools
-
-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="~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos 
~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-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
-       epatch "${FILESDIR}"/${PN}-2.0.7-mint.patch
-       epatch "${FILESDIR}"/${PN}-2.0.7-aix.patch
-
-       ht_fix_file aclocal.m4 configure
-
-       eautoconf
-       elibtoolize
-}
-
-src_configure() {
-       # bug 350815
-       ( use arm || use sh ) && append-flags -U_FORTIFY_SOURCE
-
-       local conf
-
-       [[ ${CHOST} == *-mint* ]] && conf="${conf} --enable-pthread"
-       # http://www.mail-archive.com/[email protected]/msg00525.html
-       [[ ${CHOST} == powerpc*-darwin9 ]] && \
-               conf="${conf} --with-mctx-mth=sjlj --with-mctx-dsp=ssjlj 
--with-mctx-stk=sas"
-
-       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