dev-cpp/tbb: clean duplicate patches
authorMarty E. Plummer <hanetzer@startmail.com>
Sun, 8 Apr 2018 20:23:42 +0000 (15:23 -0500)
committerAmy Liffey <amynka@gentoo.org>
Sun, 15 Apr 2018 14:22:50 +0000 (16:22 +0200)
Closes: https://github.com/gentoo/gentoo/pull/7898
Package-Manager: Portage-2.3.28, Repoman-2.3.9

dev-cpp/tbb/files/tbb-2017.20161128-build.patch
dev-cpp/tbb/files/tbb-2017.20161128-underlinking.patch [deleted file]
dev-cpp/tbb/files/tbb-4.0.297-underlinking.patch
dev-cpp/tbb/files/tbb-4.3.20150611-build.patch
dev-cpp/tbb/files/tbb-4.4.20160803-build.patch
dev-cpp/tbb/tbb-2017.20161128.ebuild
dev-cpp/tbb/tbb-4.4.20160803.ebuild

index 0806d6a522b742661432670ffdb7f9e5e2b063d5..e952bfbc434ee10cb8decbf020be67838db7d80c 100644 (file)
@@ -1,5 +1,3 @@
-diff --git a/build/FreeBSD.gcc.inc b/build/FreeBSD.gcc.inc
-index e93f8f4..2b43c51 100644
 --- a/build/FreeBSD.gcc.inc
 +++ b/build/FreeBSD.gcc.inc
 @@ -28,8 +28,8 @@ WARNING_KEY = -Wall
@@ -46,8 +44,6 @@ index e93f8f4..2b43c51 100644
      TBB_ASM.OBJ = atomic_support.o lock_byte.o log2.o pause.o
      MALLOC_ASM.OBJ = atomic_support.o lock_byte.o pause.o
  endif 
-diff --git a/build/linux.clang.inc b/build/linux.clang.inc
-index 237caae..8d6914e 100644
 --- a/build/linux.clang.inc
 +++ b/build/linux.clang.inc
 @@ -31,15 +31,15 @@ DYLIB_KEY = -shared
@@ -107,8 +103,6 @@ index 237caae..8d6914e 100644
  ifeq ($(cfg),debug)
      ASM_FLAGS += -g
  endif
-diff --git a/build/linux.gcc.inc b/build/linux.gcc.inc
-index b7ed0c5..a8e8f85 100644
 --- a/build/linux.gcc.inc
 +++ b/build/linux.gcc.inc
 @@ -32,12 +32,12 @@ DYLIB_KEY = -shared
diff --git a/dev-cpp/tbb/files/tbb-2017.20161128-underlinking.patch b/dev-cpp/tbb/files/tbb-2017.20161128-underlinking.patch
deleted file mode 100644 (file)
index 5935017..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-https://bugs.gentoo.org/show_bug.cgi?id=418447
-
---- a/build/Makefile.test
-+++ b/build/Makefile.test
-@@ -44,8 +44,8 @@
-     USE_PROXY_FLAG = $(DEFINE_KEY)HARNESS_USE_PROXY
-     CPLUS_FLAGS += $(USE_PROXY_FLAG)
-     LINK_TBB.LIB = $(PROXY.LIB)
--    LIBS += $(LIBDL)
--endif
-+endif
-+LIBS += $(LIBDL)
- TEST_SUFFIXES=secondary compiler_builtins pic
- include $(tbb_root)/build/common_rules.inc
index 099bb39d2143c34a329f377884383243fc600ea4..ed318cab838634f1c2b44d9402a062c5b39db6ee 100644 (file)
@@ -5,8 +5,8 @@ Subject: build system
 fix underlinking in test phase
 wrt https://bugs.gentoo.org/show_bug.cgi?id=418447
 
---- build/Makefile.test
-+++ build/Makefile.test
+--- a/build/Makefile.test
++++ b/build/Makefile.test
 @@ -48,8 +48,8 @@
      USE_PROXY_FLAG = $(DEFINE_KEY)HARNESS_USE_PROXY
      CPLUS_FLAGS += $(USE_PROXY_FLAG)
