Solaris 2.6/cc patches
N J Doye
nic at niss.ac.uk
Fri Dec 4 17:33:38 CET 1998
These are some of the things I've had to do to go towards compiling
gnupg on Solaris with Sun's workshop compilers. I'm not saying that
they're 100% right. They just worked for me.
bash$ diff ../tmp/gnupg-0.4.4/cipher/tiger.c cipher/tiger.c
28a29
> typedef unsigned long long u64;
966,967d966
<
<
bash$ diff ../tmp/gnupg-0.4.4/g10/status.c g10/status.c
155c155
< if ( mlock (shm_area, shm_size) )
---
> if ( mlock ((char *)shm_area, shm_size) )
335c335,336
< return tty_kill_prompt();
---
> tty_kill_prompt();
> return;
363d363
<
bash$ diff ../tmp/gnupg-0.4.4/tools/mpicalc.c tools/mpicalc.c
214c214
< ARGPARSE_ARGS pargs = { &argc, &argv, 0 };
---
> ARGPARSE_ARGS pargs;
219a220,222
> pargs.argc = &argc;
> pargs.argv = &argv;
>
370,371d372
<
<
Cheers all!
nic
--
Dr N.J.Doye, Systems Programmer, CHEST and NISS Centre, University of
Bath, Claverton Down, Bath, Somerset. BA2 7AY. England
More information about the Gnupg-devel
mailing list