]> git.pld-linux.org Git - packages/atermlib.git/blob - strdup.patch
new, version 2.5
[packages/atermlib.git] / strdup.patch
1 remove conflicting definition
2
3 --- aterm-2.5/aterm/afun.c~     2007-03-01 19:24:13.000000000 +0200
4 +++ aterm-2.5/aterm/afun.c      2014-11-01 15:41:18.082012965 +0200
5 @@ -56,7 +56,7 @@
6  /*{{{  function declarations */
7  
8  #if !(defined __USE_SVID || defined __USE_BSD || defined __USE_XOPEN_EXTENDED || defined __APPLE__ || defined _MSC_VER)
9 -extern char *strdup(const char *s);
10 +//extern char *strdup(const char *s);
11  #endif
12  
13  /*}}}  */
14 --- aterm-2.5/aterm/make.c~     2007-03-01 19:24:13.000000000 +0200
15 +++ aterm-2.5/aterm/make.c      2014-11-01 15:41:35.456142206 +0200
16 @@ -47,7 +47,7 @@
17  /*{{{  function declarations */
18  
19  #if !(defined __USE_SVID || defined __USE_BSD || defined __USE_XOPEN_EXTENDED || defined __APPLE__ || defined _MSC_VER)
20 -extern char *strdup(const char *s);
21 +//extern char *strdup(const char *s);
22  #endif
23  
24  static ATerm makePlaceholder(ATermPlaceholder pat);
25 --- aterm-2.5/aterm/tafio.c~    2007-03-01 19:24:13.000000000 +0200
26 +++ aterm-2.5/aterm/tafio.c     2014-11-01 15:41:42.296455577 +0200
27 @@ -47,7 +47,7 @@
28  /*{{{  function declarations */
29  
30  #if !(defined __USE_SVID || defined __USE_BSD || defined __USE_XOPEN_EXTENDED || defined __APPLE__ || defined _MSC_VER)
31 -extern char *strdup(const char *s);
32 +//extern char *strdup(const char *s);
33  #endif
34  
35  /*}}}  */
36 --- aterm-2.5/aterm/aterm.c~    2007-03-01 19:24:13.000000000 +0200
37 +++ aterm-2.5/aterm/aterm.c     2014-11-01 15:41:49.553454714 +0200
38 @@ -94,7 +94,7 @@
39  /*{{{  function declarations */
40  
41  #if !(defined __USE_SVID || defined __USE_BSD || defined __USE_XOPEN_EXTENDED || defined __APPLE__ || defined _MSC_VER)
42 -extern char *strdup(const char *s);
43 +//extern char *strdup(const char *s);
44  #endif
45  
46  static ATerm    fparse_term(int *c, FILE * f);
This page took 0.047037 seconds and 3 git commands to generate.