openbsd-ports/x11/wmx/patches/patch-Manager_C
jasper 84a22a0f54 - update wmx to version 7
* unbreaks with gcc4
- rename patch
- drop jakob@ as maintainer per his request
2010-06-10 21:24:23 +00:00

17 lines
423 B
Plaintext

$OpenBSD: patch-Manager_C,v 1.1 2010/06/10 21:24:23 jasper Exp $
--- Manager.C.orig Fri Jan 9 12:18:03 2009
+++ Manager.C Thu Jun 10 23:00:31 2010
@@ -61,6 +61,12 @@ Boolean ignoreBadWindowErrors;
implementPList(ClientList, Client);
+#ifdef __OpenBSD__
+extern "C" {
+ int snprintf(char *, size_t, const char *, ...);
+}
+#endif
+
#if CONFIG_GROUPS != False
implementPList(ListList, ClientList);
#endif