From 68c70663806013c9e7173cc9b3aeec7633ac1d7e Mon Sep 17 00:00:00 2001 From: joerg Date: Sun, 11 Nov 2012 22:49:20 +0000 Subject: Fix clang patch with outdated patchsum to actually fix the issue. It is simply not correct to pass references to variadic functions. --- misc/kdepimlibs4/patches/patch-kldap_ber.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 misc/kdepimlibs4/patches/patch-kldap_ber.h (limited to 'misc') diff --git a/misc/kdepimlibs4/patches/patch-kldap_ber.h b/misc/kdepimlibs4/patches/patch-kldap_ber.h new file mode 100644 index 00000000000..7a2ae810308 --- /dev/null +++ b/misc/kdepimlibs4/patches/patch-kldap_ber.h @@ -0,0 +1,25 @@ +$NetBSD: patch-kldap_ber.h,v 1.1 2012/11/11 22:49:20 joerg Exp $ + +--- kldap/ber.h.orig 2012-11-08 10:20:45.000000000 +0000 ++++ kldap/ber.h +@@ -57,7 +57,8 @@ class KLDAP_EXPORT Ber + + /** + * Appends the data with the specified format to the Ber object. +- * This function works like printf, except that it's appending the ++ * This function works like ++ printf, except that it's appending the + * parameters, not replacing them. The allowed format characters and + * the expected parameter types are: + * + */ +- int printf( const QString &format, ... ); +- int scanf( const QString &format, ... ); ++ int printf( const char *format, ... ); ++ int scanf( const char *format, ... ); + unsigned int peekTag( int &size ); + unsigned int skipTag( int &size ); + -- cgit v1.2.3