]> git.pld-linux.org Git - packages/flex.git/blob - flex-glibc22.patch
- obsolete (no warning to avoid) and changes wrong (autogenerated) file
[packages/flex.git] / flex-glibc22.patch
1 diff -Nur flex-2.5.31.orig/flex.skl flex-2.5.31/flex.skl
2 --- flex-2.5.31.orig/flex.skl   2003-04-01 03:51:38.000000000 +0200
3 +++ flex-2.5.31/flex.skl        2003-06-19 00:41:00.000000000 +0200
4 @@ -1973,25 +1973,6 @@
5  }
6  
7  
8 -%if-c-only
9 -m4_ifdef( [[M4_YY_ALWAYS_INTERACTIVE]],,
10 -[[
11 -    m4_ifdef( [[M4_YY_NEVER_INTERACTIVE]],,
12 -    [[
13 -#ifndef __cplusplus
14 -extern int isatty M4_YY_PARAMS( int );
15 -#endif /* __cplusplus */
16 -    ]])
17 -]])
18 -%endif
19 -
20 -%if-c++-only
21 -m4_ifdef( [[M4_YY_NEVER_INTERACTIVE]],,
22 -[[
23 -extern "C" int isatty M4_YY_PARAMS( int );
24 -]])
25 -%endif
26 -
27  /* Initializes or reinitializes a buffer.
28   * This function is sometimes called more than once on the same buffer,
29   * such as during a yyrestart() or at EOF.
30 diff -Nur flex-2.5.31.orig/scan.c flex-2.5.31/scan.c
31 --- flex-2.5.31.orig/scan.c     2003-04-01 18:33:17.000000000 +0200
32 +++ flex-2.5.31/scan.c  2003-06-19 00:40:14.000000000 +0200
33 @@ -3897,10 +3897,6 @@
34         yyfree((void *) b  );
35  }
36  
37 -#ifndef __cplusplus
38 -extern int isatty (int );
39 -#endif /* __cplusplus */
40 -    
41  /* Initializes or reinitializes a buffer.
42   * This function is sometimes called more than once on the same buffer,
43   * such as during a yyrestart() or at EOF.
44 diff -Nur flex-2.5.31.orig/skel.c flex-2.5.31/skel.c
45 --- flex-2.5.31.orig/skel.c     2003-06-19 00:31:34.000000000 +0200
46 +++ flex-2.5.31/skel.c  2003-06-19 00:41:37.000000000 +0200
47 @@ -2176,25 +2176,6 @@
48    "}",
49    "",
50    "",
51 -  "%if-c-only",
52 -  "m4_ifdef( [[M4_YY_ALWAYS_INTERACTIVE]],,",
53 -  "[[",
54 -  "    m4_ifdef( [[M4_YY_NEVER_INTERACTIVE]],,",
55 -  "    [[",
56 -  "#ifndef __cplusplus",
57 -  "extern int isatty M4_YY_PARAMS( int );",
58 -  "#endif /* __cplusplus */",
59 -  "    ]])",
60 -  "]])",
61 -  "%endif",
62 -  "",
63 -  "%if-c++-only",
64 -  "m4_ifdef( [[M4_YY_NEVER_INTERACTIVE]],,",
65 -  "[[",
66 -  "extern \"C\" int isatty M4_YY_PARAMS( int );",
67 -  "]])",
68 -  "%endif",
69 -  "",
70    "/* Initializes or reinitializes a buffer.",
71    " * This function is sometimes called more than once on the same buffer,",
72    " * such as during a yyrestart() or at EOF.",
This page took 0.064917 seconds and 3 git commands to generate.