public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas K. Hüttel" <dilfridge@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-mobilephone/gnokii/, app-mobilephone/gnokii/files/
Date: Sat, 16 Nov 2024 14:08:02 +0000 (UTC)	[thread overview]
Message-ID: <1731766060.4d8c8ea2039737e18c88e75973abd8d6cc6f9d16.dilfridge@gentoo> (raw)

commit:     4d8c8ea2039737e18c88e75973abd8d6cc6f9d16
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 16 14:07:05 2024 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sat Nov 16 14:07:40 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d8c8ea2

app-mobilephone/gnokii: fix implicit declarations in configure

Closes: https://bugs.gentoo.org/910680
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 .../gnokii/files/gnokii-0.6.31-conf-intrinsic.patch   | 19 +++++++++++++++++++
 app-mobilephone/gnokii/gnokii-0.6.31-r5.ebuild        |  1 +
 2 files changed, 20 insertions(+)

diff --git a/app-mobilephone/gnokii/files/gnokii-0.6.31-conf-intrinsic.patch b/app-mobilephone/gnokii/files/gnokii-0.6.31-conf-intrinsic.patch
new file mode 100644
index 000000000000..cc75e8cebe49
--- /dev/null
+++ b/app-mobilephone/gnokii/files/gnokii-0.6.31-conf-intrinsic.patch
@@ -0,0 +1,19 @@
+diff '--color=auto' -ruN gnokii-0.6.31.orig/configure.in gnokii-0.6.31/configure.in
+--- gnokii-0.6.31.orig/configure.in	2024-11-16 14:59:39.416370347 +0100
++++ gnokii-0.6.31/configure.in	2024-11-16 15:03:09.368586626 +0100
+@@ -940,6 +940,7 @@
+ AC_CACHE_CHECK(for ISO C99 compliant snprintf,ac_cv_func_snprintf_c99,
+ 	[AC_TRY_RUN([
+ #include <stdio.h>
++#include <stdlib.h>
+ 
+ int main()
+ {
+@@ -955,6 +956,7 @@
+ 	[AC_TRY_RUN([
+ #include <stdio.h>
+ #include <stdarg.h>
++#include <stdlib.h>
+ 
+ int doit(char *buf, int len, const char *s, ...)
+ {

diff --git a/app-mobilephone/gnokii/gnokii-0.6.31-r5.ebuild b/app-mobilephone/gnokii/gnokii-0.6.31-r5.ebuild
index ecb43f31fb9f..8c0e5d132103 100644
--- a/app-mobilephone/gnokii/gnokii-0.6.31-r5.ebuild
+++ b/app-mobilephone/gnokii/gnokii-0.6.31-r5.ebuild
@@ -49,6 +49,7 @@ PATCHES=(
 	"${FILESDIR}"/${P}-gcc5.patch
 	"${FILESDIR}"/${P}-gcc7.patch
 	"${FILESDIR}"/${PN}-0.6.31-sqlite-typo.patch
+	"${FILESDIR}"/${PN}-0.6.31-conf-intrinsic.patch
 )
 
 src_prepare() {


             reply	other threads:[~2024-11-16 14:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-16 14:08 Andreas K. Hüttel [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-05-13 18:50 [gentoo-commits] repo/gentoo:master commit in: app-mobilephone/gnokii/, app-mobilephone/gnokii/files/ Arthur Zamarin
2020-01-16 10:43 Jeroen Roovers
2017-11-28 19:46 Pacho Ramos
2016-01-09 15:06 Michael Palimaka

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=1731766060.4d8c8ea2039737e18c88e75973abd8d6cc6f9d16.dilfridge@gentoo \
    --to=dilfridge@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