public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Jeroen Roovers" <jer@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/socat/, net-misc/socat/files/
Date: Mon, 27 Jan 2020 11:05:15 +0000 (UTC)	[thread overview]
Message-ID: <1580123114.a4e3d5b9b0af743e295fd5fe1ec2021950d7a4cd.jer@gentoo> (raw)

commit:     a4e3d5b9b0af743e295fd5fe1ec2021950d7a4cd
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 27 11:04:03 2020 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Mon Jan 27 11:05:14 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4e3d5b9

net-misc/socat: Fix CFLAGS=-fno-common USE=tcpd

Package-Manager: Portage-2.3.85, Repoman-2.3.20
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>

 .../socat/files/socat-1.7.3.4-fno-common.patch     | 24 ++++++++++++++++++++++
 net-misc/socat/socat-1.7.3.4.ebuild                |  3 +++
 net-misc/socat/socat-2.0.0_beta9.ebuild            |  6 +++---
 net-misc/socat/socat-9999.ebuild                   |  3 ++-
 4 files changed, 32 insertions(+), 4 deletions(-)

diff --git a/net-misc/socat/files/socat-1.7.3.4-fno-common.patch b/net-misc/socat/files/socat-1.7.3.4-fno-common.patch
new file mode 100644
index 00000000000..a7dcf71c376
--- /dev/null
+++ b/net-misc/socat/files/socat-1.7.3.4-fno-common.patch
@@ -0,0 +1,24 @@
+--- a/filan.c
++++ b/filan.c
+@@ -30,7 +30,9 @@
+ 
+ /* dirty workaround so we dont get an error on AIX when being linked with
+    libwrap */
++#if _AIX
+ int allow_severity, deny_severity;
++#endif
+ 
+ /* global variables for configuring filan */
+ bool filan_followsymlinks;
+--- a/procan.c
++++ b/procan.c
+@@ -21,7 +21,9 @@
+ 
+ /* dirty workaround so we dont get an error on AIX when getting linked with
+    libwrap */
++#if _AIX
+ int allow_severity, deny_severity;
++#endif
+ 
+ 
+ int procan(FILE *outfile) {

diff --git a/net-misc/socat/socat-1.7.3.4.ebuild b/net-misc/socat/socat-1.7.3.4.ebuild
index 5c208be530b..d964ea01444 100644
--- a/net-misc/socat/socat-1.7.3.4.ebuild
+++ b/net-misc/socat/socat-1.7.3.4.ebuild
@@ -33,6 +33,9 @@ RESTRICT="
 DOCS=(
 	BUGREPORTS CHANGES DEVELOPMENT EXAMPLES FAQ FILES PORTING README SECURITY
 )
+PATCHES=(
+	"${FILESDIR}"/${PN}-1.7.3.4-fno-common.patch
+)
 
 pkg_setup() {
 	# bug #587740

diff --git a/net-misc/socat/socat-2.0.0_beta9.ebuild b/net-misc/socat/socat-2.0.0_beta9.ebuild
index f8881af9ed2..d5d7fe26557 100644
--- a/net-misc/socat/socat-2.0.0_beta9.ebuild
+++ b/net-misc/socat/socat-2.0.0_beta9.ebuild
@@ -1,8 +1,7 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
-
+EAPI=7
 inherit autotools flag-o-matic toolchain-funcs
 
 DESCRIPTION="Multipurpose relay (SOcket CAT)"
@@ -36,6 +35,7 @@ DOCS=(
 PATCHES=(
 	"${FILESDIR}"/${PN}-1.7.3.0-filan-build.patch
 	"${FILESDIR}"/${PN}-1.7.3.1-stddef_h.patch
+	"${FILESDIR}"/${PN}-1.7.3.4-fno-common.patch
 	"${FILESDIR}"/${PN}-2.0.0_beta9-libressl.patch
 )
 

diff --git a/net-misc/socat/socat-9999.ebuild b/net-misc/socat/socat-9999.ebuild
index dfc7752ca39..2c12dbc3dc4 100644
--- a/net-misc/socat/socat-9999.ebuild
+++ b/net-misc/socat/socat-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -34,6 +34,7 @@ DOCS=(
 )
 
 PATCHES=(
+	"${FILESDIR}"/${PN}-1.7.3.4-fno-common.patch
 	"${FILESDIR}"/${PN}-9999-stddef_h.patch
 )
 


             reply	other threads:[~2020-01-27 11:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-27 11:05 Jeroen Roovers [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-04-30 23:27 [gentoo-commits] repo/gentoo:master commit in: net-misc/socat/, net-misc/socat/files/ Sam James
2021-01-07  3:07 Sam James
2019-04-18 15:19 Jeroen Roovers
2016-03-05  8:26 Jeroen Roovers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1580123114.a4e3d5b9b0af743e295fd5fe1ec2021950d7a4cd.jer@gentoo \
    --to=jer@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox