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

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since eab3ca9 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
RevLine 
[617118d]1Submitted By: Ryan Oliver <ryan.oliver@pha.com.au>
2Date: 2005-04-25
3Initial Package Version: 2.1.20
4Origin: Ryan Oliver
5Description: Fix compilation issues with gcc4
6
7gcc -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
8client.c:64: error: static declaration of 'global_callbacks' follows non-static declaration
9saslint.h:112: error: previous declaration of 'global_callbacks' was here
10
11--- cyrus-sasl-2.1.20/lib/client.c-orig 2003-11-12 03:26:06.000000000 +1100
12+++ cyrus-sasl-2.1.20/lib/client.c 2005-04-25 17:16:56.000000000 +1000
13@@ -61,7 +61,7 @@
14
15 static cmech_list_t *cmechlist; /* global var which holds the list */
16
17-static sasl_global_callbacks_t global_callbacks;
18+sasl_global_callbacks_t global_callbacks;
19
20 static int _sasl_client_active = 0;
21
Note: See TracBrowser for help on using the repository browser.