public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/tntnet/, dev-libs/tntnet/files/
Date: Mon, 15 Mar 2021 12:44:19 +0000 (UTC)	[thread overview]
Message-ID: <1615812219.f00e032a6c338c13afbdd6358e2371f12b5dc782.polynomial-c@gentoo> (raw)

commit:     f00e032a6c338c13afbdd6358e2371f12b5dc782
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 15 12:43:39 2021 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Mon Mar 15 12:43:39 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f00e032a

dev-libs/tntnet: Fixed build with >=sys-devel/autoconf-2.70

Bug: https://bugs.gentoo.org/775479
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 .../tntnet/files/tntnet-3.0-autoconf-2.70.patch    | 78 ++++++++++++++++++++++
 dev-libs/tntnet/tntnet-3.0.ebuild                  |  4 ++
 2 files changed, 82 insertions(+)

diff --git a/dev-libs/tntnet/files/tntnet-3.0-autoconf-2.70.patch b/dev-libs/tntnet/files/tntnet-3.0-autoconf-2.70.patch
new file mode 100644
index 00000000000..6e25e683da1
--- /dev/null
+++ b/dev-libs/tntnet/files/tntnet-3.0-autoconf-2.70.patch
@@ -0,0 +1,78 @@
+diff --git a/configure.ac b/configure.ac
+index 0c7732c4..52227db0 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -74,21 +74,21 @@ AC_CHECK_HEADERS([sys/sendfile.h])
+ # optional components
+ #
+ AC_ARG_ENABLE([server],
+-  AS_HELP_STRING([--disable-server], [disable building tntnet server]),
++  [AS_HELP_STRING([--disable-server], [disable building tntnet server])],
+   [enable_server=$enableval],
+   [enable_server=yes])
+ 
+ AM_CONDITIONAL(MAKE_SERVER, test x$enable_server = xyes)
+ 
+ AC_ARG_ENABLE([sdk],
+-  AS_HELP_STRING([--disable-sdk], [disable building sdk]),
++  [AS_HELP_STRING([--disable-sdk], [disable building sdk])],
+   [enable_sdk=$enableval],
+   [enable_sdk=yes])
+ 
+ AM_CONDITIONAL(MAKE_SDK, test x$enable_sdk = xyes)
+ 
+ AC_ARG_ENABLE([demos],
+-  AS_HELP_STRING([--enable-demos], [enable building demos]),
++  [AS_HELP_STRING([--enable-demos], [enable building demos])],
+   [enable_demos=$enableval],
+   [enable_demos=no])
+ 
+@@ -105,17 +105,16 @@ AS_IF([test "$enable_demos" = "yes"],
+ )
+ 
+ AC_ARG_WITH([md2man],
+-  AS_HELP_STRING([--with-md2man], [use go-md2man tool to generate man pages from markdown])
++  [AS_HELP_STRING([--with-md2man], [use go-md2man tool to generate man pages from markdown])],
+   [with_md2man=$withval])
+ 
+ AS_IF(
+   [test "$with_md2man"],
+-  AC_CHECK_PROG(MD2MAN, [go-md2man], [go-md2man])
++  [AC_CHECK_PROG(MD2MAN, [go-md2man], [go-md2man])
+   AS_IF(
+     [test -z "$MD2MAN"],
+     AC_MSG_ERROR([go-md2man not found])
+-  )
+-
++  )]
+ )
+ 
+ AM_CONDITIONAL(GENERATE_MAN, test ! -z "$with_md2man")
+@@ -125,21 +124,15 @@ AM_CONDITIONAL(GENERATE_MAN, test ! -z "$with_md2man")
+ #
+ AC_CHECK_FUNCS([setenv])
+ 
+-case "${host_cpu}-${host_os}" in
+-*-aix*)
+-    SHARED_LIB_FLAG=-qmkshrobj
+-    ;;
+-*-darwin*)
+-    SHARED_LIB_FLAG=-dynamiclib
+-    ;;
+-*)
+-    SHARED_LIB_FLAG=-shared
+-    ;;
+-esac
++AS_CASE(["${host_cpu}-${host_os}"],
++    [*-aix*], [SHARED_LIB_FLAG=-qmkshrobj],
++    [*-darwin*], [SHARED_LIB_FLAG=-dynamiclib],
++    [SHARED_LIB_FLAG=-shared]
++)
+ AC_SUBST(SHARED_LIB_FLAG)
+ 
+ AC_ARG_ENABLE([unittest],
+-  AS_HELP_STRING([--disable-unittest], [disable unittest]),
++  [AS_HELP_STRING([--disable-unittest], [disable unittest])],
+   [enable_unittest=$enableval],
+   [enable_unittest=enable_unittest])
+ 

diff --git a/dev-libs/tntnet/tntnet-3.0.ebuild b/dev-libs/tntnet/tntnet-3.0.ebuild
index e09bb6e710d..07f7369d5a4 100644
--- a/dev-libs/tntnet/tntnet-3.0.ebuild
+++ b/dev-libs/tntnet/tntnet-3.0.ebuild
@@ -30,6 +30,10 @@ DEPEND="${RDEPEND}"
 BDEPEND="virtual/pkgconfig
 	app-arch/zip"
 
+PATCHES=(
+	"${FILESDIR}/${PN}-3.0-autoconf-2.70.patch"
+)
+
 src_prepare() {
 	default
 


             reply	other threads:[~2021-03-15 12:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-15 12:44 Lars Wendler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-05-10 16:36 [gentoo-commits] repo/gentoo:master commit in: dev-libs/tntnet/, dev-libs/tntnet/files/ Jörg Bornkessel
2021-02-14 17:14 Jörg Bornkessel
2016-05-16 18:51 Joerg Bornkessel

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=1615812219.f00e032a6c338c13afbdd6358e2371f12b5dc782.polynomial-c@gentoo \
    --to=polynomial-c@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