From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-960430-garchives=archives.gentoo.org@lists.gentoo.org>
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 59EE1139694
	for <garchives@archives.gentoo.org>; Sat,  8 Jul 2017 08:23:24 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id CEBAB234061;
	Sat,  8 Jul 2017 08:23:23 +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 9F813234061
	for <gentoo-commits@lists.gentoo.org>; Sat,  8 Jul 2017 08:23:23 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(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 8CB45341A3A
	for <gentoo-commits@lists.gentoo.org>; Sat,  8 Jul 2017 08:23:22 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id C87707490
	for <gentoo-commits@lists.gentoo.org>; Sat,  8 Jul 2017 08:23:20 +0000 (UTC)
From: "Akinori Hattori" <hattya@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Akinori Hattori" <hattya@gentoo.org>
Message-ID: <1499501845.e8f7b002330ec9985b91cd1cee4018b38f29b362.hattya@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libspt/, dev-libs/libspt/files/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-libs/libspt/files/libspt-gentoo.patch dev-libs/libspt/files/libspt-werror.patch dev-libs/libspt/libspt-1.1-r2.ebuild
X-VCS-Directories: dev-libs/libspt/files/ dev-libs/libspt/
X-VCS-Committer: hattya
X-VCS-Committer-Name: Akinori Hattori
X-VCS-Revision: e8f7b002330ec9985b91cd1cee4018b38f29b362
X-VCS-Branch: master
Date: Sat,  8 Jul 2017 08:23:20 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: 03798b74-1571-4d2d-802a-b9a63b6a200e
X-Archives-Hash: 71e1e59037bb5af4c4ccf839b378d48d

commit:     e8f7b002330ec9985b91cd1cee4018b38f29b362
Author:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Sat Jul  8 08:17:25 2017 +0000
Commit:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Sat Jul  8 08:17:25 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8f7b002

dev-libs/libspt: update patches

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 dev-libs/libspt/files/libspt-gentoo.patch | 29 +++++++++++++++++++++++++++++
 dev-libs/libspt/files/libspt-werror.patch | 11 -----------
 dev-libs/libspt/libspt-1.1-r2.ebuild      |  8 +++-----
 3 files changed, 32 insertions(+), 16 deletions(-)

diff --git a/dev-libs/libspt/files/libspt-gentoo.patch b/dev-libs/libspt/files/libspt-gentoo.patch
new file mode 100644
index 00000000000..f6c709b6b79
--- /dev/null
+++ b/dev-libs/libspt/files/libspt-gentoo.patch
@@ -0,0 +1,29 @@
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -9,7 +9,7 @@
+ libexecdir = @libexecdir@
+ includedir = @includedir@
+ #docdir = $(prefix)/doc
+-mandir = $(prefix)/man
++mandir = @mandir@
+ 
+ EXEEXT = @EXEEXT@
+ 
+@@ -29,7 +29,7 @@
+ INCLUDES = -I.
+ DEFS = @DEFS@
+ CC = @CC@
+-COMMONCFLAGS = -Wall -g -Werror -pipe
++COMMONCFLAGS = -Wall -g -pipe
+ CFLAGS = $(COMMONCFLAGS) @CFLAGS@
+ INSTALL = $(LIBTOOL) --mode=install @INSTALL@
+ INSTALL_DATA = $(LIBTOOL) --mode=install @INSTALL@ -m 644
+@@ -48,7 +48,7 @@
+ AGENTOBJS = sptagent.o sptconn.$lo cfuncs.$lo
+ LIBOBJS = libspt.$lo sptconn.$lo cfuncs.$lo error.$lo utilapi.$lo termios.$lo
+ OBJS = test.o $(LIBOBJS)
+-AGENT_MODE = -m 4755 -o root -g wheel
++AGENT_MODE =
+ 
+ .SUFFIXES: .c .o .cc .lo
+ .c.lo:

diff --git a/dev-libs/libspt/files/libspt-werror.patch b/dev-libs/libspt/files/libspt-werror.patch
deleted file mode 100644
index 6190ea5a455..00000000000
--- a/dev-libs/libspt/files/libspt-werror.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- Makefile.in	2003-12-07 06:42:15.000000000 +0000
-+++ Makefile.in	2009-03-10 21:09:43.000000000 +0000
-@@ -29,7 +29,7 @@
- INCLUDES = -I.
- DEFS = @DEFS@
- CC = @CC@
--COMMONCFLAGS = -Wall -g -Werror -pipe
-+COMMONCFLAGS = -Wall -g -pipe
- CFLAGS = $(COMMONCFLAGS) @CFLAGS@
- INSTALL = $(LIBTOOL) --mode=install @INSTALL@
- INSTALL_DATA = $(LIBTOOL) --mode=install @INSTALL@ -m 644

diff --git a/dev-libs/libspt/libspt-1.1-r2.ebuild b/dev-libs/libspt/libspt-1.1-r2.ebuild
index 255689643e5..cd153e95227 100644
--- a/dev-libs/libspt/libspt-1.1-r2.ebuild
+++ b/dev-libs/libspt/libspt-1.1-r2.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="2"
+
 inherit base
 
 DESCRIPTION="Library for handling root privilege"
@@ -12,13 +13,10 @@ LICENSE="BSD-2"
 SLOT="0"
 KEYWORDS="alpha amd64 ppc x86"
 IUSE=""
-
 RESTRICT="test"
 
 src_prepare() {
-	epatch \
-		"${FILESDIR}/libspt-werror.patch" \
-		"${FILESDIR}/${P}-gentoo.patch"
+	epatch "${FILESDIR}/${PN}-gentoo.patch"
 }
 
 src_install() {