summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2012-11-11 22:49:20 +0000
committerjoerg <joerg@pkgsrc.org>2012-11-11 22:49:20 +0000
commitfc08f37523d0dfc5f6d2fe08751348ce1d528ad2 (patch)
tree76c2d5540abf1e1946941bb2b99abdceabb66bba /misc
parent6ea17bfaf0aa60ac43cc39337a01870e9a5c5f65 (diff)
downloadpkgsrc-fc08f37523d0dfc5f6d2fe08751348ce1d528ad2.tar.gz
Fix clang patch with outdated patchsum to actually fix the issue. It is
simply not correct to pass references to variadic functions.
Diffstat (limited to 'misc')
-rw-r--r--misc/kdepimlibs4/patches/patch-kldap_ber.h25
1 files changed, 25 insertions, 0 deletions
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:
+ * <ul>
+@@ -114,8 +115,8 @@ class KLDAP_EXPORT Ber
+ * </li>
+ * </ul>
+ */
+- 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 );
+