pkgsrc-Bugs archive

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

pkg/42291: Linux build of net/tightvnc broken by pkgsrc patch.



>Number:         42291
>Category:       pkg
>Synopsis:       Linux build of net/tightvnc broken by pkgsrc patch.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 09 01:10:00 +0000 2009
>Originator:     Steven Drake
>Release:        pkgsrc-2009Q3
>Organization:
>Environment:
System: Linux idran 2.6.30 #2 PREEMPT Sun Aug 9 18:32:44 NZST 2009 i686 
pentium4 i386 GNU/Linux
Architecture: pentium4
Machine: i686
C library: GNU C Library stable release version 2.10.1, by Roland McGrath et al.
>Description:
For the package to build on linux, LinuxCLibMajorVersion must be 6 or greater,
but patch-ac removes the line '#include "platform.def"', platform.def being
were the definistion is.

Please note that PR/42274 is also required for tightvnc to build.
>Fix:
Index: pkgsrc/net/tightvnc/patches/patch-an
===================================================================
--- /dev/null
+++ pkgsrc/net/tightvnc/patches/patch-an
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- Xvnc/config/cf/linux.cf.orig       2009-03-05 19:38:33.000000000 +1300
++++ Xvnc/config/cf/linux.cf
+@@ -1,6 +1,8 @@
+ XCOMM platform:  $TOG: linux.cf /main/36 1997/06/16 22:21:03 kaleb $
+ XCOMM platform:  $XFree86: xc/config/cf/linux.cf,v 3.57.2.12 1998/03/01 
01:57:10 dawes Exp $
+ 
++#define LinuxCLibMajorVersion 6
++
+ #ifndef LinuxElfDefault
+ #define LinuxElfDefault               YES
+ #endif

-- 
Steven



Home | Main Index | Thread Index | Old Index