gentoo-ebuilds/media-libs/imlib/files/imlib-1.9.15-c99-configure.patch
Sam James ec16e6f17e
media-libs/imlib: fix autotools patch filename
I suspect I did the patching before I ported to EAPI 8 (where
the eclass does the .in->.ac rename).

Closes: https://bugs.gentoo.org/931676
Fixes: 20f11b9862
Signed-off-by: Sam James <sam@gentoo.org>
2024-05-13 22:52:31 +01:00

20 lines
501 B
Diff

https://bugs.gentoo.org/898234
--- a/configure.in
+++ b/configure.in
@@ -62,7 +62,7 @@ if test "x$GDK_IMLIB" != x; then
#include <glib.h>
#include <gmodule.h>
#include <stdlib.h>
-main ()
+int main ()
{
if (g_module_supported ())
exit (0);
@@ -166,6 +166,7 @@ if test "x$enable_shm" = "xyes"; then
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/shm.h>
+ #include <stdlib.h>
int main()
{
int id;