]> git.pld-linux.org Git - packages/gnucash.git/blob - lto.patch
02d00b6b3c5e5f3ff07bd07e52f46e0dce896b51
[packages/gnucash.git] / lto.patch
1 --- gnucash-2.6.12/src/optional/gtkmm/gncmm/wrap_init.cpp.orig  2015-12-01 21:54:54.000000000 +0100
2 +++ gnucash-2.6.12/src/optional/gtkmm/gncmm/wrap_init.cpp       2016-04-09 08:46:19.147136139 +0200
3 @@ -52,14 +52,14 @@
4      GType qof_instance_get_type (void);
5  } // extern "C"
6  
7 -//Declarations of the *_Class::wrap_new() methods, instead of including all the private headers:
8 +//Private headers have to be included. Otherwise one definition rule is violated.
9  
10 -namespace gnc {  class Account_Class { public: static Glib::ObjectBase* wrap_new(GObject*); };  }
11 -namespace gnc {  class Book_Class { public: static Glib::ObjectBase* wrap_new(GObject*); };  }
12 -namespace gnc {  class Commodity_Class { public: static Glib::ObjectBase* wrap_new(GObject*); };  }
13 -namespace gnc {  class GncInstance_Class { public : static Glib::ObjectBase* wrap_new(GObject*); }; }
14 -namespace gnc {  class Split_Class { public: static Glib::ObjectBase* wrap_new(GObject*); };  }
15 -namespace gnc {  class Transaction_Class { public: static Glib::ObjectBase* wrap_new(GObject*); };  }
16 +#include "private/Account_p.hpp" 
17 +#include "private/Book_p.hpp" 
18 +#include "private/Commodity_p.hpp" 
19 +#include "private/GncInstance_p.hpp" 
20 +#include "private/Split_p.hpp" 
21 +#include "private/Transaction_p.hpp" 
22  
23  namespace gnc
24  {
25 --- gnucash-2.6.12/src/optional/gtkmm/gncmm/private/GncInstance_p.hpp.orig      2015-06-29 01:43:24.000000000 +0200
26 +++ gnucash-2.6.12/src/optional/gtkmm/gncmm/private/GncInstance_p.hpp   2016-04-09 09:42:14.883898423 +0200
27 @@ -1,7 +1,7 @@
28  // -*- c++ -*-
29  // Generated by gtkmmproc -- DO NOT MODIFY!
30 -#ifndef _GNCMM_GNC_COMMODITY_P_H
31 -#define _GNCMM_GNC_COMMODITY_P_H
32 +#ifndef _GNCMM_GNC_GNCINSTANCE_P_H
33 +#define _GNCMM_GNC_GNCINSTANCE_P_H
34  
35  
36  #include <glibmm/private/object_p.h>
37 --- gnucash-2.6.12/src/optional/gtkmm/test/Makefile.am.orig     2016-01-25 17:33:23.000000000 +0100
38 +++ gnucash-2.6.12/src/optional/gtkmm/test/Makefile.am  2016-04-09 11:18:22.803435318 +0200
39 @@ -24,7 +24,7 @@
40         test-gtkmm.cpp \
41         test-book.cpp
42  
43 -test_gtkmm_HEADERS = \
44 +noinst_HEADERS = \
45         $(top_srcdir)/${MODULEPATH}/gncmm/Book.hpp
46  
47  #The tests might require more libraries, but try to keep them
This page took 0.045682 seconds and 2 git commands to generate.