pkgsrc-Bugs archive

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

pkg/33224: net/tightvnc doesn't compile on FreeBSD



>Number:         33224
>Category:       pkg
>Synopsis:       net/tightvnc doesn't compile on FreeBSD
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Apr 09 10:55:00 +0000 2006
>Originator:     Anders Nor Berle
>Release:        FreeBSD 7
>Organization:
>Environment:
>Description:
net/tightvnc will not compile on FreeBSD. You get the following message when 
you attempt it:

cc -c -O2 -ansi -pedantic -Dasm=__asm  -I.  -I../include 
-I../../.././/exports/include/X11 -I../../.././/include/extensions 
-I../../.././/lib/Xau -I../lbx  -I../../.././ -I../../.././/exports/include  
-DCSRG_BASED -DSHAPE                                                            
                                                                       
-DGCCUSESGAS -DSTATIC_COLOR -DAVOID_GLYPHBLT -DPIXPRIV   -DNDEBUG   
-DFUNCPROTO=15 -DNARROWPROTO  -DXSERV_t -DTRANS_SERVER -DTCPCONN -DUNIXCONN 
-DINTERNAL_MALLOC -DHASXDMAUTH   -DDDXOSINIT -DSERVER_LOCK -DDDXOSFATALERROR 
-DDDXTIME  -DUSE_RGB_TXT -DADMPATH=\"/usr/adm/X\%smsgs\" osinit.c
In file included from ../../.././/exports/include/X11/Xos.h:154,
                 from osinit.c:55:
/usr/include/stdlib.h:84: error: syntax error before "int"
*** Error code 1

I have attached a patch to fix the problem on my system, but I give no 
guarantees that it won't fuck up things on another platform.

>How-To-Repeat:
Build tightvnc on FreeBSD.
>Fix:
--- Xvnc/include/Xos.h.orig     Sat Jul 13 02:14:08 2002
+++ Xvnc/include/Xos.h  Sat Jul 13 02:14:15 2002
@@ -151,7 +151,6 @@
 #endif /* X_NOT_POSIX else */

 #ifdef CSRG_BASED
-#include <stdlib.h>
 #include <unistd.h>
 #endif /* CSRG_BASED */





Home | Main Index | Thread Index | Old Index