A new user interface for you! Read more...

File g_malloc0_n.patch of Package libuser

diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs ../orig-libuser-0.59/lib/user.h ./lib/user.h
--- ../orig-libuser-0.59/lib/user.h	2013-03-29 15:46:36.000000000 +0100
+++ ./lib/user.h	2013-09-27 09:10:40.776591577 +0200
@@ -21,6 +21,9 @@
 
 #include <sys/types.h>
 #include <glib.h>
+/* glib in SLE11 does not define g_malloc0_n or g_malloc_n */
+#define g_malloc0_n(blocks,bytes) g_malloc0((blocks)*(bytes))
+#define g_malloc_n(blocks,bytes) g_malloc((blocks)*(bytes))
 #include "config.h"
 #include "entity.h"
 #include "error.h"