source: scripts/patches/cyrus-sasl-2.1.20-gcc4_fixes.patch@ 929aaed

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 929aaed was 7f65c0e, checked in by Jim Gifford <clfs@…>, 19 years ago

r625@server (orig r623): jim | 2005-10-31 12:43:24 -0800
Final Move

  • Property mode set to 100644
File size: 870 bytes
  • cyrus-sasl-2.1.20/lib/client.

    Submitted By: Ryan Oliver <ryan.oliver@pha.com.au>
    Date: 2005-04-25
    Initial Package Version: 2.1.20
    Origin: Ryan Oliver
    Description: Fix compilation issues with gcc4
    
    gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../plugins -I../include -Wall -W -MT client.lo -MD -MP -MF .deps/client.Tpo -c client.c  -fPIC -DPIC -o client.lo
    client.c:64: error: static declaration of 'global_callbacks' follows non-static declaration
    saslint.h:112: error: previous declaration of 'global_callbacks' was here
    
    old new  
    6161
    6262static cmech_list_t *cmechlist; /* global var which holds the list */
    6363
    64 static sasl_global_callbacks_t global_callbacks;
     64sasl_global_callbacks_t global_callbacks;
    6565
    6666static int _sasl_client_active = 0;
    6767
Note: See TracBrowser for help on using the repository browser.