This is the mail archive of the cygwin-apps@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [ANNOUNCEMENT] Updated: libpng-1.0.9-3


>>>>> "Jerome" == Jerome BENOIT <JGMBenoit@Wanadoo.fr> writes:

    Jerome> What a list !
    Jerome> I have try without success to build plotutils-2.4.1 :
    Jerome> it seems that plotutils-2.4.1 does not compile OOTB.

    Jerome> How do you do taht ?
    Jerome> Have you got any patch ?

diff -upr /gnu/plotutils-2.4.1/ode/specfun.c plotutils-2.4.1/ode/specfun.c
--- /gnu/plotutils-2.4.1/ode/specfun.c	Sun May 30 21:20:53 1999
+++ plotutils-2.4.1/ode/specfun.c	Tue Jan 23 13:22:21 2001
@@ -82,7 +82,12 @@ static double lgamneg ____P((double x));
 static double lgampos ____P((double x));
 #else  /* not NO_SYSTEM_GAMMA, we link in vendor code */
 #define SIGNGAM signgam
+#ifdef __CYGWIN__
+extern __IMPORT struct _reent reent_data;
+#define signgam reent_data._new._reent._gamma_signgam
+#else
 extern int SIGNGAM;
+#endif
 #endif
 double f_gamma ____P((double x));

./configure  --enable-shared=no --enable-static=yes --with-gnu-ld --with-x --with-xpm --enable-ps-fonts-in-pcl --enable-lj-fonts-in-ps --enable-lj-fonts-in-x --enable-libplotter --enable-libxmi


make  check-TESTS
make[2]: Entering directory `/gnu/src/plotutils-2.4.1/test'
PASS: spline.test
PASS: ode.test
PASS: graph.test
PASS: plot2plot.test
PASS: plot2hpgl.test
PASS: plot2pcl.test
PASS: plot2fig.test
PASS: plot2cgm.test
PASS: plot2ps.test
PASS: plot2svg.test
PASS: tek2plot.test
PASS: pic2plot.test
===================
All 12 tests passed
===================

    Jerome> Thanks in advance,
    Jerome> Jerome BENOIT

Ciao
  Volker


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]