Rediff patches.
[packages/irssi.git] / irssi-gcc4.patch
1 diff -urNp -x '*.orig' irssi-1.2.2.org/src/core/misc.h irssi-1.2.2/src/core/misc.h
2 --- irssi-1.2.2.org/src/core/misc.h     2019-08-29 15:48:46.000000000 +0200
3 +++ irssi-1.2.2/src/core/misc.h 2021-05-04 21:22:59.014622440 +0200
4 @@ -4,6 +4,10 @@
5  int g_input_add_poll(int fd, int priority, int condition,
6                      GInputFunction function, void *data);
7  
8 +#ifdef HAVE_CONFIG_H
9 +#include "irssi-config.h"
10 +#endif
11 +
12  /* `str' should be type char[MAX_INT_STRLEN] */
13  #define ltoa(str, num) \
14         g_snprintf(str, sizeof(str), "%d", num)
15 diff -urNp -x '*.orig' irssi-1.2.2.org/src/perl/module.h irssi-1.2.2/src/perl/module.h
16 --- irssi-1.2.2.org/src/perl/module.h   2019-08-29 15:48:46.000000000 +0200
17 +++ irssi-1.2.2/src/perl/module.h       2021-05-04 21:22:59.017955947 +0200
18 @@ -1,5 +1,9 @@
19  #include "common.h"
20  
21 +#ifdef HAVE_CONFIG_H
22 +#include "irssi-config.h"
23 +#endif
24 +
25  #ifdef NEED_PERL_H
26  #  include <EXTERN.h>
27  #  ifndef _SEM_SEMUN_UNDEFINED
This page took 0.106973 seconds and 3 git commands to generate.