pkgsrc-Bugs archive

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

pkg/32649: net/rsync Solaris10 gcc -m64



>Number:         32649
>Category:       pkg
>Synopsis:       net/rsync Solaris10 gcc -m64
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 27 11:55:00 +0000 2006
>Originator:     Gilles Dauphin
>Release:        SunOS 5.10 i86pc
>Organization:
ENST 
>Environment:


System: SunOS bi.enst.fr 5.10 Generic_118844-20 i86pc


>Description:


===> Building for rsync-2.6.6nb1
gcc -I. -I. -O -DHAVE_CONFIG_H -Wall -W -I./popt  -c lib/snprintf.c -o 
lib/snprintf.o
lib/snprintf.c: In function `vasprintf':
lib/snprintf.c:853: error: incompatible types in assignment
lib/snprintf.c:861: error: incompatible types in assignment
*** Error code 1




>How-To-Repeat:


bmake


>Fix:


Because of a wrong detection of VA_COPY in configure
I suggest the following patch

------------------------------------------
--- lib/snprintf.c.orig Mon Feb 21 18:02:53 2005
+++ lib/snprintf.c      Fri Jan 27 12:41:31 2006
@@ -152,9 +152,13 @@
 #ifdef HAVE___VA_COPY
 #define VA_COPY(dest, src) __va_copy(dest, src)
 #else
+#if defined(va_copy)
+#define VA_COPY(dest, src) va_copy(dest, src)
+#else
 #define VA_COPY(dest, src) (dest) = (src)
 #endif
 #endif
+#endif






Home | Main Index | Thread Index | Old Index