From ccc6614c6c589d7a3c03edf666608ec4a475a3b5 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 26 Mar 2014 18:14:58 +0100 Subject: php-pecl-krb5: add the patch --- krb5-build.patch | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 krb5-build.patch diff --git a/krb5-build.patch b/krb5-build.patch new file mode 100644 index 0000000..fe4d5da --- /dev/null +++ b/krb5-build.patch @@ -0,0 +1,25 @@ +Index: php_krb5_kadm.h +=================================================================== +--- php_krb5_kadm.h (révision 333125) ++++ php_krb5_kadm.h (copie de travail) +@@ -25,15 +25,13 @@ + + #include "config.h" + +-#ifdef SUCCESS +-#define OLD_SUCC SUCCESS +-#endif ++/* will be used in gssrpc/rpc_msg.h enum accept_stat */ ++#undef SUCCESS + #define SUCCESS KRB5_SUCCESS + #include +-#undef SUCCESS +-#ifdef OLD_SUCC +-#define SUCCESS OLD_SUCC +-#endif ++#undef SUCCESS ++/* default value in PHP and Kerberos */ ++#define SUCCESS 0 + + /* KADM5 Object */ + zend_class_entry *krb5_ce_kadm5; -- cgit