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 0319B138331 for ; Sat, 17 Sep 2016 14:12:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DA797E09B9; Sat, 17 Sep 2016 14:12:16 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B5EC8E09AA for ; Sat, 17 Sep 2016 14:12:15 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3205D340AE2 for ; Sat, 17 Sep 2016 14:12:14 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CE6732483 for ; Sat, 17 Sep 2016 14:12:11 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1474121499.da26589a40637b2f1fceef6180b3de18351a4610.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/cifparse-obj/, sci-libs/cifparse-obj/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/cifparse-obj/cifparse-obj-7.025-r1.ebuild sci-libs/cifparse-obj/files/cifparse-obj-7.025-strncasecmp-declaration.patch X-VCS-Directories: sci-libs/cifparse-obj/files/ sci-libs/cifparse-obj/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: da26589a40637b2f1fceef6180b3de18351a4610 X-VCS-Branch: master Date: Sat, 17 Sep 2016 14:12:11 +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: 7e942d62-e451-4a20-bcdc-454cbdb89d89 X-Archives-Hash: f489d22b34c112a08b3c1108993a1185 commit: da26589a40637b2f1fceef6180b3de18351a4610 Author: David Seifert gentoo org> AuthorDate: Sat Sep 17 14:09:24 2016 +0000 Commit: David Seifert gentoo org> CommitDate: Sat Sep 17 14:11:39 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da26589a sci-libs/cifparse-obj: Allow for compiling with GCC 6 Gentoo-bug: 594054 * Remove broken declarations of the 'strcasecmp' and 'strncasecmp' functions. Package-Manager: portage-2.3.0 sci-libs/cifparse-obj/cifparse-obj-7.025-r1.ebuild | 5 +++-- .../cifparse-obj-7.025-strncasecmp-declaration.patch | 16 ++++++++++++++++ 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/sci-libs/cifparse-obj/cifparse-obj-7.025-r1.ebuild b/sci-libs/cifparse-obj/cifparse-obj-7.025-r1.ebuild index a30d3b4..39d1762 100644 --- a/sci-libs/cifparse-obj/cifparse-obj-7.025-r1.ebuild +++ b/sci-libs/cifparse-obj/cifparse-obj-7.025-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -29,7 +29,8 @@ src_prepare() { "${FILESDIR}"/${P}-makefile.patch \ "${FILESDIR}"/${P}-gcc4.3.patch \ "${FILESDIR}"/${P}-gcc4.7.patch \ - "${FILESDIR}"/${P}-gcc5.patch + "${FILESDIR}"/${P}-gcc5.patch \ + "${FILESDIR}"/${PN}-7.025-strncasecmp-declaration.patch sed \ -e "s:^\(CC=\).*:\1$(tc-getCC):g" \ diff --git a/sci-libs/cifparse-obj/files/cifparse-obj-7.025-strncasecmp-declaration.patch b/sci-libs/cifparse-obj/files/cifparse-obj-7.025-strncasecmp-declaration.patch new file mode 100644 index 00000000..9222ff2 --- /dev/null +++ b/sci-libs/cifparse-obj/files/cifparse-obj-7.025-strncasecmp-declaration.patch @@ -0,0 +1,16 @@ +Remove incorrect prototypes of the 'strcasecmp' and 'strncasecmp' functions. +See also: https://bugs.gentoo.org/show_bug.cgi?id=594054 + +--- a/misclib-v2.2/include/ndb_misclib.h ++++ b/misclib-v2.2/include/ndb_misclib.h +@@ -167,10 +167,6 @@ + #define NDB_MSG_BUFFER_LEN 200000 + + +-#if !defined(HAVE_STRCASECMP) +-int strcasecmp (const char *s1, const char *s2); +-int strncasecmp (const char *s1, const char *s2, unsigned int n); +-#endif + /* + * ndb_misclib.c prototypes + */