diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:57:42 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:57:42 +0100 |
commit | 1798c4aeca70ac8d0a243684d6a798fbc65735f8 (patch) | |
tree | e48e19cb6fa03de18e1c63e1a93371b7ebc4eb56 /dev-libs/zthread/files | |
parent | d87262dd706fec50cd150aab3e93883b6337466d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-libs/zthread/files')
6 files changed, 0 insertions, 330 deletions
diff --git a/dev-libs/zthread/files/zthread-2.3.2-automake-r2.patch b/dev-libs/zthread/files/zthread-2.3.2-automake-r2.patch deleted file mode 100644 index bcd9e0675979..000000000000 --- a/dev-libs/zthread/files/zthread-2.3.2-automake-r2.patch +++ /dev/null @@ -1,75 +0,0 @@ -From 577b34b74b7a73650d906f371044bfaed6e8b74c Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Tiziano=20M=C3=BCller?= <tm@dev-zero.ch> -Date: Tue, 19 Feb 2013 10:13:12 +0100 -Subject: [PATCH] Use standard automake rules rather than hand coding the - install rules and append linker flags to LDFLAGS and not LDADD, otherwise - --as-needed gets ignored (and possibly others). - ---- - Makefile.am | 21 +++++---------------- - configure.ac | 1 - - src/Makefile.am | 2 -- - 3 files changed, 5 insertions(+), 19 deletions(-) - -diff --git a/Makefile.am b/Makefile.am -index 6c092cf..2d7bddf 100644 ---- a/Makefile.am -+++ b/Makefile.am -@@ -24,24 +24,13 @@ LICENSE \ - MIT.TXT \ - depcomp - -+bin_SCRIPTS = share/zthread-config - --## install the config script --install-exec-hook: -- $(mkinstalldirs) $(bindir) -- $(INSTALL_PROGRAM) $(top_srcdir)/share/zthread-config $(bindir) -+aclocaldir = $(datadir)/aclocal -+aclocal_DATA = share/zthread.m4 share/pthread.m4 - --## install the config script & m4 macros --install-data-hook: -- $(mkinstalldirs) $(datadir)/aclocal -- $(INSTALL_DATA) $(top_srcdir)/share/zthread.m4 $(datadir)/aclocal -- $(INSTALL_DATA) $(top_srcdir)/share/pthread.m4 $(datadir)/aclocal -- mkdir -p $(DESTDIR)$(includedir)/zthread -- cp -pR $(top_srcdir)/include/zthread $(DESTDIR)$(includedir)/ -- --## uninstall the config script & m4 macros --uninstall-local: -- -rm -rf $(datadir)/aclocal/pthread.m4 -- -rm -rf $(datadir)/aclocal/zthread.m4 -+zincludedir = $(includedir)/zthread -+zinclude_HEADERS = include/zthread/*.h - - distclean-local: - -rm -rf $(top_srcdir)/$(PACKAGE)-$(VERSION).tar.gz -diff --git a/configure.ac b/configure.ac -index 866041b..5d32a58 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -226,7 +226,6 @@ AC_TRY_LINK( [#include <windows.h>], [_beginthreadex((void*)0, 0, 0, (void*)0, 0 - - dnl Configure the final compiler & linker options - COMPILER_OPTIONS="$COMPILER_OPTIONS $CXXFLAGS" --LINKER_OPTIONS="$LINKER_OPTIONS $LDFLAGS" - - dnl Configured flags for compiling ZThreads - AC_SUBST(LINKER_OPTIONS) -diff --git a/src/Makefile.am b/src/Makefile.am -index 04404d6..35dc764 100644 ---- a/src/Makefile.am -+++ b/src/Makefile.am -@@ -21,8 +21,6 @@ AM_CXXFLAGS = @COMPILER_OPTIONS@ @EXTRA_COMPILER_OPTIONS@ - INCLUDES = -I$(top_srcdir)/include - SUBDIRS=. - --libdir=$(prefix)/lib -- - lib_LTLIBRARIES = libZThread.la - - libZThread_la_LIBADD=@LINKER_OPTIONS@ @EXTRA_LINKER_OPTIONS@ --- -1.8.1.1 - diff --git a/dev-libs/zthread/files/zthread-2.3.2-clang.patch b/dev-libs/zthread/files/zthread-2.3.2-clang.patch deleted file mode 100644 index 13dd91ea2ca5..000000000000 --- a/dev-libs/zthread/files/zthread-2.3.2-clang.patch +++ /dev/null @@ -1,16 +0,0 @@ -fix compile when using clang as $CC: - -Based on patch from https://bugs.launchpad.net/hugin/+bug/1213585 (rebased) - -diff -r 2a43e83684d5 src/foreign/zthread/include/zthread/Guard.h ---- a/include/zthread/Guard.h Sat Aug 10 11:31:46 2013 +0200 -+++ b/include/zthread/Guard.h Sun Aug 18 09:46:43 2013 +0200 -@@ -108,7 +108,7 @@ - } - - template <class LockType> -- static void createScope(LockHolder<LockType>& l, unsigned long ms) { -+ static bool createScope(LockHolder<LockType>& l, unsigned long ms) { - - if(Scope1::createScope(l, ms)) - if(!Scope2::createScope(l, ms)) { diff --git a/dev-libs/zthread/files/zthread-2.3.2-gcc47.patch b/dev-libs/zthread/files/zthread-2.3.2-gcc47.patch deleted file mode 100644 index 57b122d22c5f..000000000000 --- a/dev-libs/zthread/files/zthread-2.3.2-gcc47.patch +++ /dev/null @@ -1,25 +0,0 @@ -Description: Make sure to use qualified lookups. -http://bugs.debian.org/667430 -https://bugs.gentoo.org/show_bug.cgi?id=414133 - -Author: Cyril Brulebois <kibi@debian.org> ---- a/include/zthread/Guard.h -+++ b/include/zthread/Guard.h -@@ -428,7 +428,7 @@ - template <class U, class V> - Guard(Guard<U, V>& g) : LockHolder<LockType>(g) { - -- LockingPolicy::shareScope(*this, extract(g)); -+ LockingPolicy::shareScope(*this, this->extract(g)); - - } - -@@ -458,7 +458,7 @@ - template <class U, class V> - Guard(Guard<U, V>& g, LockType& lock) : LockHolder<LockType>(lock) { - -- LockingPolicy::transferScope(*this, extract(g)); -+ LockingPolicy::transferScope(*this, this->extract(g)); - - } - diff --git a/dev-libs/zthread/files/zthread-2.3.2-m4-quote.patch b/dev-libs/zthread/files/zthread-2.3.2-m4-quote.patch deleted file mode 100644 index 72163a3b12a3..000000000000 --- a/dev-libs/zthread/files/zthread-2.3.2-m4-quote.patch +++ /dev/null @@ -1,26 +0,0 @@ -fix m4 warnings: -zthread.m4:34: warning: underquoted definition of AM_PATH_ZTHREAD -pthread.m4:39: warning: underquoted definition of AM_DETECT_PTHREAD - ---- a/share/zthread.m4 -+++ b/share/zthread.m4 -@@ -31,7 +31,7 @@ - dnl ZTHREAD_CXXFLAGS - dnl ZTHREAD_LIBS - dnl --AC_DEFUN(AM_PATH_ZTHREAD, -+AC_DEFUN([AM_PATH_ZTHREAD], - [ - - ---- a/share/pthread.m4 -+++ b/share/pthread.m4 -@@ -36,7 +36,7 @@ - GNU Pth can also be used if it was configured with --enable-pthread. - EOF - --AC_DEFUN(AM_DETECT_PTHREAD, -+AC_DEFUN([AM_DETECT_PTHREAD], - [ - - pthread_explicit="no" diff --git a/dev-libs/zthread/files/zthread-2.3.2-no-fpermissive-r1.diff b/dev-libs/zthread/files/zthread-2.3.2-no-fpermissive-r1.diff deleted file mode 100644 index 94b42eedfbf3..000000000000 --- a/dev-libs/zthread/files/zthread-2.3.2-no-fpermissive-r1.diff +++ /dev/null @@ -1,94 +0,0 @@ ---- a/include/zthread/Guard.h 2008-07-22 14:46:28.000000000 +0200 -+++ b/include/zthread/Guard.h 2008-07-22 14:51:41.000000000 +0200 -@@ -491,7 +491,7 @@ - - try { - -- if(!isDisabled()) -+ if(!LockHolder<LockType>::isDisabled()) - LockingPolicy::destroyScope(*this); - - } catch (...) { /* ignore */ } ---- a/src/MutexImpl.h 2008-07-22 14:54:40.000000000 +0200 -+++ b/src/MutexImpl.h 2008-07-22 15:03:30.000000000 +0200 -@@ -153,7 +153,7 @@ - - _owner = self; - -- ownerAcquired(self); -+ MutexImpl<List,Behavior>::ownerAcquired(self); - - } - -@@ -164,7 +164,7 @@ - _waiters.insert(self); - m.acquire(); - -- waiterArrived(self); -+ MutexImpl<List, Behavior>::waiterArrived(self); - - { - -@@ -173,7 +173,7 @@ - - } - -- waiterDeparted(self); -+ MutexImpl<List, Behavior>::waiterDeparted(self); - - m.release(); - -@@ -192,7 +192,7 @@ - assert(_owner == 0); - _owner = self; - -- ownerAcquired(self); -+ MutexImpl<List, Behavior>::ownerAcquired(self); - - break; - -@@ -236,7 +236,7 @@ - - _owner = self; - -- ownerAcquired(self); -+ MutexImpl<List, Behavior>::ownerAcquired(self); - - } - -@@ -253,7 +253,7 @@ - - m.acquire(); - -- waiterArrived(self); -+ MutexImpl<List, Behavior>:: waiterArrived(self); - - { - -@@ -262,7 +262,7 @@ - - } - -- waiterDeparted(self); -+ MutexImpl<List, Behavior>::waiterDeparted(self); - - m.release(); - -@@ -284,7 +284,7 @@ - assert(0 == _owner); - _owner = self; - -- ownerAcquired(self); -+ MutexImpl<List, Behavior>::ownerAcquired(self); - - break; - -@@ -326,7 +326,7 @@ - - _owner = 0; - -- ownerReleased(impl); -+ MutexImpl<List, Behavior>::ownerReleased(impl); - - // Try to find a waiter with a backoff & retry scheme - for(;;) { diff --git a/dev-libs/zthread/files/zthread-2.3.2-no-fpermissive.diff b/dev-libs/zthread/files/zthread-2.3.2-no-fpermissive.diff deleted file mode 100644 index 21fad7c52c8e..000000000000 --- a/dev-libs/zthread/files/zthread-2.3.2-no-fpermissive.diff +++ /dev/null @@ -1,94 +0,0 @@ ---- include/zthread/Guard.h.orig 2008-07-22 14:46:28.000000000 +0200 -+++ include/zthread/Guard.h 2008-07-22 14:51:41.000000000 +0200 -@@ -491,7 +491,7 @@ - - try { - -- if(!isDisabled()) -+ if(!LockHolder<LockType>::isDisabled()) - LockingPolicy::destroyScope(*this); - - } catch (...) { /* ignore */ } ---- src/MutexImpl.h.orig 2008-07-22 14:54:40.000000000 +0200 -+++ src/MutexImpl.h 2008-07-22 15:03:30.000000000 +0200 -@@ -153,7 +153,7 @@ - - _owner = self; - -- ownerAcquired(self); -+ MutexImpl<List,Behavior>::ownerAcquired(self); - - } - -@@ -164,7 +164,7 @@ - _waiters.insert(self); - m.acquire(); - -- waiterArrived(self); -+ MutexImpl<List, Behavior>::waiterArrived(self); - - { - -@@ -173,7 +173,7 @@ - - } - -- waiterDeparted(self); -+ MutexImpl<List, Behavior>::waiterDeparted(self); - - m.release(); - -@@ -192,7 +192,7 @@ - assert(_owner == 0); - _owner = self; - -- ownerAcquired(self); -+ MutexImpl<List, Behavior>::ownerAcquired(self); - - break; - -@@ -236,7 +236,7 @@ - - _owner = self; - -- ownerAcquired(self); -+ MutexImpl<List, Behavior>::ownerAcquired(self); - - } - -@@ -253,7 +253,7 @@ - - m.acquire(); - -- waiterArrived(self); -+ MutexImpl<List, Behavior>:: waiterArrived(self); - - { - -@@ -262,7 +262,7 @@ - - } - -- waiterDeparted(self); -+ MutexImpl<List, Behavior>::waiterDeparted(self); - - m.release(); - -@@ -284,7 +284,7 @@ - assert(0 == _owner); - _owner = self; - -- ownerAcquired(self); -+ MutexImpl<List, Behavior>::ownerAcquired(self); - - break; - -@@ -326,7 +326,7 @@ - - _owner = 0; - -- ownerReleased(impl); -+ MutexImpl<List, Behavior>::ownerReleased(impl); - - // Try to find a waiter with a backoff & retry scheme - for(;;) { |