Ignore:
Timestamp:
Oct 4, 2006, 10:39:38 PM (13 years ago)
Author:
vinc17@…
Message:

Updated p5-term-gnuplot to version 0.90380905: new patches
for Term-Gnuplot 0.90380905 and documentation patch.
Tested with dumb and x11 terminals on the example in the
Term::Gnuplot man page (with minor modifications).

Location:
trunk/dports/perl/p5-term-gnuplot/files
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/perl/p5-term-gnuplot/files/patch-gnuterm-Makefile.PL

    r15569 r19883  
    1 --- Gnuplot.h   1999-11-05 01:03:48.000000000 +0100
    2 +++ Gnuplot.h   2005-12-18 14:43:09.000000000 +0100
    3 @@ -181,7 +181,6 @@
     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 @@
    44 double log_base_log_y = 0.0;
    55 double log_base_log_z = 0.0;
     
    99 void map3d_xy (double x, double y, double z, unsigned int *xt, unsigned int *yt)
    1010 {
    11 --- Makefile.PL 2005-11-19 07:18:42.000000000 +0100
    12 +++ Makefile.PL 2005-12-18 18:42:09.000000000 +0100
    13 @@ -3,7 +3,7 @@
    14  # See lib/ExtUtils/MakeMaker.pm for details of how to influence
    15  # the contents of the Makefile that is written.
     11@@ -490,7 +489,7 @@
     12 extern struct termentry *term;
    1613 
    17 -$try_libs = ' -L/usr/openwin/lib -lX11 -lm  -lsocket -lvga -llinuxvga -lgd -lpng -lz -ljmgraph -lvesa';
    18 +$try_libs = ' -L/usr/openwin/lib -L/usr/X11/lib -L/usr/X11R6/lib -lX11 -lm  -lsocket -lvga -llinuxvga -lgd -lpng -lz -ljmgraph -lvesa';
     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';
    1928 
    2029 @ARGV = grep !(/^TRY_LIBS=(.*)$/ and $try_libs = $1), @ARGV;
    2130 
    22 --- gnuterm/Makefile.PL 2005-05-14 02:15:56.000000000 +0200
    23 +++ gnuterm/Makefile.PL 2005-12-18 15:20:24.000000000 +0100
    24 @@ -35,6 +35,7 @@
    25  $cflags .= ' -DNOCOPY' unless $Config{d_bcopy};
    26  $cflags .= ' -Dsize_t=unsigned' unless $Config{sizetype} eq 'size_t';
    27  $cflags .= ' -Dtime_t=long' unless $Config{timetype} eq 'time_t';
     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;
    2837+$cflags .= ' -DHAVE_SLEEP';
    2938 
    30  # $cflags .= ' -DGETCWD -DHAVE_STRNICMP -DPIPES -DHAVE_STRERROR -DNOGAMMA' if $^O eq 'os2';
    31  if ($^O eq 'os2' or $^O eq 'MSWin32') {
     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));
    3278--- gnuterm/term.h      1999-11-05 00:49:48.000000000 +0100
    3379+++ gnuterm/term.h      2005-12-18 18:26:23.000000000 +0100
    34 @@ -137,11 +137,6 @@
     80@@ -144,11 +144,6 @@
    3581 # include "next.trm"
    3682 #endif
Note: See TracChangeset for help on using the changeset viewer.