*** ./src/plugins/preauth/pkinit/pkinit.h.ORIG Thu May 27 12:07:10 2010 --- ./src/plugins/preauth/pkinit/pkinit.h Thu May 27 12:07:28 2010 *************** *** 105,111 **** --- 105,113 ---- /* Solaris compiler doesn't grok __FUNCTION__ * hack for now. Fix all the uses eventually. */ + #ifndef _AIX51 #define __FUNCTION__ __func__ + #endif /* Macros to deal with converting between various data types... */ #define PADATA_TO_KRB5DATA(pad, k5d) \ *** ./src/lib/krb5/os/changepw.c.ORIG Thu May 27 12:16:08 2010 --- ./src/lib/krb5/os/changepw.c Thu May 27 12:16:32 2010 *************** *** 40,45 **** --- 40,49 ---- #include #include + #if (defined(_AIX51) || defined(_AIX52) || defined(_AIX53)) && !(defined(_AIX61)) + #define ss_family __ss_family + #endif + #ifndef GETSOCKNAME_ARG3_TYPE #define GETSOCKNAME_ARG3_TYPE int #endif *** ./src/configure.ORIG Thu May 27 16:21:30 2010 --- ./src/configure Thu May 27 16:22:29 2010 *************** *** 3859,3867 **** case "$CC $CFLAGS" in *-qhalt=*) ;; *) ! CFLAGS="$CFLAGS -qhalt=e" ! { echo "$as_me:$LINENO: adding -qhalt=e for better error reporting" >&5 ! echo "$as_me: adding -qhalt=e for better error reporting" >&6;} ;; esac # Also, the optimizer isn't turned on by default, which means --- 3859,3867 ---- case "$CC $CFLAGS" in *-qhalt=*) ;; *) ! ### CFLAGS="$CFLAGS -qhalt=e" ! ### { echo "$as_me:$LINENO: adding -qhalt=e for better error reporting" >&5 ! ### echo "$as_me: adding -qhalt=e for better error reporting" >&6;} ;; esac # Also, the optimizer isn't turned on by default, which means *** ./src/slave/kpropd.c.ORIG Mon Jan 10 14:34:11 2011 --- ./src/slave/kpropd.c Mon Jan 10 14:35:00 2011 *************** *** 87,92 **** --- 87,96 ---- #include #include + #if (defined(_AIX51) || defined(_AIX52) || defined(_AIX53)) && !(defined(_AIX61)) + #define ss_family __ss_family + #endif + #ifndef GETSOCKNAME_ARG3_TYPE #define GETSOCKNAME_ARG3_TYPE unsigned int #endif