pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/48461: mldonkey's web interface doesn't display the traffic graph any longer



>Number:         48461
>Category:       pkg
>Synopsis:       mldonkey's web interface doesn't display the traffic graph any 
>longer
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Dec 20 09:20:00 +0000 2013
>Originator:     Germain Le Chapelain
>Release:        HEAD
>Organization:
>Environment:
bash-4.2# uname -a
NetBSD germ 6.99.26 NetBSD 6.99.26 (germ) #0: Fri Nov 15 23:43:33 UTC 2013  
german@germ:/usr/obj/sys/arch/amd64/compile/germ amd64

>Description:
The web interface of mldonkey no longer display the transfer graph.
It just shows `gd support wasn't compiled'

Looking closer, the configure script checks for 

gd 2.0.(14 and higher)

instead of gd (2.0.14 and higher )

Not sure if this is the right way to fix it.
>How-To-Repeat:
Install and launch mldonkey,

In the web interface, select in `Bandwidth stats'.

It shows `gd support wasn't compiled' instead of the connection volume.
>Fix:
$NetBSD$

--- config/configure.orig       2012-08-05 15:51:35.000000000 +0000
+++ config/configure
@@ -6814,7 +6814,7 @@ $as_echo_n "checking for libgd > 2.0.14.
     GDMAJORVERSION=`$GDLIBCONFIG --majorversion`
     GDMINORVERSION=`$GDLIBCONFIG --minorversion`
     GDREVISION=`$GDLIBCONFIG --revision`
-    if  [ $GDMAJORVERSION = 2 ] && [ $GDMINORVERSION = 0 ] && [ $GDREVISION 
-gt 14 ]; then
+    if  [ $GDMAJORVERSION = 2 ] && ( [ $GDMINORVERSION -gt 0 ] || ( [ 
$GDMINORVERSION = 0 ] && [ $GDREVISION -gt 14 ] )) ; then
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDVERSION" >&5
 $as_echo "$GDVERSION" >&6; }
        LIBGD=yes



Home | Main Index | Thread Index | Old Index