|--==> "viteno" == Norbert Koch <nk(a)LF.net> writes:
viteno> Index: udp2tcp.cc
viteno> ===================================================================
viteno> RCS file: /usr/CVSroot/XEmacs/xemacs-packages/comm/eicq/udp2tcp.cc,v
viteno> retrieving revision 1.2
viteno> diff -u -r1.2 udp2tcp.cc
viteno> --- udp2tcp.cc 2000/10/23 15:48:59 1.2
viteno> +++ udp2tcp.cc 2001/01/21 13:45:19
viteno> @@ -334,7 +334,7 @@
viteno> printf("accepting....\n");
viteno> size_t sin_size = sizeof(struct sockaddr_in);
viteno> tcp_new_sock = accept(tcp_sock, (struct sockaddr *)&tcp_remote_addr,
viteno> - &sin_size);
viteno> + (int *)&sin_size);
viteno> sock_error_exit(tcp_new_sock == -1, "accept");
viteno> Without this, I get the error
viteno> nk@lamia:eicq$ gmake
viteno> g++ -o udp2tcp udp2tcp.cc -O2 -Wall -static
viteno> udp2tcp.cc: In function `int main(int, char **)':
viteno> udp2tcp.cc:337: passing `size_t *' as argument 3 of `accept(int, sockaddr
*, int *)' changes signedness
viteno> gmake: *** [udp2tcp] Error 1
What platform are you building on? At the moment eicq/udp2tcp is only
good for Linux. Interestingly, your patch actually introduces your
error here. :)
I've been thinking of pulling that package until the maintainer (oh
that's me) can do something about portability.
viteno> - in place, ie gmake install, symlink = t
viteno> =======================================
viteno> cp:
`/usr/local/users/support/nk/cvs/xemacs-packages/oa/psgml/etc/HTMLlat1.ent' and
`/sw/i386_fbsd3/xemacs-21.2/lib/xemacs-cvs/xemacs-packages/etc/psgml/HTMLlat1.ent' are
the same file
Have a look in Local.rules towards the end and check the 'RCOPY = '
line. I recently changed it (in Local.rules.template) to force the
copy, ie
RCOPY = cp -af
RCOPY = cp --force --recursive --symbolic-link
viteno> - gmake bindist
viteno> =============
viteno> xemacs -vanilla -batch \
viteno> -l package-info.el -f batch-update-package-info \
viteno> '1.48'
viteno>
/usr/local/users/support/nk/cvs/xemacs-packages/bindist/xemacs-base-1.48-pkg.tar.gz \
viteno> '' \
viteno> '' 'XEmacs Development Team <xemacs-beta(a)xemacs.org>'
'libs'
viteno> Cannot open load file: package-info.el
What does M-x locate-library RET package-info RET say?
--
|---<Steve Youngs>---------------<GnuPG KeyID: 9E7E2820>---|
| XEmacs - It's not just an editor. |
| It's a way of life. |
|------------------------------------<youngs(a)xemacs.org>---|