wok-6.x rev 4261

lostirc: fix build with gcc-4.x
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 25 12:08:50 2009 +0200 (2009-09-25)
parents 01e3b44f7477
children 92cae9ac27b8
files lostirc/receipt lostirc/stuff/gcc.u
line diff
     1.1 --- a/lostirc/receipt	Fri Sep 25 12:12:56 2009 +0200
     1.2 +++ b/lostirc/receipt	Fri Sep 25 12:08:50 2009 +0200
     1.3 @@ -15,6 +15,7 @@
     1.4  compile_rules()
     1.5  {
     1.6  	cd $src
     1.7 +	busybox patch -p1 -i ../stuff/gcc.u
     1.8  	./configure --prefix=/usr $CONFIGURE_ARGS &&
     1.9  	make &&
    1.10  	make DESTDIR=$PWD/_pkg install
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/lostirc/stuff/gcc.u	Fri Sep 25 12:08:50 2009 +0200
     2.3 @@ -0,0 +1,21 @@
     2.4 +--- lostirc-0.4.6/src/libirc/Parser.cpp
     2.5 ++++ lostirc-0.4.6/src/libirc/Parser.cpp
     2.6 +@@ -21,6 +21,7 @@
     2.7 + #include <vector>
     2.8 + #include <algorithm>
     2.9 + #include <cassert>
    2.10 ++#include <ctime>
    2.11 + #include "Parser.h"
    2.12 + #include "Utils.h"
    2.13 + #include "Channel.h"
    2.14 +
    2.15 +--- lostirc-0.4.6/src/libirc/Socket.cpp
    2.16 ++++ lostirc-0.4.6/src/libirc/Socket.cpp
    2.17 +@@ -27,6 +27,7 @@
    2.18 + 
    2.19 + #include <iostream>
    2.20 + #include <string>
    2.21 ++#include <cstring>
    2.22 + #include <cerrno>
    2.23 + #include <cstdio>
    2.24 + #include <glibmm/main.h>