diff options
Diffstat (limited to 'app-editors/xemacs/files/xemacs-21.4.22-implicit-pointer-conversion.patch')
-rw-r--r-- | app-editors/xemacs/files/xemacs-21.4.22-implicit-pointer-conversion.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/app-editors/xemacs/files/xemacs-21.4.22-implicit-pointer-conversion.patch b/app-editors/xemacs/files/xemacs-21.4.22-implicit-pointer-conversion.patch new file mode 100644 index 000000000000..14fe615d0676 --- /dev/null +++ b/app-editors/xemacs/files/xemacs-21.4.22-implicit-pointer-conversion.patch @@ -0,0 +1,17 @@ +Index: xemacs-21.4.22/src/eldap.c +=================================================================== +--- xemacs-21.4.22.orig/src/eldap.c ++++ xemacs-21.4.22/src/eldap.c +@@ -57,7 +57,11 @@ static Lisp_Object Qnever, Qalways, Qfin + /* Modification types (Qdelete is defined in general.c) */ + static Lisp_Object Qadd, Qreplace; + +- ++/* copied from /usr/include/ldap.h header */ ++ldap_open LDAP_P(( /* deprecated, use ldap_create or ldap_initialize */ ++ LDAP_CONST char *host, ++ int port )); ++ + /************************************************************************/ + /* Utility Functions */ + /************************************************************************/ |