From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7577F138334 for ; Sat, 8 Sep 2018 13:28:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 29CAFE07F9; Sat, 8 Sep 2018 13:28:33 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F15BEE07F9 for ; Sat, 8 Sep 2018 13:28:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 634E4335D92 for ; Sat, 8 Sep 2018 13:28:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 987C03CF for ; Sat, 8 Sep 2018 13:28:29 +0000 (UTC) From: "Jeroen Roovers" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jeroen Roovers" Message-ID: <1536413305.01e24f2cd0d3bea9dab9c6047648941d677dbcb6.jer@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/xxhash/, dev-libs/xxhash/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/xxhash/files/xxhash-0.6.5-do-not-compile-xxhash.o-twice.patch dev-libs/xxhash/xxhash-0.6.5.ebuild X-VCS-Directories: dev-libs/xxhash/ dev-libs/xxhash/files/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 01e24f2cd0d3bea9dab9c6047648941d677dbcb6 X-VCS-Branch: master Date: Sat, 8 Sep 2018 13:28:29 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 10fd28f9-22bf-4f71-9326-cb445cacc4e5 X-Archives-Hash: 991e8099bc158d667131f800dd95a44e commit: 01e24f2cd0d3bea9dab9c6047648941d677dbcb6 Author: Jeroen Roovers gentoo org> AuthorDate: Sat Sep 8 13:28:03 2018 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Sat Sep 8 13:28:25 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01e24f2c dev-libs/xxhash: Compile xxhash.o once Package-Manager: Portage-2.3.49, Repoman-2.3.10 .../files/xxhash-0.6.5-do-not-compile-xxhash.o-twice.patch | 11 +++++++++++ dev-libs/xxhash/xxhash-0.6.5.ebuild | 3 +++ 2 files changed, 14 insertions(+) diff --git a/dev-libs/xxhash/files/xxhash-0.6.5-do-not-compile-xxhash.o-twice.patch b/dev-libs/xxhash/files/xxhash-0.6.5-do-not-compile-xxhash.o-twice.patch new file mode 100644 index 00000000000..dcbc8c32dec --- /dev/null +++ b/dev-libs/xxhash/files/xxhash-0.6.5-do-not-compile-xxhash.o-twice.patch @@ -0,0 +1,11 @@ +--- a/Makefile ++++ b/Makefile +@@ -82,7 +82,7 @@ + all: lib xxhsum xxhsum_inlinedXXH + + xxhsum32: CFLAGS += -m32 +-xxhsum xxhsum32: xxhash.c xxhsum.c ++xxhsum xxhsum32: xxhash.o xxhsum.c + $(CC) $(FLAGS) $^ -o $@$(EXT) + + .PHONY: xxhsum_and_links diff --git a/dev-libs/xxhash/xxhash-0.6.5.ebuild b/dev-libs/xxhash/xxhash-0.6.5.ebuild index f23c18c478a..f8633569a91 100644 --- a/dev-libs/xxhash/xxhash-0.6.5.ebuild +++ b/dev-libs/xxhash/xxhash-0.6.5.ebuild @@ -16,6 +16,9 @@ IUSE="static-libs" DEPEND="" S="${WORKDIR}/xxHash-${PV}" +PATCHES=( + "${FILESDIR}"/${PN}-0.6.5-do-not-compile-xxhash.o-twice.patch +) src_configure() { use hppa && replace-flags '-O*' '-O0'