diff options
Diffstat (limited to 'www-servers/boa/files/boa-0.94.13-gcc3.patch')
-rw-r--r-- | www-servers/boa/files/boa-0.94.13-gcc3.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/www-servers/boa/files/boa-0.94.13-gcc3.patch b/www-servers/boa/files/boa-0.94.13-gcc3.patch new file mode 100644 index 000000000000..765c243e8dae --- /dev/null +++ b/www-servers/boa/files/boa-0.94.13-gcc3.patch @@ -0,0 +1,19 @@ +diff -ur boa-0.94.13/src/compat.h boa-0.94.13-gentoo/src/compat.h +--- boa-0.94.13/src/compat.h 2002-06-06 17:02:28.000000000 +1200 ++++ boa-0.94.13-gentoo/src/compat.h 2003-10-18 15:21:24.000000000 +1300 +@@ -117,13 +117,13 @@ + #endif + + #ifdef HAVE_TM_GMTOFF +-#define TIMEZONE_OFFSET(foo) foo##->tm_gmtoff ++#define TIMEZONE_OFFSET(foo) foo->tm_gmtoff + #else + #define TIMEZONE_OFFSET(foo) timezone + #endif + + #ifdef HAVE_TM_ZONE +-#define TIMEZONE(foo) foo##->tm_zone ++#define TIMEZONE(foo) foo->tm_zone + #else + #define TIMEZONE(foo) *tzname + #endif |