diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2024-11-16 15:07:05 +0100 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2024-11-16 15:07:40 +0100 |
commit | 4d8c8ea2039737e18c88e75973abd8d6cc6f9d16 (patch) | |
tree | 76ae04aaee9ccd03d70a9fed3c28245c69c54da5 /app-mobilephone | |
parent | www-servers/h2o: new snapshot (diff) | |
download | gentoo-4d8c8ea2039737e18c88e75973abd8d6cc6f9d16.tar.gz gentoo-4d8c8ea2039737e18c88e75973abd8d6cc6f9d16.tar.bz2 gentoo-4d8c8ea2039737e18c88e75973abd8d6cc6f9d16.zip |
app-mobilephone/gnokii: fix implicit declarations in configure
Closes: https://bugs.gentoo.org/910680
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'app-mobilephone')
-rw-r--r-- | app-mobilephone/gnokii/files/gnokii-0.6.31-conf-intrinsic.patch | 19 | ||||
-rw-r--r-- | app-mobilephone/gnokii/gnokii-0.6.31-r5.ebuild | 1 |
2 files changed, 20 insertions, 0 deletions
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() { |