source: trunk/dports/perl/p5-term-gnuplot/files/patch-gnuterm-Makefile.PL @ 21494

Last change on this file since 21494 was 21494, checked in by eridius@…, 13 years ago

Massive update to svn properties on files:
All patchfiles have svn:eol-style removed.
All files that are not in fact able to be executed have svn:executable removed
All binary files have svn:eol-style removed (and are probably corrupt)
All binary files have svn:mime-type set to application/octet-stream
All files which are not patchfiles or binary files have svn:eol-style set to native
All Portfiles have svn:eol-style set to native and svn:executable removed

File size: 2.9 KB
Line 
1--- Gnuplot.h   2006-05-26 10:21:38.000000000 +0200
2+++ Gnuplot.h   2006-10-04 23:47:31.000000000 +0200
3@@ -210,7 +210,6 @@
4 double log_base_log_y = 0.0;
5 double log_base_log_z = 0.0;
6 double base_z = 0.0;
7-TBOOLEAN screen_ok;
8 
9 void map3d_xy (double x, double y, double z, unsigned int *xt, unsigned int *yt)
10 {
11@@ -490,7 +489,7 @@
12 extern struct termentry *term;
13 
14 #ifndef GNUPLOT_NO_CODE_EMIT
15-struct termentry *term;
16+struct termentry *term = NULL;
17 #endif /* !GNUPLOT_NO_CODE_EMIT */
18 
19 #define RETVOID
20--- Makefile.PL 2006-05-26 08:29:40.000000000 +0200
21+++ Makefile.PL 2006-10-04 21:56:31.000000000 +0200
22@@ -8,7 +8,7 @@
23   if exists $ENV{X11ROOT} and -d "$ENV{X11ROOT}/XFree86/lib" and -d "$ENV{X11ROOT}/XFree86/include";
24 
25 $try_libs = $common::x ? "-L$common::x/lib" : '';
26-$try_libs .= ' -L/usr/openwin/lib -lX11 -lm -lsocket -lvga -llinuxvga -lgd -lpng -ljpeg -lfreetype -lz -ljmgraph -lvesa -lpdf';
27+$try_libs .= ' -L/usr/openwin/lib -L/usr/X11/lib -L/usr/X11R6/lib -lX11 -lm -lsocket -lvga -llinuxvga -lgd -lpng -ljpeg -lfreetype -lz -ljmgraph -lvesa -lpdf';
28 
29 @ARGV = grep !(/^TRY_LIBS=(.*)$/ and $try_libs = $1), @ARGV;
30 
31--- gnuterm/Makefile.PL 2006-05-25 01:01:04.000000000 +0200
32+++ gnuterm/Makefile.PL 2006-10-04 22:18:10.000000000 +0200
33@@ -12,6 +12,7 @@
34 $cflags .= ' -DMY_Windows' if $^O eq 'MSWin32';
35 
36 $cflags .= $common::cflags;
37+$cflags .= ' -DHAVE_SLEEP';
38 
39 $try_libs = $common::try_libs;
40 
41--- gnuterm/term.c      2002-09-07 01:18:30.000000000 +0200
42+++ gnuterm/term.c      2006-10-05 00:20:35.000000000 +0200
43@@ -111,14 +111,14 @@
44 
45 /* Externally visible variables */
46 /* the central instance: the current terminal's interface structure */
47-struct termentry *term = NULL; /* unknown */
48+/* struct termentry *term = NULL; (defined in Gnuplot.h) */
49 
50 /* ... and its options string */
51 char term_options[MAX_LINE_LEN+1] = "";
52 
53 /* the 'output' file name and handle */
54 char *outstr = NULL;           /* means "STDOUT" */
55-FILE *gpoutfile;
56+/* FILE *gpoutfile; (defined in Gnuplot.h) */
57 
58 #ifdef PM3D
59 /* Output file where the PostScript output goes to. See term_api.h for more
60@@ -137,7 +137,7 @@
61 TBOOLEAN ignore_enhanced_text = FALSE;
62 
63 /* text output encoding, for terminals that support it */
64-enum set_encoding_id encoding;
65+/* enum set_encoding_id encoding; (defined in Gnuplot.h) */
66 /* table of encoding names, for output of the setting */
67 const char *encoding_names[] = {
68     "default", "iso_8859_1", "iso_8859_2", "cp437", "cp850", "cp852", NULL };
69@@ -179,6 +179,8 @@
70 /* internal pointsize for do_point */
71 static double term_pointsize=1;
72 
73+label_struct title;
74+
75 /* Internal prototypes: */
76 
77 static void term_suspend __PROTO((void));
78--- gnuterm/term.h      1999-11-05 00:49:48.000000000 +0100
79+++ gnuterm/term.h      2005-12-18 18:26:23.000000000 +0100
80@@ -144,11 +144,6 @@
81 # include "next.trm"
82 #endif
83 
84-/* Apple MacOs X Server (Openstep Unix) */
85-#if defined(__APPLE__) && defined(__MACH__)
86-# include "openstep.trm"
87-#endif
88-
89 /* OS/2 */
90 #ifdef OS2
91 /* presentation manager */
Note: See TracBrowser for help on using the repository browser.