fixed gnuplot
[hdw-linux/hdw-linux.git] / packages / science / gnuplot / header_order.patch
1 --- ./src/term.h        2004-04-13 19:24:02.000000000 +0200
2 +++ ./src/term.h.new    2004-05-05 11:16:41.216200736 +0200
3 @@ -270,6 +270,20 @@
4  /****************************************************************************/
5  /* These terminals can be used on any system */
6  
7 +/* NOTE THAT PNG AND JPEG SUPPORT REQUIRE SEPARATE LIBRARIES */
8 +/* There are 2 flavors of PNG support                                        */
9 +/* If you are using an old version of libgd in order to get true GIF support */
10 +/* then the best we can do is use a separate poor-quality PNG driver png.trm */
11 +/* But if you are using a newer libgd then it provides full blown support    */
12 +/* for both PNG and JPEG in term/gd.trm                                      */
13 +#ifdef HAVE_LIBPNG
14 +# if defined(HAVE_GD_PNG) || defined(HAVE_GD_JPEG)
15 +#  include "gd.trm"
16 +# else
17 +#  include "png.trm"
18 +# endif
19 +#endif
20 +
21  #ifdef X11
22  # include "x11.trm"            /* X Window System */
23  # include "xlib.trm"           /* dumps x11 commands to gpoutfile */
24 @@ -351,20 +365,6 @@
25  # include "pdf.trm"
26  #endif
27  
28 -/* NOTE THAT PNG AND JPEG SUPPORT REQUIRE SEPARATE LIBRARIES */
29 -/* There are 2 flavors of PNG support                                        */
30 -/* If you are using an old version of libgd in order to get true GIF support */
31 -/* then the best we can do is use a separate poor-quality PNG driver png.trm */
32 -/* But if you are using a newer libgd then it provides full blown support    */
33 -/* for both PNG and JPEG in term/gd.trm                                      */
34 -#ifdef HAVE_LIBPNG
35 -# if defined(HAVE_GD_PNG) || defined(HAVE_GD_JPEG)
36 -#  include "gd.trm"
37 -# else
38 -#  include "png.trm"
39 -# endif
40 -#endif
41 -
42  /* postscript */
43  #include "post.trm"
44