index 42a8bae4640aee1e2c0a83a1b7064b0b3c882695..8f806989e4431cf405287a475f856fc52086587e 100644 (file)
@@ -1,10 +1,3 @@
- build/FreeBSD.gcc.inc | 18 ++++--------------
- build/linux.clang.inc | 26 +++-----------------------
- build/linux.gcc.inc   | 38 +++++++-------------------------------
- 3 files changed, 14 insertions(+), 68 deletions(-)
-
-diff --git a/build/FreeBSD.gcc.inc b/build/FreeBSD.gcc.inc
-index 20f0027..8bbdeba 100644
 --- a/build/FreeBSD.gcc.inc
 +++ b/build/FreeBSD.gcc.inc
 @@ -28,14 +28,14 @@ WARNING_KEY = -Wall
@@ -49,8 +42,6 @@ index 20f0027..8bbdeba 100644
      TBB_ASM.OBJ = atomic_support.o lock_byte.o log2.o pause.o
      MALLOC_ASM.OBJ = atomic_support.o lock_byte.o pause.o
  endif 
-diff --git a/build/linux.clang.inc b/build/linux.clang.inc
-index de9aee5..3a366f1 100644
 --- a/build/linux.clang.inc
 +++ b/build/linux.clang.inc
 @@ -31,15 +31,15 @@ DYLIB_KEY = -shared
@@ -110,8 +101,6 @@ index de9aee5..3a366f1 100644
  ifeq ($(cfg),debug)
      ASM_FLAGS += -g
  endif
-diff --git a/build/linux.gcc.inc b/build/linux.gcc.inc
-index 4b7122b..e8ba711 100644
 --- a/build/linux.gcc.inc
 +++ b/build/linux.gcc.inc
 @@ -32,12 +32,12 @@ DYLIB_KEY = -shared
index 9c66c132fffa658f824d9ad75946056382d21e2f..f4af5de9e50dce896ca24c97cd53fee7a9b79803 100644 (file)
@@ -1,5 +1,3 @@
-diff --git a/build/FreeBSD.gcc.inc b/build/FreeBSD.gcc.inc
-index dc22ca3..65dfb6e 100644
 --- a/build/FreeBSD.gcc.inc
 +++ b/build/FreeBSD.gcc.inc
 @@ -28,8 +28,8 @@ WARNING_KEY = -Wall
@@ -46,8 +44,6 @@ index dc22ca3..65dfb6e 100644
      TBB_ASM.OBJ = atomic_support.o lock_byte.o log2.o pause.o
      MALLOC_ASM.OBJ = atomic_support.o lock_byte.o pause.o
  endif 
-diff --git a/build/linux.clang.inc b/build/linux.clang.inc
-index fc8d7de..21ad5d4 100644
 --- a/build/linux.clang.inc
 +++ b/build/linux.clang.inc
 @@ -31,15 +31,15 @@ DYLIB_KEY = -shared
@@ -107,8 +103,6 @@ index fc8d7de..21ad5d4 100644
  ifeq ($(cfg),debug)
      ASM_FLAGS += -g
  endif
-diff --git a/build/linux.gcc.inc b/build/linux.gcc.inc
-index f9b483d..1e69789 100644
 --- a/build/linux.gcc.inc
 +++ b/build/linux.gcc.inc
 @@ -32,12 +32,12 @@ DYLIB_KEY = -shared
index f88fe95591853c5e33eeb682d499f95cbce3ba46..42598e74ad8553782e51b2756344a2d6ca4948d0 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -22,8 +22,8 @@ RDEPEND="${DEPEND}"
 S="${WORKDIR}/${MYP}"
 
 PATCHES=(
-       "${FILESDIR}"/${P}-underlinking.patch
-       "${FILESDIR}"/${P}-build.patch
+       "${FILESDIR}"/${PN}-4.4.20160803-underlinking.patch
+       "${FILESDIR}"/${PN}-2017.20161128-build.patch
 )
 
 src_prepare() {
index c05b5cccc889675f1beed8f8608866859e548f5b..fb62b61be4a1b1b17e65cefa2f7ad1b93d9028b5 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -23,8 +23,8 @@ RDEPEND="${DEPEND}"
 S="${WORKDIR}/${MYP}"
 
 PATCHES=(
-       "${FILESDIR}"/${P}-underlinking.patch
-       "${FILESDIR}"/${P}-build.patch
+       "${FILESDIR}"/${PN}-4.4.20160803-underlinking.patch
+       "${FILESDIR}"/${PN}-4.4.20160803-build.patch
 )
 
 src_prepare() {