]> git.pld-linux.org Git - packages/irssi.git/blobdiff - irssi-gcc4.patch
- build fixes.
[packages/irssi.git] / irssi-gcc4.patch
diff --git a/irssi-gcc4.patch b/irssi-gcc4.patch
new file mode 100644 (file)
index 0000000..1ae6f33
--- /dev/null
@@ -0,0 +1,23 @@
+--- irssi-0.8.10-rc5/src/core/misc.h.orig      2004-03-23 23:10:02.000000000 +0100
++++ irssi-0.8.10-rc5/src/core/misc.h   2005-03-01 20:23:20.306008696 +0100
+@@ -1,6 +1,10 @@
+ #ifndef __MISC_H
+ #define __MISC_H
++#ifdef HAVE_CONFIG_H
++#include "config.h"
++#endif
++
+ /* `str' should be type char[MAX_INT_STRLEN] */
+ #define ltoa(str, num) \
+       g_snprintf(str, sizeof(str), "%d", num)
+--- irssi-0.8.10-rc5/src/perl/module.h.orig    2001-12-14 02:54:12.000000000 +0100
++++ irssi-0.8.10-rc5/src/perl/module.h 2005-03-01 20:23:50.545411608 +0100
+@@ -1,3 +1,7 @@
++#ifdef HAVE_CONFIG_H
++#include "config.h"
++#endif
++
+ #ifdef NEED_PERL_H
+ #  include <EXTERN.h>
+ #  ifndef _SEM_SEMUN_UNDEFINED
This page took 0.028501 seconds and 4 git commands to generate.