]> git.donarmstrong.com Git - lilypond.git/blob - debian/patches/use_cstring_and_ctype_includes
Refresh patches
[lilypond.git] / debian / patches / use_cstring_and_ctype_includes
1 Description: Include missing cstring include files
2 Forwarded: 
3 Origin: vendor
4 Author: Don Armstrong <don@debian.org>
5 --- a/lily/midi-stream.cc
6 +++ b/lily/midi-stream.cc
7 @@ -18,7 +18,7 @@
8  */
9  
10  #include "midi-stream.hh"
11 -
12 +#include <cstring>
13  #include <cerrno>
14  using namespace std;
15  
16 --- a/lily/piano-pedal-engraver.cc
17 +++ b/lily/piano-pedal-engraver.cc
18 @@ -38,6 +38,7 @@
19  #include "item.hh"
20  
21  #include "translator.icc"
22 +#include <cstring>
23  
24  #include <string.h>
25  
26 --- a/lily/prob.cc
27 +++ b/lily/prob.cc
28 @@ -22,6 +22,7 @@
29  #include "item.hh"
30  #include "input.hh"
31  #include "profile.hh"
32 +#include <cstring>
33  
34  
35  const char * const Prob::type_p_name_ = "ly:prob?";
36 --- a/lily/relocate.cc
37 +++ b/lily/relocate.cc
38 @@ -23,8 +23,10 @@
39  
40  /* TODO: autoconf support */
41  
42 +#include <ctype.h>
43  #include <sys/types.h>
44  #include <dirent.h>
45 +#include <cstring>
46  
47  #if HAVE_GETTEXT
48  #include <libintl.h>
49 --- a/lily/source-file.cc
50 +++ b/lily/source-file.cc
51 @@ -24,7 +24,7 @@
52  #endif /* GCC_MAJOR < 4 */
53  
54  #include "source-file.hh"
55 -
56 +#include <cstring>
57  #include "config.hh"
58  
59  #include <cstdio>
60 --- a/lily/translator.cc
61 +++ b/lily/translator.cc
62 @@ -18,7 +18,7 @@
63  */
64  
65  #include "translator.hh"
66 -
67 +#include <cstring>
68  #include "context-def.hh"
69  #include "dispatcher.hh"
70  #include "global-context.hh"