From 142fd7162f30574f4654979417f33de7fcb7f43d Mon Sep 17 00:00:00 2001 From: Romain Courteaud <romain@nexedi.com> Date: Thu, 25 Nov 2010 17:29:17 +0000 Subject: [PATCH] Fix patch format git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40735 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../cyrus-sasl-prototype-declaration.patch | 31 +++++++------------ 1 file changed, 11 insertions(+), 20 deletions(-) diff --git a/patches/cyrus-sasl-prototype-declaration.patch b/patches/cyrus-sasl-prototype-declaration.patch index b8b435ab9d..04d562eedd 100644 --- a/patches/cyrus-sasl-prototype-declaration.patch +++ b/patches/cyrus-sasl-prototype-declaration.patch @@ -1,20 +1,11 @@ -diff -crB cyrus-sasl.original/include/sasl/sasl.h cyrus-sasl/include/sasl/sasl.h -*** cyrus-sasl.original/include/sasl/sasl.h 2010-11-25 17:48:04.000000000 +0100 ---- cyrus-sasl/include/sasl/sasl.h 2010-11-25 17:50:40.000000000 +0100 -*************** -*** 346,352 **** - * Mechanisms must ignore callbacks with id's they don't recognize. - */ - unsigned long id; -! int (*proc)(); /* Callback function. Types of arguments vary by 'id' */ - void *context; - } sasl_callback_t; - ---- 346,352 ---- - * Mechanisms must ignore callbacks with id's they don't recognize. - */ - unsigned long id; -! int (*proc); /* Callback function. Types of arguments vary by 'id' */ - void *context; - } sasl_callback_t; - +--- cyrus-sasl-2.1.23/include/sasl.h 2010-11-25 18:15:05.000000000 +0100 ++++ cyrus-sasl-2.1.23/include/sasl.h 2010-11-25 18:15:34.000000000 +0100 +@@ -346,7 +346,7 @@ + * Mechanisms must ignore callbacks with id's they don't recognize. + */ + unsigned long id; +- int (*proc)(); /* Callback function. Types of arguments vary by 'id' */ ++ int (*proc); /* Callback function. Types of arguments vary by 'id' */ + void *context; + } sasl_callback_t; + -- 2.30.9