pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/32294: mail/wmmail Solaris 10 / Sun Studio 11
>Number: 32294
>Category: pkg
>Synopsis: mail/wmmail Solaris 10 / Sun Studio 11
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Dec 13 14:45:00 +0000 2005
>Originator: Jake Kupersmith
>Release: pkgsrc
>Organization:
>Environment:
SunOS 5.10 Generic sun4u sparc SUNW,Sun-Blade-100
>Description:
wfree is defined as 'inline void wfree..' in wmutil.c
Sun Studio cc doesn't seem to like this.
>How-To-Repeat:
# bmake
...
cc -O -xtarget=ultra2 -xarch=v8plusa -I/usr/pkg/include -I/usr/openwin/include
-I/usr/pkg/include -DPREFIX=\"/usr/pkg\" -lrt -xtarget=ultra2 -xarch=v8plusa
-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/openwin/lib -Wl,-R/usr/openwin/lib
-L/usr/openwin/lib -L/usr/pkg/lib -o WMMail global.o imap.o list.o maildir.o
mbox.o mh.o net.o pop3.o properties.o std_icons.o wmmail.o wmutil.o -lPropList
-lXpm -lXt -lXext -lX11 -lsocket -lnsl -lXt -lSM -lICE
Undefined first referenced
symbol in file
wfree imap.o
ld: fatal: Symbol referencing errors. No output written to WMMail
gmake[1]: *** [WMMail] Error 1
>Fix:
SHA1 (patch-ae) = e315e597380a04f0233efec6c1de435eba3026cc
# cat patches/patch-ae
--- src/wmutil.c.in.orig Mon Dec 12 23:32:22 2005
+++ src/wmutil.c.in Mon Dec 12 23:32:51 2005
@@ -114,7 +114,10 @@
}
-inline void wfree(void *ptr)
+#ifndef __sun
+inline
+#endif
+void wfree(void *ptr)
{
if (ptr != NULL)
free(ptr);
Home |
Main Index |
Thread Index |
Old Index