pkgsrc-Bugs archive

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

pkg/35499: net/lopster fails to build with gcc4 on 4.0_BETA2



>Number:         35499
>Category:       pkg
>Synopsis:       net/lopster fails to build with gcc4 on 4.0_BETA2
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 27 10:50:00 +0000 2007
>Originator:     rosenfeld%grumpf.hope-2000.org@localhost
>Release:        NetBSD 4.0_BETA2
>Organization:
>Environment:
System: NetBSD panic 4.0_BETA2 NetBSD 4.0_BETA2 (PANIC) #1: Sun Jan 7 15:45:57 
CET 2007 woodstoc@panic:/usr/obj/sys/arch/i386/compile.i386/PANIC i386
Architecture: i386
Machine: i386
>Description:
When building net/lopster with gcc4 on 4.0_BETA2 the following error occurs:
log.c: In function 'close_logs':
log.c:151: error: invalid lvalue in assignment

>How-To-Repeat:
cd /usr/pkgsrc/net/lopster && make

>Fix:

--- src/log.c.orig      2004-01-11 16:50:30.000000000 +0100
+++ src/log.c   2007-01-27 11:25:55.000000000 +0100
@@ -148,7 +148,7 @@
     g_free(log);
   }
   g_list_free(net?net->logs:other_logs);
-  net?net->logs:other_logs = NULL;
+  net?(net->logs=NULL):(other_logs=NULL);
 }
 
 void log_file_destroy(log_file_t* lf) {




Home | Main Index | Thread Index | Old Index