Ticket #6178: scummvm-tools-boost.patch

File scummvm-tools-boost.patch, 1.2 KB (added by SF/lorem-ipsum, 11 years ago)

Patch to fix the build failure

  • decompiler/codegen.h

    diff -Naur a/decompiler/codegen.h b/decompiler/codegen.h
    a b  
    2727#include <utility>
    2828
    2929#include <boost/intrusive_ptr.hpp>
     30using boost::intrusive_ptr_add_ref;
     31using boost::intrusive_ptr_release;
    3032
    3133#ifndef DEC_CODEGEN_H
    3234#define DEC_CODEGEN_H
  • decompiler/instruction.h

    diff -Naur a/decompiler/instruction.h b/decompiler/instruction.h
    a b  
    3333#include "value.h"
    3434#include "wrongtype.h"
    3535
     36using boost::intrusive_ptr_add_ref;
     37using boost::intrusive_ptr_release;
     38
    3639class CodeGenerator;
    3740class Engine;
    3841
  • decompiler/value.h

    diff -Naur a/decompiler/value.h b/decompiler/value.h
    a b  
    3434#include "stack.h"
    3535#include "wrongtype.h"
    3636
     37using boost::intrusive_ptr_add_ref;
     38using boost::intrusive_ptr_release;
     39
    3740class Value;
    3841
    3942const int kNoPrecedence = 0;          ///< Precedence value for individual values with no operations.