Ticket #1267: rtorrent-gcc43.patch

File rtorrent-gcc43.patch, 1.9 KB (added by Philipp Reh, 5 years ago)

patch

  • rak/functional.h

    diff -Nurp rtorrent-0.8.0.old/rak/functional.h rtorrent-0.8.0/rak/functional.h
    old new  
    3737#ifndef RAK_FUNCTIONAL_H 
    3838#define RAK_FUNCTIONAL_H 
    3939 
     40#include <cstddef> 
    4041#include <functional> 
    4142 
    4243namespace rak { 
  • src/command_ui.cc

    diff -Nurp rtorrent-0.8.0.old/src/command_ui.cc rtorrent-0.8.0/src/command_ui.cc
    old new  
    3636 
    3737#include "config.h" 
    3838 
     39#include <ctime> 
     40 
    3941#include <rak/functional.h> 
    4042#include <rak/functional_fun.h> 
    4143#include <sigc++/adaptors/bind.h> 
  • src/display/text_element_value.cc

    diff -Nurp rtorrent-0.8.0.old/src/display/text_element_value.cc rtorrent-0.8.0/src/display/text_element_value.cc
    old new  
    3636 
    3737#include "config.h" 
    3838 
     39#include <ctime> 
     40 
    3941#include "globals.h" 
    4042#include "text_element_value.h" 
    4143 
  • src/rpc/exec_file.cc

    diff -Nurp rtorrent-0.8.0.old/src/rpc/exec_file.cc rtorrent-0.8.0/src/rpc/exec_file.cc
    old new  
    3636 
    3737#include "config.h" 
    3838 
     39#include <cstring> 
    3940#include <string> 
    4041#include <unistd.h> 
    4142#include <rak/path.h> 
  • src/rpc/parse.cc

    diff -Nurp rtorrent-0.8.0.old/src/rpc/parse.cc rtorrent-0.8.0/src/rpc/parse.cc
    old new  
    3636 
    3737#include "config.h" 
    3838 
     39#include <cstring> 
    3940#include <locale> 
    4041#include <rak/path.h> 
    4142#include <torrent/exceptions.h>