Codebase list ghemical / 7b5f358
debian/patches/fix_clang_ftbfs.patch: Added Graham Inggs 7 years ago
3 changed file(s) with 40 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
1717 * debian/control (Recommends): Added xfonts (Closes: #567600)
1818 * debian/patches/fix_spelling_errors.patch: Added
1919 - Fix some spelling errors (Closes: #639321)
20 * debian/patches/fix_clang_ftbfs.patch: Added
21 - Fix FTBFS with clang instead of gcc (Closes: #756440)
2022
2123 -- Daniel Leidert (dale) <daniel.leidert@wgdd.de> Sun, 27 Nov 2011 20:24:58 +0100
2224
0 Description: Fix FTBFS with clang instead of gcc
1 Bug-Debian: https://bugs.debian.org/756440
2 Author: Alexander <sanek23994@gmail.com>
3 Last-Update: 2014-07-30
4 --- a/src/project.h
5 +++ b/src/project.h
6 @@ -122,6 +122,14 @@
7 graphical user interface.
8 */
9
10 +class project;
11 +
12 +bool ReadGPR_OLD(project &, istream &, bool, bool = false); ///< this is for the very old version.
13 +bool ReadGPR_v100(project &, istream &, bool, bool = false); ///< this is for the version 1.00.
14 +bool ReadGPR_v110(project &, istream &, bool, bool = false); ///< this is for the version 1.10.
15 +/// This is an input function for the v1.11 ghemical file format.
16 +bool ReadGPR(project &, istream &, bool, bool = false);
17 +
18 class project :
19 public custom_transformer_client,
20 public model
21 @@ -207,11 +215,11 @@
22
23 // methods for file I/O : ReadGPR and WriteGPR are friend functions so that it would be easier to "borrow" them elsewhere...
24 // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
25 - friend bool ReadGPR_OLD(project &, istream &, bool, bool = false); ///< this is for the very old version.
26 - friend bool ReadGPR_v100(project &, istream &, bool, bool = false); ///< this is for the version 1.00.
27 - friend bool ReadGPR_v110(project &, istream &, bool, bool = false); ///< this is for the version 1.10.
28 + friend bool ReadGPR_OLD(project &, istream &, bool, bool); ///< this is for the very old version.
29 + friend bool ReadGPR_v100(project &, istream &, bool, bool); ///< this is for the version 1.00.
30 + friend bool ReadGPR_v110(project &, istream &, bool, bool); ///< this is for the version 1.10.
31 /// This is an input function for the v1.11 ghemical file format.
32 - friend bool ReadGPR(project &, istream &, bool, bool = false);
33 + friend bool ReadGPR(project &, istream &, bool, bool);
34
35 friend void WriteGPR_v100(project &, ostream &); ///< this is for the version 1.00.
36 /// This is an output function for the v1.11 ghemical file format.
00 fix_de_po.patch
11 fix_help_browser.patch
22 fix_spelling_errors.patch
3 fix_clang_ftbfs.patch